chore(sandbox): pin the box CLI to a build with `workspaces archive`

Closed
SA
1mo ago
+3-3

Summary

  • Rewrites the cli row in packages/sandbox/bundle/assets.json with bun run assets cli on current main: 1.35.0 → 1.38.0 (sha 94005180…).

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. The publish-bundle job only uploads assets it finds in the local cache, so before merging, someone with bucket credentials runs this on this branch:
    cd packages/sandbox && bun run assets cli && bun run build --publish
    
    If the rebuild hashes differently, commit the rewritten row.
  • After the merge, dispatch the Sandbox workflow's production-release to 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 --help lists archive, and ws delete --help resolves to workspaces archive.
  • bun test in packages/sandbox passes.
  • Not yet checked on a box. After the release: start a cloud workspace, then run superset --version and superset 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 --publish with 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.