-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Overview
Migrate the simulation API from Google Cloud Run to Modal for improved performance, cost efficiency, and developer experience.
Context
The simulation API will eventually be replaced with a new implementation integrated with a Supabase database and new data models. Given this planned replacement, this migration should prioritize speed over structural quality. The goal is to get the Modal-based simulation API working reliably, not to build a perfect architecture.
Scope
This issue covers:
- Modal app deployment for simulation workloads
- GitHub Actions workflow for beta → test → prod deployment
- Logfire observability integration
- Health check and ping endpoints for testing
Related Work
API v1 will need changes to poll the new Modal endpoint instead of the GCP Cloud Run endpoint. This will be tracked in a separate issue to be opened after this migration is complete.
Acceptance Criteria
- Simulation API deployed to Modal with staging and production environments
- GitHub Actions workflow deploys to staging, runs integration tests, then deploys to prod
- Logfire captures input params and output results for observability
- Health check endpoint returns healthy status
- Integration tests pass against Modal deployment
Metadata
Metadata
Assignees
Labels
No labels