Repository navigation
fix(code-metrics): run one measure per collector in setup check before PASS - #5616
Conversation
…e PASS A collector row passed on probe alone, so a tool that resolved but could not measure read healthy. The check now runs one ladder measure on a bundled fixture: PASS when it returns rows, FAIL when the probe passed and the measure exited non-zero or returned nothing, WARN probe only when no fixture can exercise the tool. Refs #5552 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…collector-liveness
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
PR body contract — issue linkage This PR body conforms to the issue-linkage contract. Nothing to do. |
Satisfies shellcheck add-default-case (SC2249) so the lint job passes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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 1m 33s —— View job Security review complete
Scope reviewed: all 6 changed files, with focus on the security-relevant surface — No security issues found. Notes from the review (none rise to a reportable finding):
|
|
Claude finished @kyle-sexton's task in 4m 59s —— View job Claude finished the
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 52e8da909e
ℹ️ 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".
…res on a fixture Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Claude finished @kyle-sexton's task in 1m 18s —— View job Security review complete
Scope reviewed: all 6 changed files ( No security issues found. This head (
Everything from the earlier review of Codex's remaining P2 comment (CPD/bash fixture pairing) is a correctness question, not a security one, and is outside this lane's scope — the author's rebuttal (cpd is never paired with bash in |
|
Claude finished @kyle-sexton's task in 4m 2s —— View job Claude finished the
|
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Claude finished @kyle-sexton's task in 1m 6s —— View job Claude finished the
|
|
Claude finished @kyle-sexton's task in 46s —— View job Security review complete
Scope reviewed: diff between the last-reviewed head ( No security issues found.
This remains consistent with both prior passes: fixtures are a static, bundled, repo-controlled |
Refs: #5552
Summary
setup checkmarked a collector row PASS on the adapter's version probe alone, so a tool that resolved onPATHbut could not measure looked healthy.Fix
Each collector row now runs the probe and then one measure on a bundled fixture. PASS names the version and the measure. FAIL reports a tool that probed but exited non-zero or returned no rows. WARN
probe onlymarks a collector no bundled fixture can exercise. A missing tool stays an INFO row with its install hint.SKILL.mdand the README describe the new row. The plugin is bumped to 0.4.1 with a CHANGELOG entry. Whether the Adopters table gets a row is left to the owner, so this PR uses Refs, not Closes.Verification
bash plugins/code-metrics/skills/setup/scripts/setup-check.test.sh: 24 cases, 0 failedscripts/check-changelog-parity.sh --check,--check-order,--check-bump origin/main: passscripts/validate-plugins.sh: all manifests and the catalog validatedRelated
Issue #5552; the 2026-09-29 owner decision on #3847.
🤖 Generated with Claude Code