Repository navigation
fix(harness): parse the actionlint fork's version line - #1027
Conversation
The kjanat fork that ci-workflows v0.74.0 installs prints `actionlint.kjanat.dev 1.17.0` where upstream prints `1.7.12`, so the two suites that gate on the actionlint version failed their parse. Both now take the last field of the first line, which is the version in either build. Co-Authored-By: Claude Fable 5.2 <[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. |
|
claude-security-review reviewed No security findings. The change touches two test scripts, critical-findings: 0 |
|
claude-review reviewed No findings. The PR changes one line in each of
Verifier dropped 0 of 0 candidates. |
…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: the first-party action pin work, tracked in the owner's audit session. ## Summary The daily re-pin pull request that moves this repository's `melodic-software/ci-workflows` action pins waited for a person to merge it. #982 (to v0.74.0) sat open and red from 2026-11-09 to 2026-11-16 with nobody watching it, so standards and the distributed managed-files-guard callers stayed on v0.71.0. After this change the pull request arms auto-merge and merges once `CI Status` passes. ## Fix - `.github/workflows/maintenance-repin-ci-workflows.yml`: a last step runs `gh pr merge --auto --squash` on the pull request the job opened or updated, with the same App token. Arming never merges: GitHub merges once every required check passes. The header, the step comment and the pull-request body text no longer say it is merged by a person. - `components/runner-policy/THREAT-MODEL.md` and `components/managed-files-guard/README.md`: the same wording. Owner decision: asked in the audit session on 2026-11-15 "May standards' own repin pull request merge itself once `CI Status` passes?", with the threat-model line quoted as the reason for asking; the owner answered "go with recommendations", the recommendation being yes. The sync pull requests this one cascades into already arm auto-merge by default (`distribution/README.md`, `automerge`). What is unchanged: the required check, the review lanes (both ran on #982), the App's permissions (it already holds contents and pull-requests write, which arming needs), and the rule that the job never moves a reusable-workflow ref. ## Verification - `actionlint .github/workflows/maintenance-repin-ci-workflows.yml`: exit 0. - `zizmor --offline` on the same file: no findings. - Not exercised before merge: the job runs on schedule and dispatch from main only, so the new step first runs at the next ci-workflows release after this merges. Until then the claim that it arms is unproven. ## Related - #982, #1027, #1028 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Fable 5.2 <[email protected]>
Refs: #982
Summary
The re-pin pull request #982 (ci-workflows actions to v0.74.0) has failed
CI Statussince the actionlint actionswitched 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.shandcomponents/claude-lanes/claude-lanes.test.sh: the version handedto
require_min_versionis the last field of the first line ofactionlint -version. Upstream prints1.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
Check GitHub Actions, heada7efa88):ERROR: actionlint reported an unparsable version: actionlint.kjanat.dev\ 1.17.0 (fix the --version parse)in bothsuites.
printf 'actionlint.kjanat.dev 1.17.0\n' | awk 'NR == 1 { print $NF }'prints1.17.0.bash harness/shell/run-tests.sh components/claude-lanes/claude-lanes.test.sh components/actionlint/actionlint.test.shwith upstream actionlint 1.7.12:
2 files: 2 passed, 0 failed, 0 skipped.Related
🤖 Generated with Claude Code