docs: say why CI / docker is not a required status check #8
No reviewers
Labels
No labels
waiting-on-julian
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jlxq0/hevy-mcp!8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/why-docker-is-not-a-required-check"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
mainis now protected:enable_push: false, one required status context,CI / cargo*.CI / dockeris excluded on purpose, and the reason is not visible from the rule, so the next person tidying it up adds it back.A
dockerjob skipped becauseneeds: cargofailed postssuccessto the commit status. Measured here yesterday:failure CI / cargoat 05:23:03Z andsuccess CI / dockerat 05:23:04Z on #2, the same pair one second apart on #3, and no docker task in the run list for either. Requiring that context would build a gate satisfied by a commit where nothing was built.Why the rule exists at all. hevy-mcp had no branch protection rule of any kind on
mainuntil today. Across the estate:jlxq0/matrix-mcpenable_push=true, no status check — enforces nothingjlxq0/jmap-mcpjlxq0/caldav-mcpjlxq0/carddav-mcpjlxq0/m365-mcpjlxq0/typst-mcpoddie-apps/platformenable_push=false, status check armedEvery green enforced in this repository so far has been discipline rather than a gate.
Proved the rule rejects before trusting it. On a throwaway branch: pushed a commit with no rule, armed
enable_push: false, pushed a second commit.Probe branch and probe rule both deleted.
git ls-remoteshows onlymainand the open feature branches.Confirmed it does not block legitimate work either: #5 still reads
mergeable=truewithCI / cargo (pull_request)=success.Documentation only.
apply_to_adminsis nowtrue, on Clark's point that a rule leaving it false reads as weaker than it is and forces the next person to know a measurement to know it holds.Proved it bites rather than reading it back. Temporarily armed a second, unsatisfiable context alongside the real one, then tried to merge this pull request with the ops token:
Restored immediately; the rule reads
ctx=["CI / cargo*"] admins=true.The cost is real and it is recorded rather than discovered later. PR #2 was merged red on purpose, with the reason stated in advance and reproduced locally in the workflow's own step order. That is no longer possible without patching the rule first. The escape hatch is two API calls and it should leave a trace: patch, merge, patch back, and say on the pull request that you did.
Both jobs on this branch are real tasks rather than ticks:
17576 cargo success,17578 docker success.Clark also reproduced the
dockerfault a second time, on a push event rather than a pull request, which makes it a property of the workflow rather than a one-off:The estate-wide sweep is
jlxq0/mantis#141. Four gates enforce anything across everything; fifteen repositories have no rule; about twenty carrypush=true, status=false, which is the same object as no rule and worse, because a reader checking sees a rule.