Repository navigation
test(qa): cover status and health observability - #118961
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 3, 2026, 6:16 PM ET / 22:16 UTC. ClawSweeper reviewWhat this changesAdds three QA scenarios and test-only producers for channel-health monitoring, cached Gateway health responses, and account-level health/status reload behavior. Merge readinessNo blocking correctness or security finding was found. This active, maintainer-authored PR adds distinct QA ownership for current Gateway health and channel-monitor behavior; it should remain open for normal maintainer merge review. Priority: P3 Review scores
Verification
How this fits togetherQA Lab scenarios invoke test producers that exercise the Gateway’s health/status paths and the channel-health monitor. The producers emit evidence artifacts that guard operational observability behavior without altering runtime code. flowchart LR
A[QA scenario definitions] --> B[Test-only producers]
B --> C[Gateway health and status]
B --> D[Channel health monitor]
C --> E[QA evidence artifacts]
D --> E
E --> F[Regression coverage]
Decision needed
Why: The PR is member-authored and carries the protected maintainer label, so final merge acceptance remains a maintainer decision despite a clean source review. Before merge
Agent review detailsSecurityNone. PR surfaceTests +1158, Other +93. Total +1251 across 9 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Preserve the three public-facade QA scenarios as regression ownership for the existing health and monitor contracts, then merge once the current-base result is validated. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR adds regression coverage rather than reporting a user-facing failure. Is this the best way to solve the issue? Yes. Current production already has focused unit coverage; these producers add the missing QA-level ownership through the public QA facade and real Gateway boundaries. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 0483ca712bd5. LabelsLabel 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
HistoryReview history (3 earlier review cycles)
|
69dfa12 to
54dd88e
Compare
54dd88e to
d4c7cd8
Compare
d4c7cd8 to
b8fb4e9
Compare
…r-admin-20260803 * origin/main: (89 commits) fix(googlechat): align doctor policy ownership with canonical account configuration (#118972) test(tui): prove editor input through PTY (#118982) fix(memory): persist trusted owner provenance at canonical transcript boundary (#118987) test(qa): cover health monitor and cache boundaries (#118961) fix(macos): restore dashboard frame double-click zoom (#118976) fix(googlechat): recover durable lanes after oversized attachments (#118986) test(qa): cover runtime telemetry evidence (#118950) fix(gateway): resolve SQLite usage details (#118918) test(cron): cover durable scheduler state (#118981) test(gateway): cover node exec approval relay (#118825) test(qa): add Active Memory recall coverage (#118963) test(qa): promote package-backed Docker artifact proof (#118826) test(qa): cover diagnostic event boundary (#118844) test(gateway): cover WebSocket runtime contracts (#118797) fix(signal): drain accepted websocket messages before shutdown (#118975) fix(plugins): remove stale load paths during uninstall (#118930) test(qa): cover bundled runtime discovery (#118922) chore(clawhub): cover plugin release policy contracts (#118971) test(qa): cover support export and stability (#118956) fix(feishu): enforce exact signed webhook request boundaries (#118758) ...
…ansports-20260803 * origin/main: (120 commits) test(ui): add service-worker update primary QA proof (#118805) test(qa): cover CLI onboarding and plugin install sources (#118882) test(qa): cover remote logging boundaries (#118951) fix(sms): retry transient MMS failures before durable adoption (#118994) test(qa): cover video generation invocation (#118864) test(qa): cover media reference intake (#118858) test(qa): cover image generation task lifecycle (#118915) feat(sms): track Twilio delivery status (#118665) test(tasks): cover TaskFlow registry lifecycle (#118983) test(gateway): verify SSH tunnel fallback (#118818) fix(security): harden network tool output at canonical owner boundaries (#118984) fix(googlechat): align doctor policy ownership with canonical account configuration (#118972) test(tui): prove editor input through PTY (#118982) fix(memory): persist trusted owner provenance at canonical transcript boundary (#118987) test(qa): cover health monitor and cache boundaries (#118961) fix(macos): restore dashboard frame double-click zoom (#118976) fix(googlechat): recover durable lanes after oversized attachments (#118986) test(qa): cover runtime telemetry evidence (#118950) fix(gateway): resolve SQLite usage details (#118918) test(cron): cover durable scheduler state (#118981) ...
What Problem This Solves
The observability scorecard lacked executable QA ownership for nine production status and health behaviors: monitor lifecycle, authenticated Gateway health/status RPCs, account enable/disable reloads, and cached health snapshot boundaries.
Why This Change Was Made
Adds three isolated QA scenarios and test-only producers. They exercise the production monitor and health handler directly, then use the public QA Lab facade for the real CLI Gateway crossings needed by account reload and plugin-tool coexistence.
No production, SDK, taxonomy, status, health, monitor, or QA Lab implementation code changes.
User Impact
No runtime behavior changes. Maintainers gain regression evidence for:
Production LOC delta:
0. Test/QA delta:+1251across 9 files.Evidence
Final head:
b8fb4e9339a692f9ac2f2a814d673bc4c3f023b0Local focused proof:
oxfmt --check: 9 files passedgit diff --check: passedBlacksmith Testbox exact-head proof:
OPENCLAW_QA_REAL_GATEWAY=1: 3 passed, 0 failed, 0 skippedb8fb4e9339a692f9ac2f2a814d673bc4c3f023b0pnpm check:changed: passed in 9m59s, including typecheck, lint, plugin boundaries, formatting, and runtime import-cycle checksArtifacts:
.artifacts/qa-e2e/status-health-final-20260803/qa-suite-summary.json.artifacts/qa-e2e/status-health-final-20260803/qa-evidence.json.artifacts/qa-e2e/status-health-final-20260803/qa-suite-report.mdThe normal Gateway response wire intentionally omits handler logging metadata, so exact
{ cached: true }evidence is captured at the production health-handler response boundary while real authenticated RPC proves payload and plugin-tool behavior.Review Follow-Through
extensions/qa-lab/api.jsfacade