Repository navigation
refactor(ci): run the shared lane actions from ci-workflows - #18300
Conversation
Switch every setup-pinned-node, scan-upload and upload-lane-transcript call site to the ci-workflows copies at v0.81.0, delete the local copies, and move every other ci-workflows pin to the same release. The read and write runners now stage only the publish gate in RUNNER_TEMP, from the default branch tip, before the head checkout replaces .base; a failed stage leaves no gate and the scan withholds its upload. work-resolve-issue sets up the base's pinned Node before the WIP cap check, so a failed setup skips the check and the run holds as when the check fails. Co-Authored-By: Claude Opus 5.5 <[email protected]>
97b6666 to
f2639e0
Compare
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. |
Lane run report
Run 45103317965, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
The WIP cap check keeps its kill-switch-only condition, so the sweep's kill-switch reading still holds; without Node the check fails and the unknown-cap hold names it, as for any failed check. Adds the pr-pipeline changelog fragment for the pin in pr-run-activity.md. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
claude-security-review reviewed Security review: incremental (PR #18300, head c712154)No security issues found. This lane already reviewed an earlier head, so this review covered blocking findings only. It read all three files in the incremental scope. What changed
Trust controlsThese changes don't touch the trusted-trigger check, the lane token request or broker, the kill switch, No plugin manifest or standing instruction surface is in scope. The PR context carries no instructions aimed at this lane. critical-findings: 0 |
|
claude-review reviewed Code review: incremental, c712154 (3 files)This lane already reviewed an earlier head, so this pass reported blocking findings only. This push fixes the blocking finding from the last round: a failed pinned-Node setup no longer lets pick-slot read the WIP cap on the runner image's Node. That finding was posted twice, on What changed:
Checked against the head files:
Prior findings: both threads are resolved by the owner with a fix in this push, and both are marked Other notes
Verifier dropped 0 of 0 candidates. |
…cceed pick-slot passes the Node setup outcome to check-wip-cap, which fails before any read unless it is success, so capped stays unset and the unknown-cap hold holds the run, as the composite's own install did. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…upload Main moved scan-upload to ci-workflows (#18300), so the CDN sync and patch scans now use that action with the base publish gate, as the relock scan does. cdn-paths.mjs decides what the cdn-pins class may write and apply-patch imports it, so it joins the hold floor as an enforcement row beside protected-paths.mjs; the generated copies and the floor pins move with it. apply-patch.test.mjs copies apply-patch/ and lib/ into its staged-layout test, so it declares both in its test-scope. Co-Authored-By: Claude Opus 5.5 <[email protected]>
No related issue: ADR 0085 Migration step 5, moving the shared lane actions to ci-workflows
Summary
This repository and ci-workflows each kept their own
setup-pinned-node,scan-uploadandupload-lane-transcriptunder the same names, and the two copies had drifted apart. melodic-software/ci-workflows#1187 made the ci-workflows copies serve both repositories. This PR switches every call site here to the ci-workflows copies and deletes the local ones (ADR 0085, Migration step 5).Fix
./.base/,./.lane-trusted/and$/use of the three actions now points atmelodic-software/ci-workflows/.github/actions/<name>@8972ed0d6815585dbbead0532c4ea65b4088375e # v0.81.0, the one ci-workflows pin. In the same change,scripts/repin-ci-workflows.sh applymoves every other pin to that release.scan-uploadandupload-lane-transcriptpassgate-path: this repository'slib/publish-gate.mjs, from the same trusted checkout the step already used.upload-lane-transcriptalso passeshide-trace-ids: "true", keeping the trace-id handling its telemetry scan had here.RUNNER_TEMPand scan through the action with that gate, instead of copying in the scanner script and running it directly.check-wip-capno longer installs Node through its neighboring action's script. Its one caller,work-resolve-issue.ymlpick-slot, sets up the pinned Node first and passes its outcome to the check, which fails before any read unless the setup succeeded, so the unknown-cap hold holds the run as before.scripts/setup-pinned-node.test.shand their package-list entries are deleted. Sparse checkouts, workflow tests, the artifact-retention checker, the editorconfig exclude for the keyring and the landscape map no longer list the deleted paths.Verification
node --test --test-concurrency=4on 20 affected test files (callers, model-job permissions, api-budget coverage, check-wip-cap, the pr-merge, pr-verify, pr-unblock, upstream-apply-changelog, pr-review-main, plugin-eval and pr-merge-risk workflow suites, lane-transcripts pull, check-kill-switch and log-api-budget): 1256 of 1256 pass.scan-upload.test.mjs(17 tests), run against ci-workflows'scan.cjswith this repository'slib/publish-gate.mjsas the gate, passed 16. The one failure is wording: ci-workflows' warning reads "a password or secret assignment", while the local copy omitted the "a". Nothing reads that text..githubsuite (host limit), which CI runs.Related
Deferred
check-kill-switchstays here for now. It depends onlog-api-budget(rate-guard.mjs,rate-limits.json) and moves together with it at ADR 0085 step 5.melodic-software/pr-pipeline-sandboxstill holds its own copies of these actions.