Skip to content

feat(cluster): default to platform-bundle + add cluster reset#68

Merged
hbrombeer merged 1 commit into
mainfrom
feat/cluster-reset-and-bundle-default
Jul 1, 2026
Merged

feat(cluster): default to platform-bundle + add cluster reset#68
hbrombeer merged 1 commit into
mainfrom
feat/cluster-reset-and-bundle-default

Conversation

@hbrombeer

Copy link
Copy Markdown
Member

Two workspace-UX changes.

1. platform-bundle is the default profile

A bare grounds cluster up now provisions a platform-bundle workspace at bundle ref
main — no more --bundle=platform-bundle (that ref never existed → the 404 lusu007 hit).

  • up --bundle=<ref> / --override=<file> still drive bundle mode.
  • Legacy profiles are opt-in: up --profile=minigame (sandbox) / up --profile=platform (bare vCluster).
  • loadBundleRequest defaults a missing ref to main instead of erroring.

2. grounds cluster reset

Wipes a platform-bundle workspace back to a clean bundle base (services + lobby + velocity +
infra), discarding pushed apps and any drift. Backs the new forge POST /v1/cluster/reset
(groundsgg/grounds-forge#402): forge tears down the vCluster namespace and re-provisions from
the bundle ref with no overrides, holding the row at creating so this polls the same
creating→active progress as up.

Destructive → type-the-namespace confirm (like delete); non-interactive requires
--yes <namespace>. Optional --bundle=<ref> picks the ref to reset to.

Tests: loadBundleRequest default-to-main (bare + override-without-ref); ClusterReset API
(request body + omitempty). Build + vet + full suite green. Depends on grounds-forge#402.

🤖 Generated with Claude Code

Two workspace-UX changes:

1. platform-bundle is now the default profile. A bare `grounds cluster up`
   provisions a platform-bundle workspace at bundle ref `main` — no
   `--bundle=platform-bundle` needed (that ref never existed and 404'd).
   `--bundle=<ref>`/`--override` still drive bundle mode; the legacy
   sandbox/vCluster profiles are opt-in via `--profile=minigame|platform`.
   loadBundleRequest defaults a missing ref to `main` instead of erroring.

2. `grounds cluster reset` wipes a platform-bundle workspace back to a clean
   bundle base (services + lobby + velocity + infra), discarding pushed apps
   and drift. It POSTs /v1/cluster/reset and polls the same creating→active
   progress as `up`. Destructive → confirm prompt (type-the-namespace, like
   delete); non-interactive requires --yes <namespace>. Optional --bundle
   picks the ref to reset to.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0129qbiq4BUpaLZao8BHB6UJ
@hbrombeer hbrombeer merged commit 35f4e81 into main Jul 1, 2026
5 checks passed
@hbrombeer hbrombeer deleted the feat/cluster-reset-and-bundle-default branch July 1, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant