Repository navigation
ci(actionlint): switch to the kjanat fork and retire the soak lane - #1027
Conversation
The actionlint composite installs kjanat/actionlint 1.17.0 from its release, pinned by the archive's SHA-256. That digest's SLSA provenance names release commit 08bb2c4f0d039744455b87aef1c647fb8b66d37b. The fork accepts `$/` refs and `concurrency.queue`, so pr-require-checks.yml moves from `./` to `$/` refs, and zizmor's `self-repository` ignore for that file goes away. The fork's cache-safety policy reported 7 `cache-call-unrestricted` findings on pr-require-checks.yml's reusable calls under the `issues` trigger. intake-label-needs-triage runs on `issues` and its callee floats on @main, so the job now caps it with `cache-mode: none`. The other six calls are skipped on `issues` by their `if:`, which the rule does not read; each carries an inline exception naming that reason. The phase 1 soak job, its two scripts and its support probe are removed. Refs: #788 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015XWwmbdW8moDiQ5Rtgt7d5
Codex Review Summary: ❌ FailedThis 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Keep main's pr-review-cli.yml review jobs and suppress their cache-call-unrestricted finding inline: each job's if excludes issues. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015XWwmbdW8moDiQ5Rtgt7d5
|
claude-review reviewed No findings. I read the full diff, PR context and prior-findings file. This is a first review (no earlier heads), so it is not blocking-only. What the change does: Checked:
Not independently verified: the PR's claims about local actionlint, zizmor, Cost/hold: none. No paid plan, billing setting or billed resource changes, and the removed soak job only cuts CI usage. |
|
claude-security-review reviewed Security review of #1027 at 8d76fee. I read the whole diff (7 listed files, plus the deleted soak scripts and fixture), the PR context, and the head critical-findings: 0 Finding (1, SUGGESTION): the provenance check no longer runs in CI.
Checked, no finding
No |
…al reference (#1004) No related issue: the pins audit has failed on every push to main since 2026-11-12 ## Summary The "Maintenance Audit PR Convention Pins" workflow fails on every push to main with `drift: caller ci-workflows: no pr-contract composite step and no pr-issue-linkage caller` (for example [run 43551903176](https://github.com/melodic-software/standards/actions/runs/43551903176)). ci-workflows' gate calls its own composite through GitHub's self-repository syntax, `uses: $/.github/actions/pr-require-checks/check-contract` ([`pr-require-checks.yml`](https://github.com/melodic-software/ci-workflows/blob/main/.github/workflows/pr-require-checks.yml), step "Check the pull-request contract"). That switch from `./` to `$/` landed on 2026-11-08 in [ci-workflows#1027](melodic-software/ci-workflows#1027), so the failures probably began with the first audit run after it, before the 2026-11-12 example. `detectArtifactPin` found ci-workflows' local composite only through `COMPOSITE_LOCAL_PATTERN`, which accepted a `./` prefix and nothing else. The scan therefore found no artifact and reported `kind: "none"`. GitHub documents `$/` as "the self repository reference": it resolves to the same repository at the running commit and takes no `@{ref}` suffix ([workflow syntax, `jobs.<job_id>.steps[*].uses`](https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#example-using-an-action-in-the-same-repository-as-the-workflow-at-the-running-commit-recommended); [changelog, 2026-07-30](https://github.blog/changelog/2026-07-30-reference-same-repository-actions-with-self-repository-syntax/)). The scan reads ci-workflows at `main`, the commit its own `main` runs, so the existing `sha: "main", local: true` resolution applies unchanged. ## Fix - `components/pr-convention-policy/lockstep-drift.mjs`: `COMPOSITE_LOCAL_PATTERN` accepts `[.$]/` where it accepted only `\./`. It still requires a live `uses:` entry with no `#` earlier on the line. Two comments now name both forms. - `components/pr-convention-policy/lockstep-drift.test.mjs`: a `$/` reference is detected as the local composite at `main`, and a commented-out `$/` line still detects nothing. Nothing else in the component assumes `./`: `runPinScan` reads a local artifact from the consumer's own tree whatever the prefix. The README and threat model do not describe the prefix. ## Verification - `node --test components/pr-convention-policy/lockstep-drift.test.mjs`: 95 of 95 pass, exit 0. - An offline dry run against ci-workflows `origin/main` passed the real workflow files to `resolveConsumerArtifact`. It resolved `{"kind":"composite","sha":"main","directory":".github/actions/pr-require-checks/check-contract","local":true}`. `checkFleet` then reported no drift for ci-workflows against that tree's `run.sh` and `action.yml`. Only one live composite or linkage call exists in ci-workflows' workflows (`pr-require-checks.yml:763`), so no legacy `pr-contract` call can win the scan. - The real pin scan needs `LOCKSTEP_GITHUB_TOKEN` or `GITHUB_TOKEN` to read private callers. Without one it exits 1 with `fetch-error: the pin scan reads private gate callers and needs LOCKSTEP_GITHUB_TOKEN or GITHUB_TOKEN; neither is set`. The fleet-wide result therefore comes from the workflow's run on main after merge. ## Related - [ci-workflows#1027](melodic-software/ci-workflows#1027): moved `pr-require-checks.yml` to `$/` references. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
Refs: #982 ## Summary The re-pin pull request #982 (ci-workflows actions to v0.74.0) has failed `CI Status` since the actionlint action switched to the kjanat fork: two component suites cannot parse the fork's version line, so this repository's 23 first-party action pins have stayed on v0.71.0. ## Fix - `components/actionlint/actionlint.test.sh` and `components/claude-lanes/claude-lanes.test.sh`: the version handed to `require_min_version` is the last field of the first line of `actionlint -version`. Upstream prints `1.7.12`; the fork prints `actionlint.kjanat.dev 1.17.0`. Neither file is distributed, so the sync opens no pull request for this change. ## Verification - Failing job on #982 (`Check GitHub Actions`, head `a7efa88`): `ERROR: actionlint reported an unparsable version: actionlint.kjanat.dev\ 1.17.0 (fix the --version parse)` in both suites. - `printf 'actionlint.kjanat.dev 1.17.0\n' | awk 'NR == 1 { print $NF }'` prints `1.17.0`. - `bash harness/shell/run-tests.sh components/claude-lanes/claude-lanes.test.sh components/actionlint/actionlint.test.sh` with upstream actionlint 1.7.12: `2 files: 2 passed, 0 failed, 0 skipped`. ## Related - #982 - melodic-software/ci-workflows#1027 (the switch to the fork) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Fable 5.2 <[email protected]>
…nly (#1028) Refs: #982 ## Summary With the version parse fixed (#1027), the re-pin pull request #982 still fails `CI Status`: nine assertions in `components/actionlint/actionlint.test.sh` are removal controls that expect actionlint to reject `$/` references, `concurrency.queue`, job `cache-mode` and the `issues` `field_added`/`field_removed` types without the config. The kjanat fork that ci-workflows v0.74.0 installs accepts all four natively. ## Fix - `components/actionlint/actionlint.test.sh`: those four controls run only when the engine is upstream actionlint. The fleet-label control is unchanged and runs on both engines. The four ignores in `.github/actionlint.yaml` stay. A consumer that still lints with upstream actionlint needs them: claude-code-plugins pins the actionlint action at `2476d5dd`, before the switch to the fork (ci-workflows `d7d8b1f`, first released in v0.72.0), and uses these constructs in its workflows. Dropping an ignore and its control is right once no consumer lints with upstream. ## Verification - Failing job on #982 at head `544ed7c6` (`Check GitHub Actions`): assertions 16, 17, 23, 24, 30, 31, 38, 39 and 40, each "expected non-zero exit, got 0" or its missing control message. - Upstream actionlint 1.7.12: `bash components/actionlint/actionlint.test.sh` prints 40 `PASS`, 0 `FAIL`. - A stub that reports the fork's version line and otherwise runs upstream: 31 `PASS`, 0 `FAIL` (the nine assertions above do not run; the fleet-label control does). The real fork runs this suite on #982's next run. - `shellcheck components/actionlint/actionlint.test.sh`: clean. ## Related - #982, #1027 - melodic-software/ci-workflows#1027 (the switch to the fork) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Fable 5.2 <[email protected]>
) No related issue: doc correction from an org-wide zizmor inventory. ## Summary `components/zizmor/README.md` (Ownership) gave "ci-workflows' `self-repository` ignore" as its example of an extra rule. ci-workflows removed that ignore in [ci-workflows#1027](melodic-software/ci-workflows#1027) (commit d7d8b1f), and its `.github/zizmor.yml` on main holds only the cooldown and `unpinned-uses` rules. ## Fix Drop the example; the locally-owned rule itself is unchanged. ## Verification Read ci-workflows' `.github/zizmor.yml` at main and the d7d8b1f diff, which deletes the `self-repository` block. markdownlint (pre-commit) reports 0 issues. ## Related Not changed here: `distribution/sync-manifest.yml` still gives that ignore as the reason ci-workflows keeps the `zizmor` component `locally-owned` (the comments above the `zizmor:` component entry and inside ci-workflows' `locally-owned` list), and names its retirement as the removal trigger. That trigger has now been met. ci-workflows#1027 lists "flip ci-workflows' `zizmor` component to managed" as a follow-up for standards. Flipping it would sync the org config over ci-workflows' narrower `unpinned-uses` policy, so it is left to its own change. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
Refs: #788
Summary
Phase 2 of #788. The soak tally is clean
(tally comment):
across 265 completed soak runs there were 0 failures, 0
ref is missingorqueuefindings, and0 false positives against real code. The actionlint composite now installs the kjanat fork. Per the
issue brief, merging this PR is the owner's go on that tally.
Fix
.github/actions/actionlint/action.yml: kjanat/actionlint 1.17.0 from its release, pinned byarchive SHA-256
620abd48…. That digest's SLSA provenance names release commit08bb2c4f0d039744455b87aef1c647fb8b66d37b; I verified it locally withgh attestation verify --source-digest.pr-require-checks.yml: every./action and reusable-workflow ref is now$/, which GitHub'sworkflow syntax recommends for same-repository refs. The soak job is gone.
intake-label-needs-triageruns onissues, so it now setscache-mode: none.if:skips them onissueseach carry an inlinecache-call-unrestrictedexception naming that reason. The tally comment holds theclassification and its basis.
.github/zizmor.yml: theself-repositoryignore forpr-require-checks.ymlis dropped.$/refs. README names the fork.Not changed:
.github/actionlint.yaml. It is a standards-managed file. Theactionlintcomponent in
melodic-software/standardsdistribution/sync-manifest.ymllists it as managed forci-workflows, and the last two edits to it here were sync PRs (#1008, #998). Its
$/,queue,cache-modeandfield_added/field_removedignores now match nothing under the fork, so theyare harmless. They stay until standards removes them. That removal has to wait until consumers
that still run rhysd 1.7.12 (claude-code-plugins pins this composite at
2476d5d) move past thisswitch.
Verification
it reports the 7
cache-call-unrestrictedfindings.[shellcheck]SC2086on.github/actions/actionlint/fixtures/shellcheck.yml, whichthe lane's proof step greps for.
zizmor --offline .github: no findings, with theself-repositoryignore removed.check-jsonschemapasses onpr-require-checks.ymlagainst the pinned SchemaStore schema, whosereusableWorkflowCallJoballowscache-mode, and onaction.ymlagainstvendor.github-actions.node --test .github/scripts/*.test.cjs: 965 of 967 pass locally. The 2 failures areenvironmental:
graphql-operationscannot find thegraphqlmodule (nonpm cilocally), andthe
pr-review-clifull-diff timing test passes when run alone.ci .github/scriptsis clean. markdownlint-cli2 on README.md finds 0 issues.claude-code-plugins' 8, behind its composite pin.
Related
points the actionlint plugin's install guidance at the same v1.17.0 release.
rhysd, and flip ci-workflows'
zizmorcomponent to managed. Its locally-owned reason, theself-repositoryignore, is gone.🤖 Generated with Claude Code
https://claude.ai/code/session_015XWwmbdW8moDiQ5Rtgt7d5