Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tasking manager fastapi #6649

Open
wants to merge 171 commits into
base: develop
Choose a base branch
from
Open

Tasking manager fastapi #6649

wants to merge 171 commits into from

Conversation

prabinoid
Copy link
Contributor

What type of PR is this? (check all applicable)

  • πŸ• Feature
  • πŸ› Bug Fix
  • πŸ“ Documentation
  • πŸ§‘β€πŸ’» Refactor
  • βœ… Test
  • πŸ€– Build or CI
  • ❓ Other (please specify)

Related Issue

Related discussions:

#6264

https://community.openstreetmap.org/t/migrating-tasking-manager-from-flask-to-fastapi-and-psycopg2-to-asyncpg/116543

Describe this PR

This PR includes the TM fastapi migration and covers the commits from the initial phases of the migration.

This PR is made for the code review of the migration and is NOT be merged currently.

kaditya97 and others added 30 commits November 27, 2024 09:56
Signed-off-by: eternaltyro <[email protected]>
Signed-off-by: eternaltyro <[email protected]>
- Build multi-stage container images on specific targets - in this case
  'prod'
- Better naming for jobs

Signed-off-by: eternaltyro <[email protected]>
- Fix outputs format
- Experiment with metadata parsing in different ways
- Add labels back to container metadata

Signed-off-by: eternaltyro <[email protected]>
Signed-off-by: eternaltyro <[email protected]>
Signed-off-by: eternaltyro <[email protected]>
Signed-off-by: eternaltyro <[email protected]>
Signed-off-by: eternaltyro <[email protected]>
@spwoodcock
Copy link
Member

That's a lot of code changed! Well done on this - lots of great work πŸ™Œ

Just a few minor comments

prabinoid and others added 2 commits December 4, 2024 14:09
* messaging tasks added to background.
* db context added in tasks and removed explicit connection.
* send message on project progress.
* project transfer messaging.
* Concurrent task validation using asyncio gather * messaging tasks added to background. * db context added in tasks and removed explicit connection. * send message on project progress. * project transfer messaging.
prabinoid and others added 2 commits December 11, 2024 11:35
* Auto unlock task refactored.
* Auto unlock task cron job.
* Task geojson export.
* Asyncio cron job scheduler set up. * Auto unlock task refactored. * Auto unlock task cron job. * Task geojson export.
Copy link

sonarcloud bot commented Dec 13, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot
E Reliability Rating on New Code (required β‰₯ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants