Skip to content

refactor(ci): simplify pr-unblock.yml workflow (part 2 of 3) - #15893

Merged
kyle-sexton merged 1 commit into
mainfrom
refactor/s086-pr-unblock-part2
Nov 13, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
refactor/s086-pr-unblock-part2

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Closes #15871

session: Simplify E2 B

Summary

A /simplify pass over the middle third of .github/workflows/pr-unblock.yml (part 2 of 3): lines 1693-3384 of 5077 at origin/main 0a3b99e, the jobs from address-feedback-subscription through review-dependency-not-run. Only comments change, so behavior is the same.

Fix

  • apply-feedback-patch: its if: comment said one leg answers "the fallback call when it ran, else the first". The output expressions pick the fallback call, then the subscription call, then the first, and workflow-gates.test.mjs asserts that order. The comment now says so. This is the same fix refactor(ci): simplify pr-unblock.yml workflow (part 1 of 3) #15880 made in apply-conflict-patch.
  • publish-feedback: it said the adjudicator judges "the INCORRECT replies". It judges every disputed reply: INCORRECT, UNCERTAIN or VALID-defer (adjudicate-feedback.mjs, DISPUTED).
  • adjudicate-feedback: dropped "The judge has Read alone", which appeared twice in a row. The overwrite: false note now sits on "Upload the verdicts", the step it describes, instead of on the scan step above it.
  • Wraps and typos: rewrapped the address-feedback-subscription-handoff and address-feedback-fallback headers, which a job rename left 92-131 columns wide. Fixed "a address-feedback", "subscription's subscription leg", and an 83-column env comment in review-dependency-select.

Why no code changes

  • callers.test.mjs, workflow-gates.test.mjs and the credential-legs tests pin every code candidate here:
    • per-slot if:s and byte-equal judge with: blocks in adjudicate-feedback;
    • the handoff jobs' shape;
    • the subscription gates;
    • the review-dependency-select env prefix and step order;
    • the "Read the PR head" script.
  • adjudicate-feedback's rm -rf before the key-credit-stop marker stays, because model legs run earlier in that job.
  • The trust guards stay.

Verification

  • scripts/run-test-file.sh on all 22 local test files that name this workflow: every one passes.
  • Local actionlint 1.7.12: no errors beyond the cache-mode and concurrency.queue keys it does not know, and origin/main has the same errors.
  • The full .github suite is left to ci-status, under the one-suite-per-machine rule.

Related

