Skip to content

Tasking Manager MVP #21

Merged
susrisha merged 34 commits into
stagingfrom
develop
Jun 29, 2026
Merged

Tasking Manager MVP #21
susrisha merged 34 commits into
stagingfrom
develop

Conversation

@susrisha

Copy link
Copy Markdown
Collaborator

This pull request introduces several important improvements to the CI/CD pipeline, database migrations, FastAPI routing, and the codebase for tasking and audit features. The main changes include expanding CI coverage to additional branches, adding an automated tagging workflow, enhancing database migrations for better dependency management and compatibility, integrating new routers for the tasking and audit APIs, and improving error handling for API routes.

CI/CD Pipeline Updates:

  • The CI workflow (.github/workflows/ci.yml) now runs on both main and develop branches, ensuring that changes to both branches are tested automatically.
  • A new workflow (.github/workflows/tag.yml) automatically updates environment tags (dev, stage, prod) when pull requests are merged into develop, staging, or production branches. This helps automate deployment tagging.

Database Migration Improvements:

  • The initial task schema migration (alembic_task/versions/c5121cbba124_initial_task_schema.py) was added, including checks for the required PostGIS extension and creation of workspaces-related tables only if they do not already exist.
  • The add6266277c7_ migration now depends on the initial migration, ensuring migrations are applied in the correct order.
  • In the OSM user role migration (alembic_osm/versions/9221408912dd_add_user_role_table.py), a stub users table is created if missing (for test/dev environments), and the ENUM type for roles is now explicitly Postgres-native for compatibility. [1] [2]

API and Routing Enhancements:

  • Tasking and audit routers are now registered with the FastAPI app, exposing their endpoints under /api/v1. [1] [2]
  • The catch-all proxy route now returns a clear 404 error for unhandled /api/v1/... paths, improving error messaging for incorrect API calls.

Tasking and Audit Feature Development:

  • Added DTOs for audit events, including models for actors, events, and paginated responses, supporting the new audit API endpoints.

Developer Experience:

  • Recommended VS Code extensions for Python and Pylance are now included to help standardize the development environment. (.vscode/extensions.json)

These changes collectively improve the robustness, maintainability, and developer experience of the project.

MashB and others added 30 commits May 20, 2026 23:12
ignore creating the extension via migration
## DevBoard
- https://dev.azure.com/TDEI-UW/TDEI/_workitems/edit/3739

## Changes

Added a new GitHub Actions workflow (`.github/workflows/tag.yml`) that automatically updates environment tags when pull requests are merged.

**Workflow Details:**
- **Trigger:** Pull request closure events on `develop`, `staging`, and `production` branches (only executes when PR is merged)
- **Tag Mapping:** Maps base branch to environment tag:
  - `develop` → `dev`
  - `staging` → `stage`
  - `production` → `prod`
- **Execution:** Force-updates the git tag locally and pushes it to the remote repository with the `--force` flag
- **Permissions:** Requires `contents: write` to push tags

The workflow enables automated environment tagging aligned with branch-based deployments, ensuring consistent tag versions across environments.
…set, upload_aoi, and delete_aoi methods in FakeProjectRepo
Refactor audit event handling and update event types for tasks and projects
susrisha added 4 commits June 26, 2026 11:48
- Added route to submit changeset for a task
- Removed the changeset ID from Submit request.
Linting issue fixed
added Route to submit Changesets for task
@coderabbitai

coderabbitai Bot commented Jun 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 17e2fc40-1a83-4619-914e-e981edcfa3c3

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@susrisha susrisha requested a review from MashB June 29, 2026 06:48
@susrisha susrisha merged commit 818562a into staging Jun 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants