You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI does not run the plugin test suites that live outside cargo #4588
Four test suites ship with the agent plugins and are run by no workflow in .github/workflows/:
hooks/hermes/tests/ (Python unittest, 18 tests including an installed-flow test that runs cargo run -- init --agent hermes)
hooks/opencode/rtk.test.mjs (node)
hooks/claude/test-rtk-rewrite.sh
hooks/copilot/test-rtk-rewrite.sh
grep -rn "unittest\|hooks/hermes\|rtk.test.mjs\|test-rtk-rewrite.sh\|node --test" .github/workflows matches nothing on develop f16becacd. A change to one of these plugins can pass every CI check while breaking its own tests. On #3833, for instance, the Hermes suite pins each new decision (14 mutations, all caught locally), but no CI job would catch a regression.
A job per suite (Python is already on the runners; node is one setup step) would close this. The installed-flow test needs cargo on PATH and otherwise skips itself.
Another instance: #5133 changed the argv the Hermes plugin passes (["rtk", "rewrite", "--", command]). Three tests in hooks/hermes/tests/ went red (test_rewrite_updates_payload_without_returning_a_directive for exits 0 and 3, and test_cargo_init_installs_importable_plugin_that_rewrites_with_fake_rtk), and every CI job stayed green. The PR's fixup updates the tests.
Activity
rtk-wshm-sync-bot commentedon Oct 15, 2026
🔍 Automated Triage
bugmediumSummary
Four non-cargo plugin test suites (Hermes, OpenCode, Claude, Copilot rtk-rewrite) have no CI job, so regressions in them pass CI undetected.
📁 Relevant files
.github/workflows/hooks/hermes/tests/hooks/opencode/rtk.test.mjshooks/claude/test-rtk-rewrite.shhooks/copilot/test-rtk-rewrite.shSuggested Actions
Triaged automatically by wshm · This is an automated analysis, not a human review.
KuSh commentedon Nov 28, 2026
Another instance: #5133 changed the argv the Hermes plugin passes (
["rtk", "rewrite", "--", command]). Three tests inhooks/hermes/tests/went red (test_rewrite_updates_payload_without_returning_a_directivefor exits 0 and 3, andtest_cargo_init_installs_importable_plugin_that_rewrites_with_fake_rtk), and every CI job stayed green. The PR's fixup updates the tests.