Alejandro Abdelnur
10/14/2025, 7:10 PMgt sync to get latest version of some PRs, not submitting anything.
I cannot figure out what makes a local PR to freeze.
Is this a bug or a changed behavior?Pylon
10/14/2025, 7:10 PMgt feedback --with-debug-context <any message>Pylon
10/14/2025, 7:20 PMAlejandro Abdelnur
10/14/2025, 7:36 PMgt sync with no local changes. it is kind of confusing.Pylon
10/14/2025, 7:39 PMAlejandro Abdelnur
10/14/2025, 7:42 PMAlejandro Abdelnur
10/14/2025, 7:43 PMgt checkout or gt getPylon
10/14/2025, 7:48 PMAlejandro Abdelnur
10/14/2025, 7:53 PMgt checkout #PR or gt get #PR
• I'm not modifying anything
• After a while I'm doing a gt sync to get updates to the #PR I have locally, potentially on top of a new main.
• The local #PRs get frozen, main underneath does not update anymore
• As i'm not editing that repo, only doing read-only stuff I'm not expecting the PRs I have locally to get any conflict or to go 'frozen'.
We got bitten a few times by that, that we don't see the new changes on main because the #PRs got frozen.Alejandro Abdelnur
10/14/2025, 7:55 PMIn gt version 1.7.0, the concept of "frozen" branches was introduced. A "frozen" branch will still be kept up to date with remote changes when it is synced, but will block local changes being made to it.
This is not what is happening, we don't have any local changes, they get frozen, on sync main does not update to the latest main.Pylon
10/14/2025, 8:29 PMDimas Cabré i Chacón
10/14/2025, 8:56 PMPylon
10/14/2025, 8:57 PMDimas Cabré i Chacón
10/14/2025, 8:58 PMDimas Cabré i Chacón
10/14/2025, 8:59 PMDimas Cabré i Chacón
10/14/2025, 9:00 PMPylon
10/14/2025, 9:04 PMAlejandro Abdelnur
10/14/2025, 9:08 PMAlejandro Abdelnur
10/14/2025, 9:09 PMAlejandro Abdelnur
10/14/2025, 9:10 PMPylon
10/14/2025, 10:05 PMgt ls actually does show which branches are frozenDimas Cabré i Chacón
10/14/2025, 10:08 PMPylon
10/14/2025, 10:12 PMgt sync to work properly. Will bring it up to the CLI teamPylon
10/14/2025, 10:12 PMAlejandro Abdelnur
10/14/2025, 10:13 PMDimas Cabré i Chacón
10/14/2025, 10:13 PMPylon
10/15/2025, 3:10 PMbe kept up to date with remote changes when it is synced which in this case means, remote changes to the branch (not the repository). Since the author of the branches C+D did not restack and submit to remote, those branches themselves are not pointing to the latest main after branch A had been merged.
So, the author of the branches needs to restack and submit for gt sync to update frozen branches, OR you can unfreeze when you see the Did not restack branch .... because It 1s frozen warning. Hope this helps.Alejandro Abdelnur
10/16/2025, 8:49 AMgt sync before doing a gt submit (got bitten by not doing that in the past because sometimes would be the equivalent of a git push --force )
What is happening to us is...
• User U1 is working on repo R1 doing gt sync & gt submit, there may be multiple PRs on top of main or a single stack of PRs (it seems it does not matter).
• User U2 is reading repo R1 doing gt get or gt checkout to get PRs and gt sync to sync PRs already in local.
• U1 submits PRs to R1, when U2 does a gt sync some of the PRs, still not submitted get frozen.
Brett, is this the expected behavior?Pylon
10/16/2025, 1:59 PMAlejandro Abdelnur
10/16/2025, 5:20 PMPylon
10/16/2025, 6:02 PMDimas Cabré i Chacón
10/16/2025, 6:05 PMPylon
10/16/2025, 6:07 PMDimas Cabré i Chacón
10/16/2025, 6:08 PMDimas Cabré i Chacón
10/16/2025, 6:10 PMAlejandro Abdelnur
10/23/2025, 4:30 AMPylon
10/23/2025, 1:03 PM--unfrozen option?Dimas Cabré i Chacón
10/23/2025, 1:06 PM