Repository navigation
chore(ci): make stale tree guard a required check (#1318) - #1328
Merged
Merged
Conversation
The guard has reported on 14 pull-request runs: 11 passes with no false positive, one true finding (#1327's deliberate re-land, exempted by revert-ok), and two failures on branches cut before its script existed. The skill section and the workflow header now say it is required; branch protection gains the context once this merges. Co-Authored-By: Claude Opus 5.5 <[email protected]>
8 tasks done
athvin
temporarily deployed
to
marketing-preview
November 27, 2026 10:46 — with
GitHub Actions
Inactive
This branch was previously deployed
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.
Closes #1318
What
The ci-and-supply-chain skill's stale-tree-guard section and the
stale-tree-guard.ymlheader now say the guard is required, and record the evidence for promoting it. Branch protection gains thestale tree guardcontext right after this merges. That is repository configuration, not a file, so it is recorded in the ledger.Why
This is #1318's promotion order. The guard has reported on real pull requests and has been seen failing on a real return (#1327). No open pull request would be blocked: there were none at the time of writing.
Proof
fd8c72a3, exempted byrevert-ok, which I created for it), and 2 failures onfeat/995-journaled-applyandfix/1281-webkit-marketing-flakes. Those branches predate the guard's script (No such file), and both passed after a rebase.gh pr list --state open: empty.make skills-check: ok.make workflow-shell-check: ok.Risk & rollback
A branch cut before 2026-11-27 ~06:30 UTC fails the now-required check until it is rebased. Rollback: remove the context from branch protection, then
git revert <merge-sha>.Post-merge ledger
Closed by: agent · session
Claude Code:871c2645-29b1-4996-bd69-8809abfc82feonbrians-MacBook-Pro· 2026-11-27T10:57:16Zmainis green with this change on it — the merge SHA, and the runthat proves it. A later head SHA with this commit as an ancestor counts;
a cancelled run with zero jobs does not: 7b69e7c: rust 45984959148, frontend 45984959170, infra 45984959180, devcontainer 45984959242, all success.
imagesbuilt, or correctly never ran because nothing that goes intoan image changed: n/a: only a skill doc and a workflow comment changed, which go into no image.
deployconverged — proved by a line the running process emitted, notby the image digest and not by the workflow conclusion: n/a: no image built, so nothing deployed.
deploy,drift,kind's nightly leg) is green, or knowingly red for a reason that is notthis change: nothing push-only is touched by a docs and workflow-comment change. drift is red on The er-alerts SNS email subscription has never been confirmed — 19 armed alarms reach nobody #1107, not this change.
Donethrough the automation rather than byhand, and the issue closed: CI: promote
stale tree guardto a required check once it has reported on real pull requests #1318 closed by the merge.(a skill, a reference, memory) — or nothing new was learned: written into the ci-and-supply-chain skill's stale-tree-guard section: the evidence, the revert-ok label, and the pre-guard-branch rebase.
Specific to this change
mainlistsstale tree guardamong the required contexts. Read first, because the PUT replaces the list. done: POST .../required_status_checks/contexts ["stale tree guard"] (the additive endpoint, not the replacing PUT). It now reads 16 contexts,stale tree guardamong them, with strict still false.🤖 Generated with Claude Code