Repository navigation
test(buzz): add live QA Lab channel lane - #116298
Conversation
|
Codex review: found issues before merge. Reviewed July 30, 2026, 7:47 PM ET / 23:47 UTC. ClawSweeper reviewWhat this changesAdds a plugin-owned live QA Lab runner for Buzz that leases dedicated relay credentials, executes canary and mention-gating scenarios, redacts artifacts, and selects the lane from release validation. Merge readinessKeep this PR open for human approval: it has credible exact-head live Buzz proof, but it still adds an unapproved Priority: P2 Review scores
Verification
How this fits togetherQA Lab discovers plugin-provided transport runners and starts an ephemeral gateway against real channel infrastructure. This change feeds leased Buzz relay credentials into that runner and reports scenario evidence back to release-validation workflows. flowchart LR
A[Release QA selector] --> B[QA Lab suite host]
B --> C[Plugin QA runner]
C --> D[Credential lease broker]
D --> E[Hosted Buzz relay]
E --> F[Buzz channel plugin]
F --> G[Redacted QA artifacts]
G --> H[Release result]
Decision needed
Why: This is a product and operational contract decision: it changes both the supported plugin seam and the release system's dependency on a credential broker and external relay. Before merge
Findings
Agent review detailsSecurityNeeds attention: The new third-party dependency is security-sensitive because the affected broker validates and leases private-key-bearing QA credentials, and its required exact-head authorization is absent. PR surfaceSource +734, Tests +874, Docs +100, Config +137, Other +132. Total +1977 across 33 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Authorize or remove the broker dependency, then obtain owner confirmation that the credential-host SDK addition and blocking Buzz release lane are the intended long-term contracts before merging. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR adds a new QA and release-validation capability rather than repairing a reported current-main failure. The contributor supplied credible after-fix evidence for the proposed hosted path. Is this the best way to solve the issue? Unclear: the plugin-owned QA runner is a coherent implementation, but the shared Plugin SDK credential seam and blocking release inclusion need explicit owner acceptance before this can be called the best long-term solution. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against a473fc6f3e21. LabelsLabel justifications:
EvidenceSecurity concerns:
What 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
HistoryReview history (7 earlier review cycles)
|
573f8b0 to
53160a6
Compare
53160a6 to
2bd5f49
Compare
Exact-head hosted Buzz proofValidated head: Command shape (secrets loaded from 1Password inside tmux; no values were placed on the command line): pnpm openclaw qa buzz \
--repo-root . \
--output-dir .artifacts/qa-e2e/buzz-hosted-c5c7e70e8d-20260730-r2 \
--provider-mode mock-openai \
--credential-source convex \
--credential-role maintainer \
--scenario channel-canary \
--scenario channel-mention-gatingRedacted result: The secret scan acquired the same dedicated credential after the scenario completed, checked the generated report, summary, evidence JSON, and captured run log against the real driver/SUT private keys and maintainer broker token, found zero matches, and released the lease. The credential payload has no auth tags. No secret values were printed or written to repository artifacts. The package-boundary correction at this head injects credential leasing from QA Lab into the plugin adapter instead of importing a private runtime chunk. Focused tests pass, fresh autoreview is clean, and the full TypeScript project graph passed on Blacksmith Testbox run https://github.com/openclaw/openclaw/actions/runs/30590466843. |
Dependency GuardThis PR changes dependency-related files. Maintainers should confirm these changes are intentional. Changed files:
Maintainer follow-up:
|
Dependency graph change authorizedThis PR includes dependency graph changes. A repository admin or member of
A later push changes the PR head SHA and requires a fresh security approval. |
2bd5f49 to
a87b034
Compare
|
@steipete please authorize the intentional dependency change on exact head
This adds |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@steipete the package-boundary fix moved the exact head to
Proof: #116298 (comment) |
|
/allow-dependencies-change add pinned nostr-tools to the isolated Convex QA broker for Buzz key validation |
|
Owner decision for exact head Independent dependency approval: #116298 (comment) |
|
Merged via squash.
|
…e2e-integration-20260730 * origin/main: fix(plugins): keep registry sqlite root consistent (#116427) fix(cli): keep Gateway auth failures parseable in JSON (#116597) fix(trajectory): preserve prompts in oversized events (#116220) test(buzz): add live QA Lab channel lane (#116298) chore(i18n): refresh native locales (#116567) feat: add OpenClaw TUI prototype skill (#116583) fix(update): accept concrete versions selected by ranges (#116585)
…-supported-paths * origin/main: (168 commits) fix(plugins): keep registry sqlite root consistent (#116427) fix(cli): keep Gateway auth failures parseable in JSON (#116597) fix(trajectory): preserve prompts in oversized events (#116220) test(buzz): add live QA Lab channel lane (#116298) chore(i18n): refresh native locales (#116567) feat: add OpenClaw TUI prototype skill (#116583) fix(update): accept concrete versions selected by ranges (#116585) fix(agents): preserve locked session model routes test(qa-lab): preserve Matrix fault proxy identity fix(ci): extend OpenAI live profile setup budget (#116580) fix: prevent configured models from stalling startup (#116553) fix(cli): close MCP listener after one-shot commands fix(auto-reply): keep explicit NO_REPLY silent (#116548) test(discord): cover deferred backpressure terminals fix(discord): cancel backpressured realtime playback test(discord): cover realtime output backpressure fix(codex): add remote WebSocket heartbeat and reconnect (#116135) fix(macos): wait for the current reconnect snapshot (#116550) fix(outbound): recognize current-source message-tool sends (#116560) fix(voice-call): type cancelled consult outcomes ... # Conflicts: # extensions/google/setup-api.test.ts # ui/src/e2e/model-setup.e2e.test.ts
* feat(buzz): add live QA runner * ci(qa): add gated Buzz live lane * docs(qa): document Buzz live testing * fix(buzz): keep QA relay type private * test(buzz): type QA suite mock * fix(buzz): preserve racing QA reply relations * fix(qa): harden Buzz credential redaction * fix(buzz): ignore retained QA relay events * fix(buzz): clean up observer setup failures * test(buzz): return complete racing messages * fix(buzz): default QA credentials to file * fix(qa): validate pooled Buzz secrets * fix(qa): redact structured Buzz auth tags * fix(buzz): preserve QA credential env override * fix(qa): redact inspected Buzz auth tags * test(buzz): limit live QA to supported scenarios * ci(qa): run Buzz lane in release checks * fix(qa): require secure remote Buzz relays * fix(qa): satisfy Buzz QA validation gates * fix(qa): inject credential leasing into transport adapters
* origin/main: fix(plugins): keep registry sqlite root consistent (openclaw#116427) fix(cli): keep Gateway auth failures parseable in JSON (openclaw#116597) fix(trajectory): preserve prompts in oversized events (openclaw#116220) test(buzz): add live QA Lab channel lane (openclaw#116298) chore(i18n): refresh native locales (openclaw#116567) feat: add OpenClaw TUI prototype skill (openclaw#116583) fix(update): accept concrete versions selected by ranges (openclaw#116585) fix(agents): preserve locked session model routes
…-supported-paths * origin/main: (168 commits) fix(plugins): keep registry sqlite root consistent (openclaw#116427) fix(cli): keep Gateway auth failures parseable in JSON (openclaw#116597) fix(trajectory): preserve prompts in oversized events (openclaw#116220) test(buzz): add live QA Lab channel lane (openclaw#116298) chore(i18n): refresh native locales (openclaw#116567) feat: add OpenClaw TUI prototype skill (openclaw#116583) fix(update): accept concrete versions selected by ranges (openclaw#116585) fix(agents): preserve locked session model routes test(qa-lab): preserve Matrix fault proxy identity fix(ci): extend OpenAI live profile setup budget (openclaw#116580) fix: prevent configured models from stalling startup (openclaw#116553) fix(cli): close MCP listener after one-shot commands fix(auto-reply): keep explicit NO_REPLY silent (openclaw#116548) test(discord): cover deferred backpressure terminals fix(discord): cancel backpressured realtime playback test(discord): cover realtime output backpressure fix(codex): add remote WebSocket heartbeat and reconnect (openclaw#116135) fix(macos): wait for the current reconnect snapshot (openclaw#116550) fix(outbound): recognize current-source message-tool sends (openclaw#116560) fix(voice-call): type cancelled consult outcomes ... # Conflicts: # extensions/google/setup-api.test.ts # ui/src/e2e/model-setup.e2e.test.ts
What Problem This Solves
OpenClaw's Buzz plugin had no repo-native live QA lane proving that a signed room message reaches the real channel plugin and that the plugin posts a correctly signed reply. Unit tests alone cannot prove relay connectivity, room mention gating, credential leasing, or evidence redaction.
Why This Change Was Made
qa buzzrunner through the existing QA registration seam.User Impact
Maintainers can run real Buzz channel canary and room mention-gating checks without using a human owner/admin key. Release checks select the same two supported scenarios through the shared credential pool. Normal Buzz and OpenClaw runtime behavior is unchanged.
Evidence
c5c7e70e8d9cd50d0a6dcf80b36e24944b00dafd.git diff --check: passed.mock-openai:channel-canaryandchannel-mention-gatingpassed 2/2 through the real Buzz plugin path.sha256:7866505316d0d4ed), namedHosted Buzz channel QA: dedicated driver and SUT; no auth tags; the old and temporary rows are disabled.qa-live-sharedcontainsOPENCLAW_QA_CONVEX_SITE_URLandOPENCLAW_QA_CONVEX_SECRET_CIby presence-only metadata inspection.wss://; plaintextws://remains available only for loopback development relays.