Repository navigation
refactor(ci): simplify intake-triage.yml workflow (part 2 of 2) - #15771
Conversation
apply-refinement's "Post the refinement" runs only after the kill switch proceeded (lane-token, config, context and who-check gate on it), so its KILL_SWITCH expression always yields `proceed`. Write the literal, as refine-select does. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Q3CfCWdBxXQpDLrC7B
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-review reviewed Code review: PR #15771 (
|
|
claude-security-review reviewed Security review: PR #15771No security issues found. Scope. I read all of the one changed file, The change. In the "Post the refinement" step,
So whenever "Post the refinement" runs, the old expression had already evaluated to Trust controls.
Nothing is widened. Running the lane after the kill switch is set is not possible any more than it was before. PR context. It contains no embedded instructions aimed at the review. critical-findings: 0 |
Closes #15754
session: Simplify E2 B
Summary
A
/simplifypass over the second half of.github/workflows/intake-triage.yml: lines 1149-2296 of 2296 atorigin/main6a506e3, which holds the jobsrefine-issue-subscriptionthroughtriage-split-children. The range was already clean apart from one derivable expression.Fix
apply-refinement, the "Post the refinement" step'sKILL_SWITCHenv is now the literalproceed, the formrefine-selectalready uses. The step runs only when a lane token was issued. Getting that token required the config, context and who-check steps to pass, and the who-check runs only whensteps.kill.outputs.proceed == 'true'. So the old expression always evaluated toproceed.Unchanged: the file name, the workflow
name:, every job id and jobname:, the triggers, the outputs, the step ids, the printed text, and the number and order of API writes.Review findings left out:
refine-issue-subscriptionandrefine-issue-fallback:callers.test.mjs(refineLegShape) locks their steps torefine-issue, which is in part 1. The exempt fields are pinned elsewhere in the same test. The subscription leg's "Fail without a refinement"ifcannot takerefine-issue's form, because when the credential step fails it must fail the job, not skip it.born-triagedfromapply-refinement'sneeds, or mergingtriage-split-children's validate and dispatch loops: the first changes skip propagation, and the second could send POSTs before rejecting a bad number.Verification
scripts/run-test-file.shpasses:callers.test.mjs(280),apply-verdict.test.mjs(288),reconcile.test.mjs(183),refine.test.mjs(145),reenter.test.mjs(130),collect.test.mjs(84),log-api-budget.test.mjs(76),triage-sweep.test.mjs(66),check-kill-switch.test.mjs(53),check-upstream-status.test.mjs(14), plus the other five node files;morning-brief.test.shandpost-merge-demotion-alert.test.sh.node scripts/check-artifact-retention.mjs: 152 upload steps match (101 families).actionlint1.7.12 reports only the threeunexpected key "cache-mode"errors, which theorigin/maincopy reports too. CI's pinned actionlint action decides..githubsuite is left toci-status, under the one-suite-per-machine rule.Related
Follow-ups
redispatch-refinedandtriage-split-childrenare byte-identical.apply-refinement's "Revoke the lane token" step repeatsapply-verdict's.🤖 Generated with Claude Code
https://claude.ai/code/session_01VQb9Q3CfCWdBxXQpDLrC7B