Repository navigation
fix(qa): explain missing async capture support on older hosts - #159277
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed September 26, 2026, 9:14 PM ET / September 27, 2026, 01:14 UTC (Revision 2). ClawSweeper reviewWhat this changesThe branch makes QA Lab capture and Slack QA check for missing asynchronous host capture APIs when work starts, and adds tests and operator guidance for that behavior. Merge readiness⛔ Blocked before merge - 1 item remains This PR remains useful because current main still has the missing-export failure. The revised guidance resolves the previous review finding, and this review found no new blocking defect. Priority: P2 Review scores
Verification
How this fits togetherQA Lab is OpenClaw's developer testing plugin. It receives capture capabilities from the host SDK and uses them to serve lab capture requests and collect Slack QA evidence. flowchart LR
A[Host capture SDK] --> B[Lab capture request]
A --> C[Slack adapter startup]
B --> D[Async support check]
C --> D
D --> E[Capture evidence]
D --> F[Upgrade guidance]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +10, Tests +33, Docs +15. Total +58 across 6 files. View PR surface stats
Review metricsNone. Stored data modelPersistent data-model change detected: Technical reviewBest possible solution: Keep the capability checks at capture admission and Slack adapter startup, with operator guidance that recommends a matching source checkout until the full QA CLI supports older packaged hosts. Do we have a high-confidence way to reproduce the issue? Yes, at the source level: current main statically imports operations absent from the published 2026.9.6 SDK. This read-only review did not execute the reported installed-host reproduction. Is this the best way to solve the issue? Yes, for the capture boundary. The guards preserve asynchronous worker-backed capture and make missing host support fail with useful guidance; the separate whole-CLI import limitation is disclosed. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 768b28c060fa. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
@clawsweeper re-review Addressed the P2 wording finding in both operator pages and the PR impact statement. The docs now recommend a matching current source checkout, state that capture checks apply after the lab or adapter loads, and explicitly describe the earlier |
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: fix(qa): explain missing async capture support on older hosts This is item 3/3 in the current shard. Shard 14/74. This temporary status tracks the active review worker. The completed review will appear in the durable ClawSweeper review comment. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
|
🦞👀 Re-review progress:
|
|
Merged via squash.
|
…aw#159277) * fix(qa): explain missing async capture support on older hosts * docs(qa): qualify older-host capture guidance
What Problem This Solves
Fixes QA capture module loading failures on supported older OpenClaw hosts that do not export async proxy capture operations. Related: #158848.
User Impact
The capture modules can now load when the async capture exports are absent, then refuse required operations with upgrade guidance. Slack adapter creation refuses before loading its transport runtime, acquiring credentials, or contacting Slack. This fixes the capture-export boundary only: the current QA CLI still fails earlier on published 2026.9.6 because other required SDK imports, including
sqlite-runtime-testing, are unavailable. Run QA from a matching current source checkout. No host compatibility floor changes or synchronous SQLite fallback are introduced.Why This Change Was Made
The QA plugin declares OpenClaw compatibility from 2026.9.4, but the published 2026.9.6 SDK lacks the two new async capture exports. Namespace access lets the existing capture owners validate the required capability when work is admitted, instead of failing ESM module linking. Existing accepted-operation draining, capture lease release, and Slack cleanup stay unchanged.
Evidence
pnpm buildpassed (16m26s cold build); fresh independent P2 autoreview was clean.The published-host proof covers the changed capture boundaries. Whole QA plugin import on 2026.9.6 separately encounters the pre-existing missing
sqlite-runtime-testingSDK subpath; this PR does not claim full-plugin compatibility. No live Slack messages were sent.