feat(cluster): default to platform-bundle + add cluster reset#68
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two workspace-UX changes.
1. platform-bundle is the default profile
A bare
grounds cluster upnow provisions a platform-bundle workspace at bundle refmain— no more--bundle=platform-bundle(that ref never existed → the 404 lusu007 hit).up --bundle=<ref>/--override=<file>still drive bundle mode.up --profile=minigame(sandbox) /up --profile=platform(bare vCluster).loadBundleRequestdefaults a missing ref tomaininstead of erroring.2.
grounds cluster resetWipes 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
creatingso this polls the samecreating→activeprogress asup.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