Skip to content

Confirm Modal app cleanup in CI#1538

Merged
anth-volk merged 1 commit into
mainfrom
codex/modal-cleanup-noninteractive
May 18, 2026
Merged

Confirm Modal app cleanup in CI#1538
anth-volk merged 1 commit into
mainfrom
codex/modal-cleanup-noninteractive

Conversation

@anth-volk
Copy link
Copy Markdown
Collaborator

Fixes #1537

Summary

  • Pass --yes to modal app stop during Modal retired-app cleanup so GitHub Actions does not block on an interactive confirmation prompt.
  • Add a regression test that verifies the cleanup script invokes uv run modal app stop --yes --env ....
  • Add a Towncrier fragment for the cleanup fix.

Validation

  • uv run pytest .github/scripts/test_modal_cleanup_apps.py
  • make format-check
  • uv run pytest -vv --timeout=150 -rP .github/scripts tests/to_refactor tests/unit

Note: make test failed locally before running tests because the non-uv pytest entrypoint did not have pytest-timeout available for --timeout=150; the equivalent uv-backed command passed. make format-check also prints a Docker daemon warning from Makefile evaluation on this machine, then Ruff completes successfully.

@anth-volk anth-volk marked this pull request as ready for review May 18, 2026 19:25
@anth-volk anth-volk merged commit e6133cc into main May 18, 2026
5 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.

Make Modal cleanup non-interactive in CI

1 participant