Repository navigation
test(qa): prove ClawHub catalog discovery - #118934
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 3, 2026, 7:05 PM ET / 23:05 UTC. ClawSweeper reviewWhat this changesAdds a deterministic ClawHub HTTP fixture, QA scenario, and command-boundary tests for plugin catalog search, skill separation, empty results, and service failures. Merge readinessKeep open for maintainer review. This is a still-unique, test-only addition that exercises the documented ClawHub plugin-versus-skill boundary without changing production behavior; no blocking correctness finding was found. Priority: P3 Review scores
Verification
How this fits togetherThe plugins-search CLI calls the catalog-search helper, which queries ClawHub’s installable plugin families and renders terminal or JSON results. Skills use a separate ClawHub endpoint, and the new fixture makes both HTTP paths deterministic for QA. flowchart LR
A[Plugins search CLI] --> B[Catalog search helper]
B --> C[Plugin family HTTP searches]
C --> D[ClawHub fixture server]
D --> E[Plugin search results]
D --> F[Skill search results]
B --> G[Terminal or JSON output]
Decision needed
Why: The test proves the real HTTP boundary and command handler, while existing unit coverage separately exercises Commander’s limit parsing and registration; accepting that split is a maintainer QA-scope choice. Before merge
Agent review detailsSecurityNone. PR surfaceTests +239, Other +134. Total +373 across 4 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the refreshed test-only coverage once it remains compatible with current main and repeats the focused fixture-backed command test. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR adds regression coverage rather than repairing a reported user-facing failure. Its fixture provides a clear deterministic path for the covered catalog behaviors. Is this the best way to solve the issue? Yes: a local HTTP fixture tests the shared command boundary more meaningfully than the existing mocked helper tests, while preserving the existing Commander unit coverage for option parsing. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against a2ccd6ea61ec. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
e5afaa5 to
98979d2
Compare
* origin/main: (54 commits) test(qa): cover agent session streaming (#119028) test(qa): cover sandbox workspace isolation (#119038) test(qa): cover progress followthrough evidence (#119039) fix(auth): cooldown inline api key billing failures (#88709) chore(gateway): cover update and setup RPCs test(qa): prove ClawHub catalog discovery (#118934) chore(qa): cover plugin testing harness contracts (#118933) test(qa): prove failure recovery visibility (#119034) test(qa): cover direct tool invocation (#119025) test(qa): close external app SDK proof gaps (#118978) test(qa): prove container health endpoints (#119012) test(qa): claim sessionless heartbeat coverage (#119027) fix(gateway): keep plugin model allowlists static (#118854) fix(plugins): refresh bundled channel skills (#119020) test(qa): cover ClawHub package compatibility (#118985) test(qa): cover agent session reconnect dedupe (#119013) test(qa): prove gateway chat RPCs (#118988) test(ui): cover Control UI auth transports (#118866) fix(auth): do not admit ambient environment credentials behind declared profiles (#118458) test(ui): cover operator administration flows (#118836) ...
* commit '25e3b6c9b79dadb912195d86fbff968602d58798': (54 commits) fix(cli): honor local port in gateway call (#119046) fix(gateway): honor external status target context (#119015) test(qa): cover agent session streaming (#119028) test(qa): cover sandbox workspace isolation (#119038) test(qa): cover progress followthrough evidence (#119039) fix(auth): cooldown inline api key billing failures (#88709) chore(gateway): cover update and setup RPCs test(qa): prove ClawHub catalog discovery (#118934) chore(qa): cover plugin testing harness contracts (#118933) test(xai): cover playback mark overflow fix(xai): bound realtime playback marks test(qa): prove failure recovery visibility (#119034) test(qa): cover direct tool invocation (#119025) test(qa): close external app SDK proof gaps (#118978) test(qa): prove container health endpoints (#119012) test(qa): claim sessionless heartbeat coverage (#119027) fix(gateway): keep plugin model allowlists static (#118854) fix(plugins): refresh bundled channel skills (#119020) test(qa): cover ClawHub package compatibility (#118985) test(qa): cover agent session reconnect dedupe (#119013) ...
* test(qa): prove ClawHub catalog discovery * test(qa): use shared temp cleanup
What Problem This Solves
ClawHub plugin catalog discovery had no primary QA proof through the real HTTP and CLI command boundary. Existing tests mocked the catalog client, so regressions could silently mix plugin and skill results, lose duplicate-score selection, or hide empty and failed lookups.
Why This Change Was Made
Adds a deterministic ClawHub catalog-search fixture profile and an end-to-end command test. The test exercises both installable plugin families, best-score duplicate merging, the separate skill endpoint, empty results, JSON and terminal identity, install guidance, and a controlled HTTP 503.
The scenario claims:
clawhub.plugin-catalog-searchclawhub.plugin-and-skill-search-separationclawhub.catalog-lookup-failureProduction code is unchanged. Production LOC delta:
+0/-0.User Impact
No runtime behavior changes. Release QA can now detect catalog discovery regressions at the operator-visible command boundary.
Evidence
Reviewed branch head:
98979d2ab07f5964362e2db0291316fc8b91797a.Focused proof on the reviewed head:
Blacksmith Testbox
tbx_01kz52v075r30yzbrezsdfncxx:9451f03ee43340291485eb58b9268cd4ec7d72f5matched the reviewed branchqa suite --scenario clawhub-catalog-discoverypassedqa-evidence.jsonrecorded statuspassand exactly the three claimed primary IDsTargeted
oxfmt --check: passedgit diff --check: passedSol/high autoreview: clean, with no accepted or actionable findings
ClawSweeper reviewed the exact head with no findings; its focused-test rank-up move is satisfied
Exact-head hosted CI run https://github.com/openclaw/openclaw/actions/runs/30866763426 passed at
98979d2ab07f5964362e2db0291316fc8b91797aopenclaw/ci-gatefinished green