Repository navigation
test(qa): cover CLI distribution workflows - #118948
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 3, 2026, 5:06 PM ET / 21:06 UTC. ClawSweeper reviewWhat this changesAdds QA Lab scenarios and Docker regression coverage for OpenClaw’s launcher, hosted and source installers, npm/pnpm/Bun global installs, and stable/beta/dev update-channel selection. Merge readiness✅ Ready for maintainer review Keep this maintainer-authored QA PR open. Current main does not contain its commit, and the branch adds a coherent execution path that validates real CLI distribution boundaries rather than only metadata; source inspection found no discrete patch defect. Priority: P3 Review scores
Verification
How this fits togetherQA Lab turns declared product scenarios into scheduled Docker lanes that exercise packaged OpenClaw artifacts. These lanes validate the operator-facing flowchart LR
A[Packaged OpenClaw artifact] --> B[Docker distribution lanes]
C[Installer and update scripts] --> B
B --> D[PATH-resolved openclaw command]
D --> E[QA Lab scenarios]
E --> F[Recorded distribution evidence]
F --> G[Release and regression checks]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +116, Config +1, Other +442. Total +559 across 20 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Technical reviewBest possible solution: Land the focused QA coverage after normal maintainer review so supported distribution routes continue to prove the installed CLI and persisted update-channel behavior through their owning Docker harnesses. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR adds regression coverage rather than repairing a user-reported failure. The supplied evidence identifies real packaged Docker flows that the new coverage executes. Is this the best way to solve the issue? Yes. The branch attaches checks to the existing QA Lab and Docker lane owners, exercising installed artifacts and the PATH-resolved CLI instead of introducing a parallel distribution harness. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 76cc60a452dc. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
* origin/main: test(ui): add shell and PWA primary QA proof (#118788) test(qa): cover CLI distribution workflows (#118948) chore(i18n): refresh native locales (#118883) test(qa): prove plugin tool ownership in gateway flow (#118958) docs: correct onboarding risk flags and Google Chat credential shapes (#118936) fix(imessage): honor explicitly enabled accounts during startup (#118944) test(gateway): cover client transport defaults (#118798) fix(signal): normalize accounts during noninteractive setup (#118932) fix(msteams): enable channels for federated environment credentials (#118931) fix(openai): enforce final transcript bounds before callback delivery (#118928) test(tasks): cover plugin-managed flows (#118919) # Conflicts: # qa/scenarios/runtime/docker-package-install.yaml
…-worker-update-20260803 * origin/main: (48 commits) test(ui): add shell and PWA primary QA proof (#118788) test(qa): cover CLI distribution workflows (#118948) chore(i18n): refresh native locales (#118883) test(qa): prove plugin tool ownership in gateway flow (#118958) docs: correct onboarding risk flags and Google Chat credential shapes (#118936) fix(imessage): honor explicitly enabled accounts during startup (#118944) test(gateway): cover client transport defaults (#118798) fix(signal): normalize accounts during noninteractive setup (#118932) fix(msteams): enable channels for federated environment credentials (#118931) fix(openai): enforce final transcript bounds before callback delivery (#118928) test(tasks): cover plugin-managed flows (#118919) test(agents): prove process control roundtrip (#118843) test(qa): add memory redaction boundary coverage (#118916) fix(kilocode): model discovery overstates the usable context window (#118868) fix(media): isolate generated-provider text from delivery directives (#118780) test(gateway): add node control-plane QA coverage (#118784) fix(config): reject unsupported diagnostics otel grpc (#93087) fix(providers): recognize configured media credentials across provider boundaries (#118761) refactor: delete dead post-landing plugin/hooks scaffolding (#118920) fix(cron): deliver child results after heartbeat-only parent responses (#118743) ...
What Problem This Solves
Resolves a coverage gap where CLI distribution checks could pass without proving the installed
openclawentrypoint, package-manager-specific global installs, source-checkout installation, or dist-tag-driven update behavior through the operator-facing command.Why This Change Was Made
Adds canonical QA Lab scenarios and Docker proof lanes for the CLI launcher, hosted and source installers, npm/pnpm/Bun package artifacts, supported Node runtime, local-prefix installs, and stable/beta/dev update channels. The harness records the authoritative install path, package version, and update result at each boundary instead of inferring success from build completion.
Native Windows
install.ps1remains a non-goal: this change does not promote that surface without an exact candidate artifact and execution proof.User Impact
No production runtime behavior changes. Maintainers gain repeatable regression proof that supported CLI distribution routes produce a working PATH-resolved command and that update channels select the intended package version.
Evidence
cli-launcher-runtime: passed in Crabbox runrun_0d329e51034d.cli-installer-distribution: passed in Crabbox runrun_8249b9136da5.docker-package-install: npm, pnpm, and Bun artifact installs passed in Crabbox runrun_ab39619475b8.docker-update-channel-switch: stable, beta dist-tag, and dev flows passed in Crabbox runrun_8fb463079d59.run_63bdfd9ae8b8: formatting, typecheck, lint, SDK/plugin boundaries, script declarations, dependency guards, and import-cycle checks.git diff --checkpassed.Repair Notes
scripts/e2eDocker distribution harnesses.0. QA scenarios, test harnesses, and tests:+608/-49.Change Management