Repository navigation
CI queue: tested-tree on push only; OS grid + read-only crucibles to cadence-capped post-merge dispatch (#5129 #5130 #5131 #5136) - #5140
Conversation
…o cadence-capped post-merge dispatch (Fixes #5129, #5130, #5131, #5136) - #5129: the tested-tree gate (smoke-test, mainframe-ground-truth, java-compile) runs on a main push only; PR runs start their heavy jobs without it. - #5130: the 9-leg OS smoke grid moves from smoke-test.yml to os-smoke-grid.yml (dispatch + nightly + v* tags). - #5131: cics-crucible, estate-crucible, fact-crosscheck, ports-compile, unicode-gauntlet and tree-sitter-accuracy-audit lose their main push trigger (and gate); nightly + post-merge dispatch instead. - #5136: tests/tools/post_merge_dispatch.py: at most one run per target per CADENCE_HOURS (3) on the newest main SHA, only when PR runners are idle and main changed a file the target reads. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #5140 @ 4cc396d: 2 failed check(s) == full-suite part 2/3 (failure) -- real == full-suite part 3/3 (failure) -- main |
…id.yml (Fixes #5129) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
Closes #5129, closes #5130, closes #5131, closes #5136 (bundled by the owner: they edit the same workflows and post-merge.yml).
Class: read-only heavy CI work started by a main push/merge that competes with PR jobs for the shared ~20-job pool, plus its PR-side twin: the post-merge-only
tested-treegate job that also ran on PRs.What changed
CI queue: skip tested-tree gate jobs on pull_request (9 workflows) #5129
tested-treenow runs only on a main push (if: ${{ github.event_name == 'push' }}) in the 3 workflows that keep a push run (smoke-test, mainframe-ground-truth, java-compile). On a PR it could never skip, so it only took a runner and added a serial queue wait before the heavy jobs. A skipped gate leavesskipempty, and the dependent jobs'!cancelled() && needs.tested-tree.outputs.skip != 'true'lets them run (smoke-test'sfull-suiteaggregator isalways()and checksPARTS == success). The gate is removed from the other 6 workflows, which no longer have a push run to skip.Jobs removed per PR push: one
tested-treejob per triggered workflow: 2 always (smoke-test, ground-truth), up to 9 when every path filter matches. The serial gate wait in front of each workflow's heavy jobs goes too.CI queue: move the 9-leg OS smoke grid off every push to main (idle-only/nightly) #5130 The 9-leg OS x Python smoke grid moves from
smoke-test.ymlinto a newos-smoke-grid.yml("OS Smoke Grid"): post-merge dispatch, plus nightly andv*tags. It is a separate workflow so Main Watch tracks a grid red apart from a full-suite red. Added to main-watch's list. The ubuntu PR full suite is unchanged.CI queue: extend post-merge idle-only dispatch to the remaining push-to-main workflows #5131 cics-crucible, estate-crucible, fact-crosscheck, ports-compile, unicode-gauntlet and tree-sitter-accuracy-audit lose their main
pushtrigger. Each gets a nightly schedule and is dispatched by post-merge (tree-sitter also gainsworkflow_dispatch, which it lacked).CI queue: Full Suite Gate on main = 15.6% of CI minutes; cap its cadence (every N h + nightly + tags) #5136 New
tests/tools/post_merge_dispatch.py(stdlib, puredecide(), tests intest_post_merge_dispatch.py) replaces post-merge.yml's inline loop. Nothing is dispatched while a PR job is waiting. Otherwise it dispatches a target on main's head only when all of these hold:CADENCE_HOURS= 3 h ago;If the comparison fails or is truncated, the target is dispatched. If a target's run list can't be read, it is skipped this tick and the job fails visibly. Dispatch still uses
AUTOMATION_PAT(main-watch never sees dispatched Full Suite Gate runs (GITHUB_TOKEN dispatch raises no workflow_run) #4859).Moved / kept
v*v*pathsevent_name != 'pull_request') still run on a dispatch onmainjava-same-base-<corpus>-<sha>, which PRs based on that SHA restore; a miss would put a base generation on the PR's critical pathgenerated/ Pages from the newest mainMain Watch
Every target is in main-watch's
workflow_runlist (pinned bytest_target_is_watched_by_main_watch). A dispatched run, created with the PAT, raisesworkflow_run; the hourly reconcile still backs that up. A red result surfaces within one cadence window (3 h) plus the idle wait, and covers the merges since the previous run.Tests / gates
tests/tools/test_post_merge_dispatch.py(48 tests) covers:decide()branch: same SHA, cadence for each event, in-progress and cancelled runs, PR runs ignored, relevant change, docs/.md-only change,!exclusions, an unknown comparison;workflow_inputs.glob_re, and the stdlib PR-filter reader checked against PyYAML for everyfrom-pr-filtertarget;test_tested_tree_workflows.py: new class invariant: atested-treejob exists exactly where a workflow runs on both a PR and a main push (generated-docs exempted, with its reason). The gate must be push-only.test_workflow_draft_gate.py,test_main_watch.pyandworkflow_inputs.pyare updated for the new shape.-ksubset of tests/tools plus the draft-gate test);workflow_inputs.py: clean;pr_gates.py --fast: 6/6 pass;post_merge_dispatch.py --dry-runagainst the live API: decisions as expected, and a 404 foros-smoke-grid.yml, which doesn't exist on main until this merges.Cross-repo: none.
🤖 Generated with Claude Code