Repository navigation
test(qa): cover gateway plugin approvals - #119128
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 4, 2026, 2:03 AM ET / 06:03 UTC. ClawSweeper reviewWhat this changesAdds a QA scenario and E2E test for a plugin approval request, reviewer delivery, pending wait, resolution, and cleanup over authenticated Gateway WebSockets. Merge readinessKeep open: this maintainer-owned QA PR adds complementary authenticated Gateway WebSocket coverage that current main lacks; no concrete correctness or security defect was found. Priority: P3 Review scores
Verification
How this fits togetherGateway plugin approvals accept a request from a plugin-facing client, retain it as pending, and route events to an authorized approval client. A reviewer’s decision then resolves the requester’s wait and removes the pending record. flowchart LR
A[Plugin-facing requester] --> B[Gateway approval request]
B --> C[Pending approval record]
C --> D[Authorized reviewer WebSocket]
D --> E[Terminal decision]
E --> F[Requester wait response]
E --> G[Pending inventory cleanup]
Decision needed
Why: The PR is labeled maintainer and therefore needs explicit maintainer handling despite having no review finding. Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +243, Other +28. Total +271 across 2 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Retain this focused real-Gateway lifecycle scenario and merge it once the exact head has completed required validation. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR adds coverage rather than repairing a reported bug; its body supplies a passing authenticated loopback Gateway scenario. Is this the best way to solve the issue? Yes: existing unit-level and exec-approval coverage does not exercise plugin-prefixed IDs and plugin approval event delivery across authenticated Gateway WebSockets. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 8ad2e06a9d7a. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
* 'main' of https://github.com/openclaw/openclaw: test(qa): cover sandboxed exec behavior (#119053) test(qa): prove shared-channel memory recall (#119111) fix(telegram): keep request deadlines through response bodies test(qa): cover gateway plugin approvals (#119128) fix(ai): keep OpenAI tool call id truncation UTF-16 safe (#110471) fix: preserve live updater failure diagnostics (#119096) fix: recover new-session models through Gateway startup (#119120) test(qa): cover instruction profile artifacts (#119078) fix(telegram): record automatic delivery message ids test(qa): cover memory promotion safety (#119093) test(qa): prove overflow compaction pruning (#119033) fix(tool-search): preserve deferred MCP failures (#118363) fix(macos): keep setup activation within app checks test(setup): type provider kind fixture fix(setup): complete prepared model activation fix(protocol): regenerate Swift wizard models fix(ollama): activate the model selected during setup fix(setup): preserve the prepared model handoff
* 'main' of https://github.com/openclaw/openclaw: test(qa): cover sandboxed exec behavior (openclaw#119053) test(qa): prove shared-channel memory recall (openclaw#119111) fix(telegram): keep request deadlines through response bodies test(qa): cover gateway plugin approvals (openclaw#119128) fix(ai): keep OpenAI tool call id truncation UTF-16 safe (openclaw#110471) fix: preserve live updater failure diagnostics (openclaw#119096) fix: recover new-session models through Gateway startup (openclaw#119120) test(qa): cover instruction profile artifacts (openclaw#119078) fix(telegram): record automatic delivery message ids test(qa): cover memory promotion safety (openclaw#119093) test(qa): prove overflow compaction pruning (openclaw#119033) fix(tool-search): preserve deferred MCP failures (openclaw#118363) fix(macos): keep setup activation within app checks test(setup): type provider kind fixture fix(setup): complete prepared model activation fix(protocol): regenerate Swift wizard models fix(ollama): activate the model selected during setup fix(setup): preserve the prepared model handoff
Summary
gateway-plugin-approvalsQA scenario with primary coverage forgateway.plugin-approvalsEvidence
{ "scenario": "gateway-plugin-approvals", "status": "pass", "coverage": "gateway.plugin-approvals", "environmentRef": "ed8d1e71d1a22de31529889258906eb6bf95c828", "providerMode": "mock-openai", "counts": { "total": 1, "passed": 1, "failed": 0, "skipped": 0 } }Scope