docs(tui): describe manual nightly channel

Closed
LA
1mo ago
+23-10

Summary

  • describe cmux-tui-nightly.yml as manual-dispatch only
  • keep the package publication behavior documented for each manual dispatch
  • add a contract test for the workflow trigger and nightly docs wording

Verification

  • commit e33fa20894 adds the failing contract test (red)
  • commit 3afd7ce263 updates the comment and docs (green)
  • python3 -m unittest tests/test_tui_publish_workflow_security.py
  • python3 -m py_compile tests/test_tui_publish_workflow_security.py
  • PyYAML BaseLoader trigger check
  • actionlint .github/workflows/cmux-tui-nightly.yml

No schedule, workflow dispatch, package publish, or build was run.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Summary by cubic

Clarifies that the cmux-tui nightly channel is manual-dispatch only and enforces it with a contract test. Previously docs claimed a daily schedule; now docs and workflow comments state manual-only, so nightlies publish only when explicitly dispatched from main.

  • .github/workflows/cmux-tui-nightly.yml has only workflow_dispatch and documents “manual-dispatch only.”
  • cmux-tui/dist/RELEASING-TUI.md updates “Nightly channel” to manual-only, retaining per-dispatch publish behavior (builds and publishes a fresh run each time).
  • tests/test_tui_publish_workflow_security.py asserts the trigger set is {"workflow_dispatch"} and that the docs reflect manual-only.

Summary by CodeRabbit

  • Documentation

    • Clarified that TUI package nightlies run only through manual dispatch.
    • Documented that on-demand prereleases may be dispatched from the main branch.
  • Tests

    • Added coverage to verify the nightly workflow remains manual-only and does not describe a daily schedule.