Repository navigation
refactor(ci): simplify pr-require-checks.yml workflow (part 3 of 4) - #15897
Conversation
Comments only, in the jobs that start in the third quarter of the file (test-node, check-managed-files, check-tests, ci-status): correct comments that misdescribe the code (the composites' own-gate retry window is 120 s, so their waits total about five and a half minutes; the npm cache, not setup-node, is keyed on the lockfiles; only miro lints; pr-merge's refusal needs both markers in its first two lines; any listed human's removal lifts a trusted relabel; which steps "the step above" meant; what an unread config leaves unset), replace "as before" and ticket back-references with present-tense wording, untangle the hold-config and timeout paragraphs, and rewrap comments that broke mid-sentence or ran past the width. Closes #15851 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 #15897 (pr-require-checks.yml simplify, part 3 of 4)I found no security issues. I read every hunk of the only changed file,
So this change widens no trust control and weakens no merge hold. Instruction-surface lens: the comments removed include a note on re-labeling recovery (old line ~6070), a duplicate Embedded text in PR context: none directs the lane. Prior findings: none; this is the first review of this PR (not blocking-only). Cost: none. The change spends no credits or billable resources. critical-findings: 0 |
|
claude-review reviewed No findings. This PR changes comments only in I checked each rewritten comment against the code it describes at head:
Closing issue #15851:
No test could fail on a comment change, and none is needed. Verifier dropped 0 of 0 candidates. |
Closes #15851
session: Simplify E2 A
Summary
Runs
/simplifyon the third quarter of.github/workflows/pr-require-checks.yml(E2 chunk S073, part 3 of 4), after part 2 (#15884) merged. The file had 7726 lines atorigin/main; part 3 owns lines 3865-5796, so the jobs that start there:test-node,check-managed-files,check-testsandci-status(which runs to line 7712). Every edit is a comment: the parsed workflow, and so every job, step,if:, env line, output, permission and printed line, is unchanged.Fix
Comments that misstated the code:
ci-statustimeout: the pinned aggregate-results lookup retries for 120 s, not 45 s ("up to 9 reads over 120 seconds" in itsaction.yml), so the composites' waits come to about five and a half minutes. The paragraph is now a list, and the lanes-hold parenthetical no longer splits a sentence.test-node: the "keyed on every lockfile" comment sat onsetup-pinned-node, which takes no cache input; it now sits on "Restore the npm cache". The header no longer claims every sub-project has typecheck and lint chains (only miro lints).human_gated: pr-merge's refusal is recognised by both<!-- babysit-merge-risk -->and the escalation marker in its first two lines, as the jq requires.queued_authornames no pr-unblock step that reads its cache, and an unread config leavesverify_judgedunset (not both outputs); "the step above" in three headers now names the step it means.Also: "as before" and ticket back-references in prose are cut, a duplicate
check-testssentence and a course-digest comment that repeated video-digest's are dropped, and about a dozen comments that broke mid-sentence or ran past the width (up to 200 columns) are rewrapped.Left out: two path-literal substitutions in the hold steps (
"$module"for a path already in a variable), since they change executable lines on a gate path for no behavior gain, and the duplicated jq predicates andls-remotereads listed below.Verification
actionlint .github/workflows/pr-require-checks.yml: clean;node scripts/check-artifact-retention.mjs: 152 upload steps match.scripts/check-docs-only-gate.sh --checkandscripts/check-lane-coverage.sh --check: pass.node --test --test-concurrency=4on the 30 node test files that name this workflow: 4034/4034 pass.scripts/run-test-file.shon the 36 shell test files that name it, including the ones that runci-statusstep bodies (ci-hold-*,ci-lanes-pr-hold,ci-review-lanes,ci-gh-read,ci-ordered-skips), underuv run --with pyyaml: all pass.test_merge_holds_sync.pyandtest_babysit_verify_evidence.py: 462 passed..githubsuite (ci-status).Follow-ups
scripts/ci-gh-read.test.shprints "aggregate-results' 202 s of waits", computed with the old 45 s retry window; with 120 s it is 277 s.verify_judgedjq predicate, the base-SHA check with the tracker read, and thegh-readonly-queuesed are each repeated acrossci-statussteps; sharing them means a helper file.Related
Part of #15694 (E2, the /simplify epic's workflow group). Parts 1-2: #15870, #15884. Part 4: S074 (#15861), which owns
report-ci-status.🤖 Generated with Claude Code