Files
openclaw/qa/scenarios/runtime/docker-update-channel-switch.yaml
T
2026-08-04 05:09:39 +08:00

33 lines
1.4 KiB
YAML

title: Docker update channel switch
scenario:
id: docker-update-channel-switch
surface: cli
category: cli.updates-and-upgrades
coverage:
primary:
- cli.install-kind-switching
- cli.update-channels
- cli.update-status-and-rpc
objective: Verify stable, beta, and dev channel selection, package-to-git and git-to-package switching, and machine-readable update status in Docker.
successCriteria:
- The package install resolves the exact candidate through a hermetic beta dist-tag fixture, persists beta, and remains a package install.
- The package install updates to a package-derived git dev fixture.
- The git install updates back to the package tarball.
- The beta, dev, and stable selections persist in canonical config.
- "`openclaw update status --json` reports the expected package, git, and package status after each switch."
docsRefs:
- docs/cli/update.md
- docs/install/updating.md
- docs/help/testing-updates-plugins.md
codeRefs:
- scripts/e2e/update-channel-switch-docker.sh
- scripts/e2e/lib/update-channel-switch/assertions.mjs
execution:
kind: script
path: test/e2e/qa-lab/runtime/docker-e2e-lane.ts
summary: Runs stable, beta, and dev update selections through the existing Docker E2E lane and records install-kind, persisted-channel, and update-status evidence.
args:
- --lane
- update-channel-switch