Repository navigation
fix(ci): semantic-audit-check fails closed instead of printing a pass - #59
Conversation
…pass The action echoed a list of checks and then "Semantic Audit Passed" unconditionally. It called nothing; the cicd-squabbler `audit` subcommand it names does not exist. No workflow calls it yet, but the first caller would have gained a gate that cannot fail. It now exits 1 with an explicit not-implemented error until a real audit exists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015bTuGfwCcvjrmNFejydTML
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📜 Recent review details⏰ Context from checks skipped due to timeout. (21)
|
| Layer / File(s) | Summary |
|---|---|
Action failure behaviour .github/actions/semantic-audit-check/action.yml |
The action reports that no audit subcommand or pinned artifact exists, then exits with status 1. |
Priority: ⬇️ Low
Estimated code review effort: 1 (Trivial) | ~4 minutes
Change: Bug fix
Merge Risk: ⚪ Minimal · up to e47f3
This change does not block an existing checked-in workflow. The action intentionally fails if invoked, until semantic audit is implemented.
Architecture Summary
Architecture risk: 🔵 Low · up to e47f3
The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency.
Changed systems: None identified.
Architecture concerns
No architecture-level concerns identified.
Review details
Before / after behavior
- observed — Modified behavior in .github/actions/semantic-audit-check/action.yml: The action metadata and composite step were replaced: instead of printing placeholder checks and reporting “Semantic Audit Passed”, the step emits an error stating that the audit is unavailable and exits with status 1.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
| Check name | Status | Explanation |
|---|---|---|
| Title check | ✅ Passed | The title clearly states the main change: the semantic audit action now fails closed instead of reporting a pass. |
| Description check | ✅ Passed | The description covers the required sections, explains the change and its rationale, records checklist status, and reports testing. It clearly states that tests were not run. |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0… |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
- Commit to this branch
- Create a new PR
- Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
A rabbit checks the audit gate,
No command is ready to await.
An error marks the missing part,
Status one gives the clear report.
The rabbit hops, the checks now start.
Comment @coderabbitai help to get the list of available commands.
Summary
.github/actions/semantic-audit-check/action.ymlprinted a list of checks and thenSemantic Audit Passedunconditionally. It checked nothing. The cicd-squabbleraudit --semanticsubcommand it names does not exist. It now fails closed: one step emits::error title=semantic-audit-check::not implemented …andexit 1.No workflow in this repo calls the action today (
git grep semantic-audit-check origin/main -- .githubmatches only the action itself), so nothing goes red. But the first caller would have gained a gate that cannot fail. Same placeholder in 7 repos; same fix in each. Owner decision (2026-10-07): fail closed here, and do the real squabbling centrally from cicd-squabbler once it ships a pinned artifact. It has none today: no release, no tag, no container package.📌 New pins
Head SHA: e47f3c2. No pins added or changed: no
uses:,actions.lock, lockfile or digest is touched.Changes
.github/actions/semantic-audit-check/action.yml: unconditional "Passed" replaced with an explicit not-implemented error andexit 1.RSR Quality Checklist
Required
just testor equivalent): not run; no code or test input changed.yq. actionlint does not lint compositeaction.yml.unsafeblocks without// SAFETY:comments (n/a, no Rust).envfiles includedAs Applicable
TOPOLOGY.md: n/aCHANGELOG: n/a, CI placeholder only.Testing
yq -o=json . .github/actions/semantic-audit-check/action.ymlparses (KYAML content, D280; filename kept because Actions requiresaction.yml).git diff --stat origin/main: exactly 1 file changed.git grep -l semantic-audit-check origin/main -- .githublists no workflow.%G?= G).Screenshots
n/a
🤖 Generated with Claude Code
https://claude.ai/code/session_015bTuGfwCcvjrmNFejydTML