Repository navigation
build(ci): own the yaml and ajv packages the workflow checks use - #18645
Conversation
The workflow checks (read-caller-keys, artifact-retention, workflow-template-size) and the workflow-structure tests loaded yaml and ajv from the node_modules of the synced runner-policy copy. They now load them from scripts/ci-deps, a package this repository owns, pinned to the same yaml 2.9.1 and ajv 8.20.0, with its own Dependabot entry. The gate job, the test legs, setup-env and the read lane's dependency copy install it. runner-policy.mjs still runs from the copy. Closes #18644 Co-Authored-By: Claude Opus 5.5 <[email protected]>
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6b1ae59e65
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
PR body contract — issue linkage This PR body conforms to the issue-linkage contract. Nothing to do. |
|
claude-security-review reviewed Security review: PR #18645 (blocking only)No security issues found. I read all 29 changed files in full. This lane already reviewed an earlier head ( The pull request moves the What I checked:
The earlier summary comment is not re-posted: it reported no findings. critical-findings: 0 |
|
claude-review reviewed Code review: PR #18645, own the yaml and ajv packages in
|
|
The pr-unblock lane stopped
When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean. To run it again on this head now, dispatch the gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=18645 -f activity=address-feedback |
|
Owner: active, left: create $DEST/.github in pr-run-activity-read.yml (two review threads), merge main, re-queue. ETA 10:45 PM EST. |
The copy step created only scripts/ci-deps under the destination, so copying .github/requirements-ci.txt failed and every skill-kind read-lane run failed. read-lane-broker-check.test.sh now runs the step's shell against a stub base. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Summary
The workflow checks and the workflow-structure tests stop borrowing
yamlandajvfrom.github/standards/runner-policy/node_modulesand load them fromscripts/ci-deps/, a package this repository owns. This is the first reader move of the standards sync track (Brief Q2: synced CI-only files are read from a run-time standards checkout; readers move first, copies are deleted last).Fix
scripts/ci-deps/{package.json,package-lock.json}:yaml2.9.1 andajv8.20.0, the same pins as.github/standards/runner-policy/package.jsontoday, enginesnode >=24.scripts/check-{read-caller-keys,artifact-retention,workflow-template-size}.mjsresolve fromscripts/ci-deps; the 11 tests thatcreateRequireor symlink the copy's packages, and theirtest-scopelines, point there too.pr-require-checks.yml: the gate job installsscripts/ci-depsbeside runner-policy (cache key on both lockfiles); the test legs installscripts/ci-depsin place of runner-policy. Same inmaintenance-audit-test-selection.yml.scripts/setup-env.shandpr-run-activity-read.yml's base-copy step usescripts/ci-depsin place of runner-policy..github/dependabot.yml: weekly npm entry for/scripts/ci-deps, 3-day cooldown, minor/patch group, like the other npm roots.Not changed:
runner-policy.mjsstill runs from the copy (its own install stays in the gate job), and the copy's Dependabot entry stays until the copy is deleted.Verification
act-turns-denied,check-affected,check-artifact-retention,check-read-caller-keys,ci-review-plugin-source,pr-unblock-trusted-base,read-lane-broker-check,read-runner-dispatcher-gate,write-runner-{hold-labels,never-rules,revoke-step}),node --testoncheck-workflow-template-size.test.mjsandsetup-env.test.mjs, the three checks with--check, andactionlinton the three changed workflows.Related
@main, ADR 0129).Closes #18644
🤖 Generated with Claude Code