Follow-ups

  • Restructuring pass (R2, Restructure and dedupe workflow files (final group, host sessions) #15695): the three-leg selector expression repeats about 14 times in this range. Sharing it needs YAML anchors or a new job.
  • Job-count headers: they are stale. For example, "review-dependency is six jobs" at line 3114 sits beside a family that now has ten. The same pattern recurs at lines 166, 890, 1344 and 3761, so they should be fixed together.
  • Dead rm -rf marker lines: pr-verify-capture.yml and maintenance-audit-lane-runs.yml already write the key-credit-stop marker without an rm -rf. Whether the other copies need it is for a later pass.

🤖 Generated with Claude Code

Comment-only:
- apply-feedback-patch picks the fallback call, else the subscription
  call, else the first; the comment left the subscription call out.
- publish-feedback: the adjudicator judges every disputed reply
  (INCORRECT, UNCERTAIN or VALID-defer), not only INCORRECT ones.
- adjudicate-feedback: drop a sentence said twice, and move the
  overwrite: false note onto the upload step it describes.
- Rewrap comment lines a job rename left over 80 columns (the
  address-feedback subscription-handoff and fallback headers) and fix
  "a address-feedback".

Every code candidate in range is pinned by callers.test.mjs,
workflow-gates.test.mjs or credential-legs.test.mjs, or is a
trust-boundary guard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T07:32:39.494547Z 6d32e90 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 6d32e90b386306cb1dc2f442058866dee3701b35: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Security review: no security issues found

Scope: 1 file, .github/workflows/pr-unblock.yml, which is on a trusted path. I read all six hunks in .claude-lane/pr.diff.

What changed: only YAML comments. No if:, with:, env:, run:, permissions:, secret reference or output expression was added, removed or edited. Some context lines in the hunks contain expressions: the three-leg selector in apply-feedback-patch and the review-* outputs, the secrets.* inputs, and the PIN_PATCH_FILE / DEPENDABOT_POLICY env values. All of them are unchanged context, not +/- lines.

Per-hunk check:

  • address-feedback-subscription-handoff header: rewrapped, and "a address-feedback" becomes "an address-feedback". The meaning is unchanged.
  • address-feedback-fallback header: rewrapped, and "subscription's subscription leg" becomes "subscription's leg". The meaning is unchanged.
  • apply-feedback-patch comment: now says fallback, then subscription, then first. That matches the unchanged if: expression at L50 of the diff. It is a documentation fix only.
  • adjudicate-feedback header: the repeated "the judge has Read alone" sentence is merged. The stated Read-only/no-Bash, Glob/Grep-denied and .txt-suffix guards are all still described. The grants themselves were not touched, and the PR says workflow-gates.test.mjs pins them.
  • overwrite: false comment: moved from the scan step to the "Upload the verdicts" step it describes. No step settings changed.
  • "INCORRECT replies" → "disputed replies" and the PIN_PATCH_FILE comment reword: comment text only.

Trust controls: none widened. The token scope, trusted-actor checks, kill switch, merge holds and the untrusted-text paths into a credentialed lane are all unchanged.

Instruction surface: a workflow YAML comment is not a standing model instruction, and none of the edits removes or narrows a rule. The protected-class register did not need to be consulted, because no guardrail text was deleted.

PR context: the description has no embedded directives aimed at the review lane. The body of closing issue #15871 was withheld by the wrapper because its author is not on the allowed list.

Prior findings: none; this is the first review of this PR, not blocking only.

Spend: none. The change adds no model calls, runs or schedule changes.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 6d32e90b386306cb1dc2f442058866dee3701b35: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #15893, simplify pr-unblock.yml (part 2 of 3)

No findings. I read every hunk of the one changed file, .github/workflows/pr-unblock.yml. The workflow is on the trusted-path list, so I read the whole change and the code each edited comment describes.

What changed. Only comments, in 7 hunks between head lines 1779 and 3262. No job id, if:, with:, env: value, output expression or trigger changed. Every hunk falls inside the issue's range 2 (base lines 1693–3384).

Comment accuracy, checked against the code:

  • apply-feedback-patch (L1895–1899): the new order (fallback call, then subscription call, then first) matches the if: expression on the next lines and the review-* output selectors at L3049–3051.
  • publish-feedback (L3052): "disputed replies" is correct. adjudicate-feedback.mjs defines DISPUTED = ["INCORRECT", "UNCERTAIN", "VALID-defer"] (L56) and filters slots on it at L428.
  • adjudicate-feedback: the duplicate "The judge has Read alone" is merged into one sentence and nothing else is lost. The overwrite: false note now sits on "Upload the verdicts" (L2989–2991), which is the step that sets overwrite: false at L3001.
  • Header rewraps (L1782–1788, L1843–1846): the wording is the same apart from the "a address-feedback" and "subscription's subscription leg" fixes.
  • PIN_PATCH_FILE comment (L3262): shortened only; the value is unchanged.

Closing issue #15871, acceptance criteria:

  • Behavior unchanged; job ids, workflow file names and triggers unchanged: met. The diff touches only comment lines.
  • Diff edits only the listed file: met.
  • Within 400 changed lines and 15 files: met (about 40 lines, 1 file).
  • Only jobs that start in range 2 changed: met.
  • "ci-status is green": I can't check this from the lane. The author says 22 local test files and actionlint passed; I did not run them.

No test is needed for a comment-only change: no behavior can break.

No embedded instructions in the PR context. There are no settled threads, and the prior-findings file lists no earlier posts (blocking only: no).

Verifier dropped 0 of 0 candidates.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 13, 2026
Merged via the queue into main with commit 399e685 Nov 13, 2026
53 checks passed
@kyle-sexton
kyle-sexton deleted the refactor/s086-pr-unblock-part2 branch November 13, 2026 07:51
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Simplify the pr-unblock.yml workflow (part 2 of 3)

1 participant