Repository navigation
Add experimental tiger branch commands - #269
Open
nathanjcochran wants to merge 1 commit into
Open
nathanjcochran wants to merge 1 commit into
nathanjcochran wants to merge 1 commit into
Conversation
Behind the experimental gate, tiger branch creates, lists, gets, deletes, starts, stops, resizes, renames, and updates the password of branches of fluid services. tiger service branch is the same command as branch create. Branch refs (ID or name) resolve through the API's resolve endpoint, restricted to branches. Waiting on a branch shares the service wait loop, and branch passwords are stored and reset through the same helpers as a service's.
nathanjcochran
added this pull request to stack #273
October 21, 2026 22:07
nathanjcochran
marked this pull request as ready for review
October 21, 2026 22:20
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.
Adds
tiger branch, behindTIGER_EXPERIMENTAL, for managing branches of fluid services. It hascreate,list,get,delete,start/resume,stop/pause,resize,rename, andupdate-password.tiger service branchis the same command astiger branch create.It's built on the API's service-nested branch endpoints and its new resolve endpoint. Neither is deployed yet, so this has only been tested against mocks.
service_idonly ever holds a service ID.createandlisttake a service, falling back to the default service.tiger servicecommands. CPU/memory are checked against the fluid combinations,--iopsworks as on the service commands, and the output shows the parent service's name with its ID.createsaves the branch's initial password the wayservice createdoes.update-passwordsets it through the branch endpoint, using the same helpers as the service command.read_only=prodallows branch operations, even on branches of a PROD service, andallblocks them.WaitForBranch).createends with "Connect with: tiger db psql ". Thedbcommands accept branches from the next PR in the stack.Follow-ups:
branch logs. The API has no branch logs endpoint yet.prepareBranchForOutput).