Skip to content

test(wiring): fix master CI — add perf.v8_inspector_targets to canonical tool names#96

Merged
rlaope merged 1 commit into
masterfrom
fix/ci-skill-toolref-v8-targets
May 28, 2026
Merged

test(wiring): fix master CI — add perf.v8_inspector_targets to canonical tool names#96
rlaope merged 1 commit into
masterfrom
fix/ci-skill-toolref-v8-targets

Conversation

@rlaope
Copy link
Copy Markdown
Owner

@rlaope rlaope commented May 28, 2026

Summary

  • Master CI went red after PR fix(skills): correct perf tool-arg names + metric/runtime inaccuracies (code-review followup) #95: TestSkillToolRefsAreValid flagged perf.v8_inspector_targets as an unknown tool referenced by the node-runtime skill.
  • The tool is real — registered in internal/core/tools/perf/v8.go and used by the skill to enumerate V8 inspector targets before capturing a CPU profile. The gap was in the test's hand-maintained canonicalToolNames fixture, which had perf.v8_inspector_cpu_profile but not perf.v8_inspector_targets.
  • One-line fixture fix; no production code touched.

Test plan

  • go test -race -count=1 ./internal/wiring/... passes locally
  • Audited every builtin skill's allowed_tools against the canonical list — perf.v8_inspector_targets was the only missing entry

The node-runtime skill legitimately references perf.v8_inspector_targets
(registered in internal/core/tools/perf/v8.go) to enumerate V8 inspector
targets before profiling, but the hand-maintained canonicalToolNames
fixture in skills_test.go never included it — so TestSkillToolRefsAreValid
flagged it as an unknown tool and turned master CI red.

Signed-off-by: rlaope <piyrw9754@gmail.com>
@rlaope rlaope merged commit f3916db into master May 28, 2026
2 checks passed
@rlaope rlaope deleted the fix/ci-skill-toolref-v8-targets branch May 28, 2026 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant