Repository navigation
refactor(ci): simplify intake-triage.yml workflow (part 1 of 2) - #15758
Conversation
Fold refine-select's one-line scan-upload condition out of a folded block scalar and rewrap the overlong header comment line. The parsed workflow is unchanged. 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-security-review reviewed Security review: PR #15758 (head 6cb178d)I found no security issues in this change. I read the full diff for
Trust controls: this diff does not widen the trusted-trigger check, the lane token scope, the kill switch, the merge holds or the untrusted-text paths. No plugin manifest is touched, and no standing instruction is deleted or softened. Embedded text: there are no directives aimed at the review lane in the PR context. The closing issue's body was left out by the wrapper. critical-findings: 0 |
|
claude-review reviewed Code review: no findings. I read every hunk of the one changed file,
Closing issue #15749, acceptance criteria:
No embedded instructions were found in the PR context. No paved-path or plugin-manifest items apply. Verifier dropped 0 of 0 candidates. |
Closes #15749
session: Simplify E2 B
Summary
A
/simplifypass over the first half of.github/workflows/intake-triage.yml(lines 1-1148 of 2296 atorigin/main6836949: the header and the jobsborn-triagedthroughrefine-issue). This range is already tight, and tests pin most of its structure, so the change is small. The parsed workflow is unchanged.Fix
refine-select, stepscan-upload: the one-lineif:no longer sits in a folded>-block. YAML parses both forms to the same string, which is the formscripts/check-artifact-retention.mjscompares against the upload'sif:.Unchanged: the file name, the workflow
name:, every job id and jobname:, the triggers, the outputs, the step ids, and the printed text.Review findings left out, with the reason for each:
curlblock:callers.test.mjspins the inline text, and a shared action would mean moving code to another file.(pred) && cleanupload conditions: this is the shape the retention checker requires.grep -Eqto[[ =~ ]]in stepbots: the bash form rejects a variable value that contains a newline, whichgrepaccepts, so it is not strictly behavior-preserving.Verification
scripts/run-test-file.sh.callers.test.mjs(280 tests),apply-verdict.test.mjs(288),refine.test.mjs(145),reenter.test.mjs(130),triage-sweep.test.mjs(66),api-budget-coverage.test.mjs(5), plus check-kill-switch, check-upstream-status, log-api-budget, credential-legs, reentry-eval build-suite, reentry-prompt, triage-sweep-voided, monitor-signals collect and reconcile.morning-brief.test.sh,post-merge-demotion-alert.test.sh) both pass.node scripts/check-artifact-retention.mjs: 152 upload steps match (101 families).scripts/check-affected.sh(without--tests): 10 passed, 6 skipped.actionlint1.7.12: the only errors are threeunexpected key "cache-mode"errors (lines 896, 1332, 1714). Theorigin/maincopy gets the same three, so this diff does not cause them. CI's pinned actionlint action decides..githubsuite is left toci-status, under the one-suite-per-machine rule.Related
Follow-ups
CONTEXT_FILE/REPO_DIRsubstitutions are written twice in each of the three refine legs. They could run once, after thefi.callers.test.mjs(refineLegShape) holds that step equal inrefine-issue,refine-issue-subscriptionandrefine-issue-fallback, and the first leg is in part 1 while the other two are in part 2. Neither part can make the change alone, so it belongs to the restructuring pass (R2, Restructure and dedupe workflow files (final group, host sessions) #15695).🤖 Generated with Claude Code
https://claude.ai/code/session_01VQb9Q3CfCWdBxXQpDLrC7B