Repository navigation
refactor(ci): read the agent-ready test once, in check-admission - #16996
Conversation
Five work-resolve-issue jobs repeated check-admission's Work status test (field 48484079 set to agent-ready, option 84879220) beside a check-admission output. That output exists only when check-admission ran, and it runs only on that field write, so the repeat added nothing. The concurrency group and check-admission keep the test. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review: no security issues foundThis PR removes the agent-ready field test ( Trust-control check on the trusted-path workflow. I read the whole change and the admission gate it depends on.
Test file. The No instruction-surface deletions or plugin manifest changes. No spend change: the edited conditions start the same jobs as before. The PR context contains no embedded directives. critical-findings: 0 |
|
claude-review reviewed Code review: PR #16996, refactor(ci): read the agent-ready test once, in check-admissionNo findings. The PR changes two files, and I read every hunk of both. Is the cleanup behaviour-preserving? Yes.
The test change. In Verification. The PR's test counts (289 passed, and 2425 passed across the other 12 files) are the author's claim. I did not run any tests. I did search the repository's test files, and none of them asserts the old field test inside these five job conditions. Closing issue. The PR closes no issue, so there are no acceptance criteria to check. Other notes.
Loosened-check verdict: fail (default; no wrapper settings lines); patterns: 0 Verifier dropped 0 of 0 candidates. |
No related issue: behaviour-preserving cleanup of one workflow's job conditions
Summary
work-resolve-issue.ymltests for the agent-ready field write incheck-admissionand then repeated the same test in five later jobs: pick-slot, resolve-issue, resolve-issue-subscription, resolve-issue-fallback and report-skip. Each of those jobs also requires acheck-admissionoutput. That output only exists whencheck-admissionran, andcheck-admissionruns only on that field write. The repeated test therefore never changed a result, so this PR removes it.Fix
needs.check-admission.outputs.*tests and dropissue_field.id == 48484079 && issue_field_value.option.id == 84879220.check-admissionand the concurrency group keep the field test. A group cannot read job outputs.callers.test.mjsset a non-agent-ready option and also setproceedto'true'. A real run cannot produce that state. The test now derivesproceedfromcheck-admission's own condition, so it still checks that a non-agent-ready option starts neither job.Verification
node --test .github/actions/resolve-config/callers.test.mjs: 289 passed, 0 failed.work-resolve-issue.yml, run together: 2425 passed, 0 failed..githubsuite, because CI runs it.Related
N/A
🤖 Generated with Claude Code