Repository navigation
refactor(ci): simplify the pr-test-platforms and pr-unblock-dispatch workflows - #15863
Conversation
…workflows
- pr-test-platforms: set the plan step's base with
${BASE_REF:+origin/$BASE_REF} (github.base_ref is set only on
pull_request, the one trigger with a base) in place of a case on the
event name; the hooks and lib jobs point at the rename-1 job's shfmt
comment instead of repeating it; the host-skip reference names where
the HOST-SKIP block is; rewrap two broken comment lines.
- pr-unblock-dispatch: rewrap two broken comment lines and drop a
stray blank line between two steps.
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 foundI read the whole diff for both changed files (
No trust control is widened. There are no plugin manifest changes and no deletions from instruction files. The PR context contains no embedded directives aimed at the review lane. critical-findings: 0 |
|
claude-review reviewed Code review: PR #15863, a
|
Closes #15855
session: Simplify E2 B
Summary
A
/simplifypass overpr-test-platforms.ymlandpr-unblock-dispatch.yml. Behavior is unchanged.Fix
pr-test-platforms.ymlbase="${BASE_REF:+origin/$BASE_REF}"in place of acaseon the event name. Of this file's three triggers (pull_request,schedule,workflow_dispatch), onlypull_requesthas a base, andgithub.base_refis set only there. The notice text and the--baseargument stay the same.test-windows-secretssaid "see the job comment above". The HOST-SKIP block sits abovetest-windows-rename-1, so the note now names that.pr-unblock-dispatch.yml: two broken comment wraps are rewrapped, and a stray blank line between "Check out the default branch tip" and "Log the checked-out main tip" is removed.Unchanged: the file names, workflow and job
name:s, job ids, triggers, matrix, outputs, step ids, printed text, dispatches, and permissions.Considered and left as is
pr-unblock-dispatch.yml, "Stop on an untrusted trigger": its if/else differs only in the echoed text. It is the trust gate, so I left it alone.pr-unblock-dispatch.yml, the dispatch gate condition repeated on five steps:workflow-gates.test.mjsevaluates each step'sif:on its own.pr-unblock-dispatch.yml, the refine job's record steps and run-id checks:workflow-gates.test.mjspins them verbatim.pr-test-platforms.yml, the timing table: it leaves out a few suites the jobs also run. Adding them without measured times would put unmeasured numbers in it.Verification
scripts/run-test-file.sh. They include:admit.test.mjs(778),check-trusted-trigger.test.mjs(485),callers.test.mjs(280),feedback-dispatch.test.mjs(239),address-feedback.test.mjs(195),reconcile.test.mjs(183),clear-escalations.test.mjs(123)dispatch.test.mjs(80),fix-ci-dispatch.test.mjs(80),workflow-gates.test.mjs(66)plan-test-lanes.test.sh,dispatcher-current.test.shandread-runner-dispatcher-gate.test.shactionlint1.7.12 reports no errors for either file..githubsuite is left toci-status, under the one-suite-per-machine rule.Related
Follow-ups
pr-test-platforms.ymlrepeats the shfmt install four times, the Pester install twice and log-api-budget eight times. A shared shfmt composite action would also coverpr-require-checks.yml,eval-browser-dispatch.ymlandmaintenance-audit-test-selection.yml.base, so an edit that left it empty onpull_requestwould pass every check and just run every Windows step. A grep-level assertion in a workflow-shape test would cover it. That is a test edit, which this issue puts out of scope.pr-test-platforms.ymlrun past 80 columns. They date from the ci.yml rename; rewrapping them would be cosmetic only.🤖 Generated with Claude Code