Skip to content

Restore compact budget-window results#490

Merged
anth-volk merged 1 commit into
mainfrom
rollback-budget-window-to-477-runtime-upgrades
May 13, 2026
Merged

Restore compact budget-window results#490
anth-volk merged 1 commit into
mainfrom
rollback-budget-window-to-477-runtime-upgrades

Conversation

@anth-volk
Copy link
Copy Markdown
Contributor

Fixes #489

Summary

  • Restore budget-window completed results to the compact post-Fix budget-window batch worker gateway imports #477 response shape: annualImpacts plus fiscal totals.
  • Remove the full per-year macro output container from budget-window responses so completed runs no longer return massive outputsByYear payloads.
  • Keep the retained runtime/data upgrade layer on top of the Fix budget-window batch worker gateway imports #477 behavior: country package pins, resolved core package, US data aliases, Modal data secret, and deployed US/UK version plumbing.

Verification

  • uv run pytest tests/test_budget_window_results.py tests/test_budget_window_batch.py tests/test_budget_window_scheduler.py tests/gateway/test_models.py tests/gateway/test_budget_window_state.py tests/gateway/test_endpoints.py tests/test_modal_scripts.py -q
  • ./scripts/generate-clients.sh
  • uv run ruff check src/modal/budget_window_results.py src/modal/budget_window_scheduler.py src/modal/budget_window_state.py src/modal/gateway/models.py src/modal/gateway/responses.py fixtures/gateway/test_endpoints.py tests/gateway/test_budget_window_state.py tests/gateway/test_endpoints.py tests/gateway/test_models.py tests/test_budget_window_batch.py tests/test_budget_window_results.py tests/test_budget_window_scheduler.py tests/test_modal_scripts.py ../policyengine-apis-integ/tests/simulation/test_budget_window.py ../policyengine-apis-integ/tests/simulation/test_calculate.py
  • uv run ruff check ../policyengine-apis-integ/tests/simulation/conftest.py
  • git diff --check --cached

@anth-volk anth-volk marked this pull request as ready for review May 13, 2026 16:43
@anth-volk anth-volk merged commit 240af3d into main May 13, 2026
4 checks passed
@anth-volk anth-volk deleted the rollback-budget-window-to-477-runtime-upgrades branch May 13, 2026 16:43
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.

Restore compact budget-window response while keeping runtime package upgrades

1 participant