Problem
The simulation API currently deploys directly from ordinary merges to main. API v1 uses a two-stage release path: first build versioning/changelog state, then deploy from a canonical release commit. The sim API should mirror that behavior so Modal deploys are tied to explicit release versioning.
Desired behavior
- Add Towncrier-backed release versioning to the simulation API project.
- Have country-package update PRs include changelog fragments.
- On normal pushes to main, create an
Update Simulation API release commit.
- Deploy to Modal only from
Update Simulation API commits or manual workflow dispatch.
- Preserve the existing Modal deploy sequence, health checks, and integration tests.
Verification
Implementation should include focused tests for version bumping, package-update changelog fragments, workflow gates, and tag publishing.
Problem
The simulation API currently deploys directly from ordinary merges to main. API v1 uses a two-stage release path: first build versioning/changelog state, then deploy from a canonical release commit. The sim API should mirror that behavior so Modal deploys are tied to explicit release versioning.
Desired behavior
Update Simulation APIrelease commit.Update Simulation APIcommits or manual workflow dispatch.Verification
Implementation should include focused tests for version bumping, package-update changelog fragments, workflow gates, and tag publishing.