Repository navigation
ci: tested-tree gate for the 7 remaining pull_request+push workflows (Closes #4964) - #5001
Conversation
…ile, java-compile, cics-crucible, unicode-gauntlet, tree-sitter-accuracy-audit (Part of #4964) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #5001 @ bad7b4c: 1 failed check(s) == full-suite part 3/3 (failure) -- real |
|
CI shepherd: the head of this PR (cdbffc1) is not the one a maintainer labelled |
Closes #4964. Sibling of #4935 / #4961. Owner-queued, workflow edits allowed.
What
The
tested-treejob (tests/tools/skip_tested_tree.py, as #4961) is wired into the 7 gap workflows: fact-crosscheck, estate-crucible, ports-compile, java-compile, cics-crucible, unicode-gauntlet, tree-sitter-accuracy-audit. The heavy jobneeds: tested-treeand runs unlessskip == 'true'(!cancelled(), so a crashed gate runs it). A push is skipped ONLY on the #4961 rule (one parent, tree == PR head tree, parent in head, newest PR run of the same workflow = success), plus one new condition: the PR's base must be main.Paths filters
The proof is a
pull_requestrun of the same workflow on the head. GitHub creates it only if the PR'spathsfilter matched, so a PR the filter skipped has no run and the push runs even though its filter matched on main (or, tree-sitter-accuracy-audit, has none): absence is never proof. Filter pairs: the pushpathsare a subset of the PRpathsin all six filtered workflows (PR-only extras are harmless and pinned in the test); tree-sitter-accuracy-audit has no push filter (61 of 205 pushes in 7 days had no PR run and still run).java-compile: its PR run can skip the build when the generated Java equals the base's (
--same-as); a skipped push is then the same tree as a base whose own push built it.Main Watch
Untouched. The gate job always runs, the workflow concludes success/failure; skipped heavy jobs conclude success, which is a true verdict for that tree. schedule / dispatch never skip.
Tests
test_skip_tested_tree.py(+ paths-filter-skipped PR => no run => push runs; base != main; base unknown) and newtest_tested_tree_workflows.py(each workflow's wiring, gate asks about its own file, heavy job gated, PR/push filter pair pinned incl. the filter-less push).pr_gates --fast5/5,--ratchets7/7, nothing skipped.Measured (7 days, replaying
decide()over each workflow's completed push runs withgh api)Most pushes don't skip because the PR was behind main (tree differs). tree-sitter saves little: its PR filter is narrow and most PRs have no run.
Cross-repo: none.
🤖 Generated with Claude Code