refactor(ci)!: delete unused scripts, composite actions and render framework - #586
Conversation
…amework - Delete check-run-reconcile.cjs and resolve-cancelled-prerequisite.cjs with their tests; nothing calls either. - Delete the lefthook-validate and tsc composite actions, their fixtures and test script, and the ci.yml lanes that existed only to exercise them. No repository in the organization calls either action. - Remove the render framework (render.cjs, render-compose.cjs and its test, render-osv-scan-guard.cjs). Its only target was the OSV scan guard in osv-scanner.yml, which now holds that content directly; osv-scanner-pin drops the render drift check and keeps its content assertions. BREAKING CHANGE: the composite actions melodic-software/ci-workflows/.github/actions/lefthook-validate and melodic-software/ci-workflows/.github/actions/tsc are removed. Refs: #585 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019mo9xaZ53JHHy4aBjgd8wK
Codex Review SummaryThis 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 finished @kyle-sexton's task in 2m 26s —— View job Code review: PR #586
SummaryThis is a clean deletion-only refactor. I verified the claims in the PR body rather than taking them at face value:
Finding (posted inline)One maintainability point, left as an inline comment on Not code, informational onlyThe PR body doesn't open with a closing-keyword line ( Not verifiedI could not execute |
|
Claude finished @kyle-sexton's task in 2m 27s —— View job Security review — PR #586
Note on procedure: the FindingsNo security findings. This PR is a pure deletion of dead code — no new logic, no permission changes, no new triggers, no secret handling:
Nothing to fix. The one item worth tracking (not gating this PR) is adding a test that keeps the inline OSV guard and |
|
Claude has reviewed this PR 1 time. The lane skips further automatic reviews after 5; deleting this comment resets the count. |
|
Last security-reviewed head: |
The classify step's run block in osv-scanner.yml is now the guard's only copy. osv-scan-guard.test.sh extracts that block and runs every existing case against it, and fails if the block cannot be found. The standalone osv-scan-guard.sh, which nothing else used, is deleted. Refs: #585 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019mo9xaZ53JHHy4aBjgd8wK
|
Claude finished @kyle-sexton's task in 1m 3s —— View job Security review — PR #586 (re-run at
|
Summary
Follow-up to #585: removes scripts, composite actions and the render framework that nothing uses any more.
Breaking: the
lefthook-validateandtsccomposite actions are removed. No repository in the organization calls either one.Merge order: github-iac's
.github/governance-verify/expected-contract-only-gates.jsonstill listslefthook-validateandtscundermelodic-software/ci-workflows(lines 161 and 171). Itsverify-predicatejob reads this repository'sci.ymlonmainand fails on any listed job that no longer exists. Those two entries need to come out of github-iac when this merges. That change is not part of this PR.Fix
.github/scripts/check-run-reconcile.cjsand its test. Nothing calls it. Removed its mention fromdocs/topics/claude-review-lanes/security-review-absent-mitigation.md..github/scripts/resolve-cancelled-prerequisite.cjsand its test. The only remaining mention anywhere is a github-iac plan doc.lefthook-validateandtsccomposite actions:.github/actions/lefthook-validate/(including fixtures),.github/actions/tsc/,.github/scripts/lefthook-validate.test.shandfixtures/typescript/good/tsconfig.json, which only thetsclane usedtscandlefthook-validatejobs fromci.yml, plus theirci-statusneedsandresultsentries, thelefthook-validatechange filter and the**/tsconfig.jsonfilter patternlefthook-validatefrom the cached-install list innetwork-timeout-policy.test.cjs.cursor/install.shheader commentrender.cjs,render-compose.cjs,render-compose.test.cjsandrender-osv-scan-guard.cjs.osv-scanner.yml. That block stays inline with its content unchanged; only the BEGIN, Source and END generator marker comments are gone.osv-scanner-pin.test.cjsno longer runs the renderer--checkor asserts the Source marker. Its fail-closed content assertions are kept..github/scripts/*.test.cjswithout a source module tests a workflow that still exists, so none were deleted.workflow-yaml.cjsstays because four tests use it.release.yml,.github/standards/**, SYNC-MANAGED files, and the dateddocs/topics/ci-fanout-consolidation/ADR.mdrecord.Verification
node --test .github/scripts/*.test.cjs: 235/235 pass.node --test .github/actions/claude-lane-outcome/*.test.cjs: 15/15 pass.osv-scan-guard.test.shandchange-detection/match.test.shpass.cioverfixtures/typescript/good .github/scriptspasses.actionlint -shellcheck=passes on all workflows. shellcheck on.cursor/install.sh, markdownlint on both edited markdown files, and typos are clean.ci.ymlandosv-scanner.yml: 51 findings, all low.mainhas 55 for the same two files, so no new findings.ci-workflows/.github/actions/lefthook-validateand.../tsc, and greppedorigin/mainin every canonical clone. There are no callers outside this repository.ci-statuswiring and searched for callers again. It returned PASS and found the github-iac gates entry noted above.osv-scanner.ymlcurrently matches.github/scripts/osv-scan-guard.shline for line.osv-scan-guard.test.shstill tests the.shfile, but with the renderer gone nothing keeps the two copies in sync.Related
Refs: #585
🤖 Generated with Claude Code
https://claude.ai/code/session_019mo9xaZ53JHHy4aBjgd8wK