Skip to content

Conversation

@anth-volk
Copy link
Collaborator

Summary

  • Change the default value of USE_MODAL_SIMULATION_API from "false" to "true"
  • Makes Modal the default backend for economy simulations
  • GCP Workflows can still be used by setting USE_MODAL_SIMULATION_API=false

Context

This PR "flips the switch" to enable the Modal simulation API by default, following the infrastructure work in PR #3065.

Related: #3064

Test plan

  • Verify economy endpoint works with Modal backend in staging
  • Confirm ability to fall back to GCP by setting env var to false

🤖 Generated with Claude Code

Change the default value of USE_MODAL_SIMULATION_API from "false" to
"true", making Modal the default backend for economy simulations.

The GCP Workflows backend can still be used by setting
USE_MODAL_SIMULATION_API=false.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@anth-volk anth-volk marked this pull request as draft January 14, 2026 20:54
anth-volk and others added 4 commits January 15, 2026 00:29
- Update test to expect Modal API when env var is not set (default changed)
- Update GCP credentials test to explicitly set USE_MODAL_SIMULATION_API=false
- Run black formatter on entire package

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@codecov
Copy link

codecov bot commented Jan 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.73%. Comparing base (9a8c589) to head (3f04db8).
⚠️ Report is 9 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3068      +/-   ##
==========================================
- Coverage   71.05%   70.73%   -0.33%     
==========================================
  Files          57       57              
  Lines        2436     2436              
  Branches      339      339              
==========================================
- Hits         1731     1723       -8     
- Misses        644      653       +9     
+ Partials       61       60       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@anth-volk anth-volk marked this pull request as ready for review January 14, 2026 22:01
@anth-volk anth-volk merged commit 334ab22 into master Jan 14, 2026
6 of 7 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.

2 participants