Skip to content

Add Modal long-run projection builder#1001

Merged
MaxGhenis merged 1 commit into
mainfrom
codex/add-modal-long-run-builder
May 18, 2026
Merged

Add Modal long-run projection builder#1001
MaxGhenis merged 1 commit into
mainfrom
codex/add-modal-long-run-builder

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

  • add a large-memory Modal entrypoint that runs the existing long-run production projection script
  • stream subprocess logs and commit output artifacts to a Modal volume even when the subprocess fails
  • keep HF staging upload opt-in and add fake-Modal unit coverage for command forwarding, run ID sanitization, source SHA resolution, and staging prefix reporting

Context

GitHub hosted runners are failing even one-year long-run sentinel builds with SIGTERM/no artifacts. This keeps the same production script and metadata path, but runs it on a durable large-memory Modal worker.

Tests

  • uv run --locked pytest tests/unit/test_long_term_modal_projection.py -q
  • uv run --locked pytest tests/unit/test_long_term_modal_projection.py tests/unit/test_long_term_calibration_contract.py -q
  • uv run --locked ruff check modal_app/long_term_projection.py tests/unit/test_long_term_modal_projection.py
  • uv run --locked ruff format --check modal_app/long_term_projection.py tests/unit/test_long_term_modal_projection.py
  • uv run --locked python -m py_compile modal_app/long_term_projection.py
  • uv run --with modal python -c "import modal_app.long_term_projection as m; print(m.app.name)"
  • uv run --with modal modal run modal_app/long_term_projection.py --help
  • git diff --check

@MaxGhenis MaxGhenis force-pushed the codex/add-modal-long-run-builder branch from 692dc88 to 81764e8 Compare May 18, 2026 04:48
@MaxGhenis MaxGhenis force-pushed the codex/add-modal-long-run-builder branch from 81764e8 to 0a1c078 Compare May 18, 2026 04:50
@MaxGhenis MaxGhenis merged commit 95394c9 into main May 18, 2026
13 checks passed
@MaxGhenis MaxGhenis deleted the codex/add-modal-long-run-builder branch May 18, 2026 05:24
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.

1 participant