integration: submit tip downstacks alongside the integration branch#1254
Open
ed-irl wants to merge 3 commits into
Open
integration: submit tip downstacks alongside the integration branch#1254ed-irl wants to merge 3 commits into
ed-irl wants to merge 3 commits into
Conversation
This was referenced Jun 12, 2026
Collaborator
Author
This was referenced Jun 12, 2026
Open
1c9f8de to
1128e43
Compare
dc1dd02 to
b0668b4
Compare
1128e43 to
7474ad2
Compare
b0668b4 to
784a6ab
Compare
'gs integration submit' previously only force-pushed the integration branch. Since the integration branch is the union of its configured tips, publishing it implies publishing those tips. Otherwise users had to remember to separately submit each tip stack — easy to forget when gs ints is meant to be the one-shot "publish the integration" command. For each configured tip, walk its downstack (trunk-exclusive, dedup'd), then run SubmitBatch in trunk-first topological order so bases are pushed before the branches that depend on them. After the tip-stack batch completes, push the integration branch itself with its existing force-with-lease semantics. All the standard submit flags now apply to gs ints (--fill, --no-publish, --update-only, etc.), so users can keep the previous "push the branch only" behavior with --no-publish if desired.
2b559fb to
7090d21
Compare
6e42b20 to
1df251c
Compare
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.
'gs integration submit' previously only force-pushed the integration
branch. Since the integration branch is the union of its configured
tips, publishing it implies publishing those tips. Otherwise users had
to remember to separately submit each tip stack — easy to forget when
gs ints is meant to be the one-shot "publish the integration" command.
For each configured tip, walk its downstack (trunk-exclusive,
dedup'd), then run SubmitBatch in trunk-first topological order so
bases are pushed before the branches that depend on them. After the
tip-stack batch completes, push the integration branch itself with
its existing force-with-lease semantics.
All the standard submit flags now apply to gs ints (--fill,
--no-publish, --update-only, etc.), so users can keep the previous
"push the branch only" behavior with --no-publish if desired.