Skip to content

Add branch infra command#1205

Merged
nickvanw merged 2 commits intomainfrom
nick/branch-infra
Mar 3, 2026
Merged

Add branch infra command#1205
nickvanw merged 2 commits intomainfrom
nick/branch-infra

Conversation

@nickvanw
Copy link
Contributor

@nickvanw nickvanw commented Mar 3, 2026

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 hidden InfraCmd implementing the branch infrastructure display
  • internal/cmd/branch/branch.go — register InfraCmd in the branch command group
  • go.mod / go.sum — bump planetscale-go to v0.152.0

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>
@nickvanw nickvanw force-pushed the nick/branch-infra branch 2 times, most recently from b60d694 to 64dc557 Compare March 3, 2026 20:58
Bumps planetscale-go to pick up the new BranchInfrastructure service
and registers InfraCmd in the branch command group.
@nickvanw nickvanw force-pushed the nick/branch-infra branch from 64dc557 to 5666a43 Compare March 3, 2026 21:00
@nickvanw nickvanw marked this pull request as ready for review March 3, 2026 21:00
@nickvanw nickvanw requested a review from a team as a code owner March 3, 2026 21:00
@nickvanw nickvanw merged commit 4c2a954 into main Mar 3, 2026
2 checks passed
@nickvanw nickvanw deleted the nick/branch-infra branch March 3, 2026 21:12
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.

2 participants