Repository navigation
refactor(ci): simplify the reconcile-lost-runs and tidy-code-upkeep workflows - #15802
Conversation
…orkflows Drop the blank lines left in model-subscription and model-fallback where steps only the key leg has were taken out. maintenance-reconcile-lost-runs is already clean: every candidate is held by a test or by check-artifact-retention's gating shape. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> 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 #15802I found no security issues. I read the whole diff. It changes one file, A YAML parser ignores blank lines between steps, so the workflow runs the same at base and head. The change widens no trust control: the trusted-trigger check, the scope of the lane token, the kill switch, the merge holds and the untrusted-text paths are all unchanged. It also deletes no standing instruction. This matches what the PR says it does: a whitespace-only Spend: none. The change does not alter model usage, run frequency or billing. critical-findings: 0 |
|
claude-review reviewed Code review: PR #15802No findings. Full review: I read every hunk of the one changed file. The pull request removes three blank lines from Closing issue #15763, acceptance criteria:
No test could fail if a blank line came back, and none is needed: blank lines are not behavior. The PR body says No plugin manifest changed. Nothing in the PR context or prior-findings file tells the lane what to do. The workflow is on the trusted-path list, so I read its whole change: it is whitespace only and gates nothing new. Verifier dropped 0 of 0 candidates. |
Closes #15763
session: Simplify E2 B
Summary
A
/simplifypass overmaintenance-reconcile-lost-runs.ymlandmaintenance-tidy-code-upkeep.yml. Tests or the repo's checkers already pin both files, so the only change is whitespace. Behavior is unchanged.Fix
maintenance-tidy-code-upkeep.yml: removed the extra blank lines inmodel-subscription(one) andmodel-fallback(two). They were left behind when steps that only the key leg has were removed. YAML parsing ignores them, and so does the step splitter inlib/workflow-text.mjs.Considered and left as is
${{ always() }}form on the two "Pick the next leg" steps:callers.test.mjs("every select-model-credential next-leg call runs bare or under always()") andmaintenance-tidy-code-upkeep/credential-legs.test.mjsboth match it as text. A trial change to barealways()failed both, so I reverted it.rm -rfbeforemkdir -pin the marker and seal steps: these run after a model leg withsandbox: "false", and the file's own comment names that threat.maintenance-reconcile-lost-runs.yml: already clean. Every env var and output has a reader. The "Mark this tick's work done" step is the pacer's marker (pace.test.mjs). The three scans overrecord.jsonhave to stay, because of the conjunct shapescripts/check-artifact-retention.mjs(gatedBy) requires.Verification
scripts/run-test-file.sh; all pass. They include:check-trusted-trigger.test.mjs(485),callers.test.mjs(280),reconcile.test.mjs(183),rate-guard.test.mjs(159)fix-ci-dispatch.test.mjs(80),log-api-budget.test.mjs(76),merge-holds.test.mjs(71),workflow-gates.test.mjs(66),live-config.test.mjs(65)tidy-code-upkeep/credential-legs.test.mjs(3),recent-pass.test.mjs(7),pace.test.mjs(15)ci-lanes-pr-hold.test.shandci-rerun-ci-status.test.shactionlint1.7.12 reports no error other than thecache-modekey it does not know, which it also reports onorigin/main.node scripts/check-artifact-retention.mjs: 152 upload steps match (101 families)..githubsuite is left toci-status, under the one-suite-per-machine rule.Related
Follow-ups
These are for the restructuring pass (R2, #15695), because each needs another file:
maintenance-tidy-code-upkeep.yml:push-branchesandpublish.callers.test.mjsholds the legs equal, and they mirrorupstream-apply-changelog.yml.maintenance-reconcile-lost-runs.yml: the three record scans could become one only ifcheck-artifact-retention.mjsgatedByaccepted an extra conjunct.🤖 Generated with Claude Code
https://claude.ai/code/session_01VQb9Q3CfCWdBxXQpDLrC7B