You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(source-control): report an unreadable pass as verify:unreadable, not verify:missing #17377
The ejection: merge-group CI Status run 44454279712 (job 135327490589) ejected the PR at 03:58:09Z with verify:missing.
Same reader, same inputs, different result: run locally, read-only, on base d72cf09 with identical scripts, it returns refusal: null, atHead: ["pass-notes"].
_run_state turns any failed read into UNREAD without a word (plugins/source-control/skills/babysit-prs/scripts/babysit_verify_evidence.py:2715-2718).
For a pass, that file then adds it to ignored (:4072-4076), and _evidence falls through to verify:missing (:4200-4201). The result should be verify:unreadable.
Fix
A pass whose run cannot be read reports verify:unreadable (retryable), not verify:missing.
In index mode, pr-require-checks.yml:7256-7259 prints "refused … before listing artifacts" even though the reader did list artifacts (babysit-index-reads {"pr": 17216, "names": 7, "reads": 10}). Print that notice only when no listing was attempted.
Done when
A test where the pass's run read fails yields verify:unreadable.
The index-mode notice no longer claims no listing happened.
Size: Small
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: the babysit verify-evidence reader, its tests, and one notice line in pr-require-checks.yml. It is read by the merge-queue CI Status check and by anyone babysitting PRs.
Reversible: yes; revert the change.
Open questions: none
Understood: when a head's pr-verify pass has an unreadable run, the reader reports verify:missing and ejects the PR. It should report the retryable verify:unreadable. The index-mode notice also wrongly says "before listing artifacts" after artifacts were listed. The acceptance criteria in the refinement comment cover both. No duplicate or merged fix found. Related: #16642 (token floor, likely cause of the failed read).
Not admitted to the issue lane yet: no trusted-human acceptance criteria: a listed human must put the confirmed - [ ] criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited; intake's refinement of this body is due and may supply them.
melodic-automation-lanes commented on Nov 19, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: A head's pass whose run read fails is reported as retryable verify:unreadable instead of verify:missing, and the index-mode notice no longer says no listing happened when the reader did list artifacts.
Acceptance criteria
In babysit_verify_evidence.py, the pass branch of the verdict loop (around :4064-4077) sets unreadable (for example run of {name}) when _run_state\(run_id\) returns UNREAD for a pass at the PR's head; a FOREIGN or non-counted run still only adds to ignored.
A new test in scripts/tests/test_babysit_verify_evidence.py has the head's pass artifact listed and its runs/{id} read fail, and asserts the Evidence refusal is verify:unreadable and not verify:missing.
A test or existing case shows a pass whose run reads as foreign or not counted still yields verify:missing, so that behavior does not regress.
A FAIL or EARLIER_FAIL refusal still takes precedence over the new unreadable pass, as the unreadable branch order at :4152-4179 already gives.
The ::notice::the verdict reader refused ... before listing artifacts line in .github/workflows/pr-require-checks.yml (now at :6889) is printed only when the reader attempted no artifact listing; an index-mode run that listed or read artifacts by name does not print it.
A check (workflow test or script test) shows the notice is absent in the index-mode refusal case and present when the refusal came from an unread config or commit list.
The module docstring or doc text in babysit_verify_evidence.py (around :83-129) states that a pass whose run cannot be read is verify:unreadable.
The existing tests in scripts/tests/test_babysit_verify_evidence.py and test_babysit_merge_skip.py pass.
External state: none
Dependencies
Related to #16642 (hourly GITHUB_TOKEN floor, the likely cause of the failed read); the fix does not wait on it.
plugins/source-control/skills/babysit-prs/scripts/babysit_verify_evidence.py:2717: _run_state sets and returns UNREAD for a failed run read.
plugins/source-control/skills/babysit-prs/scripts/babysit_verify_evidence.py:4072: a pass at the head counts only when the run state is COUNTED; any other state, UNREAD included, only increments ignored.
plugins/source-control/skills/babysit-prs/scripts/babysit_verify_evidence.py:4178: unreadable set gives refusal UNREADABLE; with no passes the code falls to MISSING at :4201.
plugins/source-control/skills/babysit-prs/scripts/babysit_verify_evidence.py:4082: a FAIL with an UNREAD run already sets unreadable when tied; the pass path has no equivalent.
.github/workflows/pr-require-checks.yml:6886: the notice is gated only on an empty listing file plus a string refusal.
.github/workflows/pr-require-checks.yml:6889: the notice text says refused before listing artifacts.
.github/workflows/pr-require-checks.yml:6890: FAIL index mode saves no listing file, which is why the notice can appear after artifacts were read.
plugins/source-control/skills/babysit-prs/scripts/tests/test_babysit_verify_evidence.py: 37 existing verify:missing references, where the new test fits.
Automated refinement by the lanes App. Intake triages the issue again with it.
Activity
github-actions commentedon Nov 19, 2026
Size: Small
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: the babysit verify-evidence reader, its tests, and one notice line in pr-require-checks.yml. It is read by the merge-queue CI Status check and by anyone babysitting PRs.
Reversible: yes; revert the change.
Open questions: none
Understood: when a head's pr-verify pass has an unreadable run, the reader reports verify:missing and ejects the PR. It should report the retryable verify:unreadable. The index-mode notice also wrongly says "before listing artifacts" after artifacts were listed. The acceptance criteria in the refinement comment cover both. No duplicate or merged fix found. Related: #16642 (token floor, likely cause of the failed read).
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 19, 2026
Not admitted to the issue lane yet: no trusted-human acceptance criteria: a listed human must put the confirmed
- [ ]criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited; intake's refinement of this body is due and may supply them.melodic-automation-lanes commentedon Nov 19, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: A head's pass whose run read fails is reported as retryable verify:unreadable instead of verify:missing, and the index-mode notice no longer says no listing happened when the reader did list artifacts.
Acceptance criteria
unreadable(for examplerun of {name}) when_run_state\(run_id\)returns UNREAD for a pass at the PR's head; a FOREIGN or non-counted run still only adds toignored.runs/{id}read fail, and asserts the Evidence refusal isverify:unreadableand notverify:missing.verify:missing, so that behavior does not regress.unreadablebranch order at :4152-4179 already gives.::notice::the verdict reader refused ... before listing artifactsline in .github/workflows/pr-require-checks.yml (now at :6889) is printed only when the reader attempted no artifact listing; an index-mode run that listed or read artifacts by name does not print it.verify:unreadable.External state: none
Dependencies
Related work
Sources read
_run_statesets and returns UNREAD for a failed run read.ignored.unreadableset gives refusal UNREADABLE; with no passes the code falls to MISSING at :4201.unreadablewhen tied; the pass path has no equivalent.Automated refinement by the lanes App. Intake triages the issue again with it.
melodic-automation-lanes commentedon Nov 19, 2026
{"v":1,"actor_id":337595936,"title_sha256":"a3475e8a5039b7a57d80eaf0b084bb8cf19dd484b8ae01e3bde68a39f74aa470","body_sha256":"4482bc9daf161241aedb28b2e83ecf6a170031e177e491fbb5dfcb3d1df4fc4c"}