Repository navigation
Weekly canary control PR: scheduled job plants one defect per gate (Part of #7155) - #9002
Merged
Merged
Conversation
…anted defect per gate (Part of #7155) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
CI shepherd: the head of this PR (fce9458) is not the one a maintainer labelled |
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
This was referenced Nov 22, 2026
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.
Summary
First slice of #7155 part 2:
canary-control.yml(Sundays 03:17 UTC and manual) runstests/tools/canary_control.py open, which opens a ready-for-review PR from acanary/<stamp>branch with one inert planted defect per gate (unused import, unformatted file, type error, failing test, dead doc link). The PR body carries acanary-expectJSON marker for the future results job. Defects are new files only;problems()refuses anything under.github/, release or secret paths, and the opener refuses any non-canary/branch.Checklist: partial [c:8a25a650] -- results/matrix job that closes the PR and deletes the branch, clean control PR, miss -> priority: high issue,
canary/hold in the shepherd'sci-gateand merge-label refusal (owner-only shepherd workflows)Class
A gate that can no longer go red goes unnoticed. Same-mechanism siblings here: every file-plantable gate named in
gate_controls.GATES(ruff lint/real ruff/format, mypy, full-suite, doc-refs). Gates that need a burned estate or corpus change (golden, ground-truth, det) are not planted yet.Sibling gaps
shepherd-*.ymlneed owner approval.Remaining slices
canary-expect, post matrix, close PR, delete branch, alert owner if it cannot close.priority: highissue.ci-gatealways red oncanary/, refuse merge label), exclude from factory numbers (owner-only).Cross-repo
None.
Workflow measurement
One job, ~1 runner-min per run, weekly; the canary PR itself costs one full CI run per week (to measure from its first runs with
pr_runner_cost.py). Does not run on PRs. Token: app token withAUTOMATION_PATfallback, as evidence-refresh.Facts checked
audit_check.pyall clear;pytest tests/tools/test_canary_control.py tests/tools/test_gate_controls.py tests/tools/test_workflow_inputs.py45 passed;open --dry-runprints the plan. The real open path (git/gh) is untested until the first dispatch.🤖 Generated with Claude Code