chore(sandbox): pin the box CLI to a build with `workspaces archive`
Closed
SA
1mo ago+3+3+0123456789-3-3-0123456789
Summary
- Rewrites the
clirow inpackages/sandbox/bundle/assets.jsonwithbun run assets clion current main: 1.35.0 → 1.38.0 (sha94005180…).
Why
#8267 made archive the main verb for superset workspaces (delete is kept as an alias) and shipped in CLI 1.37.0. The CLI asset only moves when someone re-runs the producer, though, so cloud boxes still run 1.35.0. That build only has workspaces delete. Normal workspaces are moving to archive soon too, so agents in boxes should see the same verb.
Rollout
- ⚠️ The asset is not in the CDN bucket yet. The cloud workspace that made this PR has no
CDN_R2_*credentials. Thepublish-bundlejob only uploads assets it finds in the local cache, so before merging, someone with bucket credentials runs this on this branch:
If the rebuild hashes differently, commit the rewritten row.cd packages/sandbox && bun run assets cli && bun run build --publish - After the merge, dispatch the Sandbox workflow's
production-releaseto push the image, the golden, and the environment rows.
Testing
- The row comes from the producer. Nobody edited it by hand.
- The built binary reports
1.38.0.ws --helplistsarchive, andws delete --helpresolves toworkspaces archive. bun testinpackages/sandboxpasses.- Not yet checked on a box. After the release: start a cloud workspace, then run
superset --versionandsuperset ws archive --help.
Summary by cubic
Boxes ran the 1.35.0 CLI, which predates the rename of workspaces delete to workspaces archive (#8267). This pins the box CLI asset to 1.38.0 so agents see the new verb.
Rollout
- The asset isn't in the CDN bucket yet; run
cd packages/sandbox && bun run assets cli && bun run build --publishwith bucket credentials before merging, and commit any hash changes. - After merging, dispatch the Sandbox workflow's
production-release.
Summary by CodeRabbit
- Chores
- Updated the bundled Superset asset to version 1.38.0.