Conversation
Adds the `pscale branch infra` command for viewing branch infrastructure details. Depends on BranchInfrastructure service being added to planetscale-go. Signed-off-by: Nick Van Wiggeren <nick@planetscale.com>
b60d694 to
64dc557
Compare
Bumps planetscale-go to pick up the new BranchInfrastructure service and registers InfraCmd in the branch command group.
64dc557 to
5666a43
Compare
joshmgross
approved these changes
Mar 3, 2026
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.
Summary
Adds
pscale branch infra <database> <branch>to display the live infrastructure (pods) for a database branch, including component type, status, readiness, cell, keyspace/shard, and tablet type.Depends on planetscale-go#290.
Changes
internal/cmd/branch/infra.go— new hiddenInfraCmdimplementing the branch infrastructure displayinternal/cmd/branch/branch.go— registerInfraCmdin the branch command groupgo.mod/go.sum— bumpplanetscale-goto v0.152.0