Repository navigation
Split workspace validation into smoke and release-integrate channels (fixes #121) - #122
Merged
Merged
Conversation
… channels workspace-validation.yml served two meanings — weekly mode=smoke (the continuous readiness signal) and nightly mode=release (Stage 3 rehearsal) — and test_run read the latest run of the FILE regardless of mode, so every failed rehearsal overwrote the smoke verdict (PyAutoHeart#121; gh run list cannot filter dispatch inputs). One workflow file per meaning: - workspace-validation.yml → workflow_call-only shared body (jobs unchanged). - workspace-smoke.yml: schedule (Mon 03:00, moved) + bare dispatch → mode=smoke. - release-integrate.yml: dispatch + workflow_call with testpypi_version/ commit_shas → mode=release; deliberately NO mode input — the channel is the mode. - test_run.py: VALIDATION_WORKFLOW = workspace-smoke.yml (the continuous verdict may only come from the smoke channel). - tests/test_workflow_wiring.py: parses the three files so a trigger or mode drifting back onto the body fails loudly. - docs + health_agent capabilities updated to name the channels. MERGE ORDER: the companion PyAutoBrain PR (validate.sh/overnight_status repoint) must merge in the same window — between the two merges the nightly would dispatch workspace-validation.yml, which no longer accepts workflow_dispatch. Suite: 320 passed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #121 — CI/release-audit series task 3.
One workflow file per meaning, so
gh run list --workflow <file>is unambiguous and a failed nightly rehearsal can never overwrite the continuous smoke verdict:workspace-validation.yml→workflow_call-only shared body (all jobs unchanged — they already key off the resolvedmodeoutput; filename kept sotests/test_verify_install_script.pyand Build-capability docs stay true).workspace-smoke.yml(new entry): Monday 03:00 schedule (moved from the body) + bare dispatch → bodymode=smoke. This is the run historytest_run.pynow reads (VALIDATION_WORKFLOW = "workspace-smoke.yml").release-integrate.yml(new entry): dispatch +workflow_callwithtestpypi_version/commit_shas→ bodymode=release. Deliberately nomodeinput — the channel is the mode. Artifacts (workspace-validation-report,release-stage-report) attribute to this caller's runs, sovalidate --ingestandtest_run's artifact fetch each see only their own channel.tests/test_workflow_wiring.py(new): parses the three files — body is call-only, the smoke entry owns the schedule, the release entry has no mode input, andVALIDATION_WORKFLOWnames an existing entry — so the split cannot silently drift back to one channel.release_validation.md,health_agent/capabilities.*,validate.pydocstrings).⚠ MERGE ORDER: merge this, then the companion PyAutoBrain PR back-to-back, before tonight's 02:00 UTC nightly — between the merges the nightly's Stage 3 would dispatch
workspace-validation.yml, which no longer acceptsworkflow_dispatch, and the night would page.Suite: 320 passed (4 new wiring tests). All three workflow files YAML-parse clean.
Residue (docs-only, separate sweep): PyAutoHands
docs/nightly_release_design.md/docs/internals.mdmentions + onerelease.ymlcomment.🤖 Generated with Claude Code