Repository navigation
refactor(ci): simplify pr-unblock.yml workflow (part 1 of 3) - #15880
Conversation
Comment-only: - apply-conflict-patch picks the fallback call, else the subscription call, else the first; the comment left the subscription call out. - sync-shared-copies-select's merge-scripts copy step does not copy the sync script (the regenerate step does) and reads loop.no-progress; the comment now matches resolve-conflicts-select's. - Rewrap comment lines a job rename left over 80 columns and three broken wraps. Every code candidate in range is pinned by callers.test.mjs or workflow-gates.test.mjs, or is a trust-boundary guard. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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: PR #15880 (head
|
|
claude-review reviewed Code review: PR #15880, simplify pr-unblock.yml (part 1 of 3)I found nothing to block or flag. Scope. The PR changes one file, Comment corrections I checked against the head file:
Closing issue #15864, acceptance criteria:
No test could fail if these comments broke, but that is expected for comment-only edits and is not a gap. The PR's verification (22 test files passing, actionlint output) is the author's claim; I did not run it. No embedded instructions in the PR context. No settled threads. No prior findings: this is the first review of this PR. Verifier dropped 0 of 0 candidates. |
Closes #15864
session: Simplify E2 B
Summary
A
/simplifypass over the first third of.github/workflows/pr-unblock.yml(part 1 of 3). The range is lines 1-1690 of 5072 atorigin/main4050cce: the header and the jobs fromdispatcher-currentthroughaddress-feedback-handoff. Only comments change, so behavior is unchanged.Fix
apply-conflict-patchheader: the comment said the job answers from "the fallback call when it ran, else the first". Its output expressions pick the fallback call, else the subscription call, else the first. The comment now names all three.sync-shared-copies-select, "Copy the merge scripts from the base": the comment said the step copies the sync script, but the "Regenerate the shared copies" step does that. The comment also left out that this step readsloop.no-progress. It now uses the same wording asresolve-conflicts-select's identical step.resolve-conflicts-select,resolve-conflicts-not-runandsync-shared-copies-not-runheaders.Why no code changes
Every code candidate in this range is either pinned or a guard:
callers.test.mjspins the handoff jobs' shape, the key and subscription legs,resolve-conflicts-select's steps, outputs andcache-mode, and the select jobs' outputs.workflow-gates.test.mjsruns the "Read the PR head" script and pins the!cancelled() &&gates.PR_NUMBERand sender-id checks, the head-repository check and the script hashing are trust-boundary checks, left as they are.The leg-select expression repeats eight times. Sharing it would need a new job or YAML anchors, so it stays.
Verification
scripts/run-test-file.sh, passes.actionlint1.7.12 reports two kinds of error,concurrency.queue(26) andcache-mode. It reports the same errors onorigin/main, because it does not know either key. CI's pinned actionlint action is the one that counts..githubsuite is left toci-status, under the one-suite-per-machine rule.Related
Follow-ups
These go to the restructuring pass (R2, #15695):
apply-patch), in part 3's range.sync-shared-copies-select's Pin, Behind and Merge steps copyresolve-conflicts-select's, and the tip and checkout steps repeat in seven jobs. Sharing either needs a composite action.resolve-conflictsjobs. The sibling counts at lines 1340, 3109 and 3756 follow the same pattern and may count something else, so all four should be fixed together or left alone.🤖 Generated with Claude Code