Skip to content

feat: remove release.yml's cron — scheduling moves to the Brain nightly driver#129

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/nightly-release-implementation
Jul 9, 2026
Merged

feat: remove release.yml's cron — scheduling moves to the Brain nightly driver#129
Jammy2211 merged 1 commit into
mainfrom
feature/nightly-release-implementation

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Phase 2 of #127 (design §2): release.yml loses its schedule: trigger — scheduling authority moves to PyAutoBrain's nightly-release.yml (the activity-gated, Heart-GREEN-gated driver).

This closes the standing hazard phase 1 flagged: with the cron here, flipping RELEASE_MODE=live would have performed a full live release at 2 AM gated on nothing but the TestPyPI build. After this PR every release run is a workflow_dispatch (human or the nightly driver) and resolve_mode is just the rehearsal input passthrough — the schedule branch and its RELEASE_MODE consult are gone (the variable now governs nothing; retiring it is noted in the design as a later cleanup).

Also updates docs/nightly_release_design.md §4 to the implemented window anchor (the NIGHTLY_LAST_WINDOW_END repo variable, advancing only on shipped/empty-skip outcomes) — the one phase-2 refinement over the phase-1 sketch, per the "update the note in the same PR" rule.

Validation

YAML parses; schedule absent; workflow_dispatch inputs and all 12 jobs unchanged apart from the resolve_mode simplification.

API Changes

None — CI workflow + design doc only.

Scripts Changed

None.

Companion PRs: PyAutoBrain (the driver), PyAutoHeart (release-ci profile), PyAutoMind#43 (digest watchdog) — links in a comment. Merge note: from this merge until the Brain PR merges, no scheduled release path exists at all (manual dispatch unaffected) — merge the Brain PR the same day.

🤖 Generated with Claude Code

…ly driver

Phase 2 of #127 (design §2): with a cron here, flipping RELEASE_MODE=live
would have released ungated at 2 AM. Every run is now a workflow_dispatch
(human or the nightly driver); resolve_mode drops the schedule branch and
its RELEASE_MODE consult. Design note §4 updated to the implemented
anchor: the NIGHTLY_LAST_WINDOW_END repo variable, advancing only on
shipped / empty-skip outcomes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Jammy2211

Copy link
Copy Markdown
Collaborator Author

Phase-2 PR set for #127: PyAutoLabs/PyAutoBrain#63 (driver) · #129 (cron removal) · PyAutoLabs/PyAutoHeart#47 (release-ci profile) · PyAutoLabs/PyAutoMind#43 (digest watchdog). Merge Brain and Build the same day (Build-first leaves no scheduled path; Brain-first double-schedules nothing — the driver dispatches, the old cron rehearses — but same-day is tidiest); Heart and Mind are independent.

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