Repository navigation
chore(qa): cover ClawHub package compatibility - #118985
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 3, 2026, 6:01 PM ET / 22:01 UTC. ClawSweeper reviewWhat this changesAdds a ClawHub QA scenario plus CLI E2E coverage proving incompatible package metadata fails before trust checks, archive download, install-record persistence, and telemetry, while compatible metadata still completes installation. Merge readinessKeep this maintainer-authored PR open for normal merge review. The patch is a focused regression-proof addition: current ClawHub installation validates resolved compatibility before the trust/security request and archive download, and the new real CLI fixture asserts that ordering for package-level plugin API fallback and version-level gateway minimums. Priority: P3 Review scores
Verification
How this fits togetherThe ClawHub plugin install path resolves package and version metadata, validates host compatibility, then performs trust checks, downloads the archive, persists the install record, and reports telemetry. This PR adds executable QA evidence at that boundary and registers it in the QA coverage catalog. flowchart LR
A[Plugin install command] --> B[Package metadata]
B --> C[Version artifact metadata]
C --> D[Compatibility validation]
D -->|Incompatible| E[Visible install error]
D -->|Compatible| F[Trust check and archive download]
F --> G[Install record and telemetry]
H[QA scenario catalog] --> I[CLI HTTP-fixture regression test]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +51, Other +25. Total +76 across 2 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the focused regression coverage once the merge-result QA gate confirms the ClawHub install E2E remains green against current main. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR adds regression coverage rather than repairing a newly reported runtime failure. Current source establishes the relevant compatibility-before-trust ordering, and the PR's local HTTP fixture exercises that flow through the real CLI entrypoint. Is this the best way to solve the issue? Yes. Reusing the existing real CLI and local ClawHub HTTP fixture is the narrowest maintainable way to prove both rejection ordering and the absence of failed-install side effects without introducing production test hooks. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 65fa1f9a7bd1. 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
|
|
Land-ready proof for head
Production LOC delta is |
|
Merged via squash.
|
* 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) ...
What Problem This Solves
ClawHub package compatibility had no structured QA scenario proving that incompatible metadata stops an install before trust checks or artifact download. A regression here could perform unnecessary remote work or leave install side effects before the operator sees the incompatibility.
Why This Change Was Made
This extends the real CLI/ClawHub HTTP fixture to cover package-level
pluginApiRangefallback, version-levelminGatewayVersion, and the compatible install path. It also registers the exact portfolio coverage ID as a discoverable QA scenario.The architectural owner remains the existing ClawHub install flow. This is test and QA metadata only: no production path, compatibility policy, fallback, or fixture abstraction was added.
User Impact
No runtime behavior changes. Maintainers now have executable regression proof that incompatible packages fail visibly before trust or download work, while compatible packages still install, persist their record, and report telemetry.
Evidence
tbx_01kz4rzsx5s4c71e39bp165hdf: https://github.com/openclaw/openclaw/actions/runs/30855444926clawhub.clawhub-package-compatibility-validationstatus: passtbx_01kz4pjamj9rb6trgsddr76s5t: https://github.com/openclaw/openclaw/actions/runs/308524188420.99).0. Test/QA delta:+80/-4.Repair Doctrine
AI Assistance