GTI doesn’t seem to play nicely with frozen stacks
# report-bugs
t
GTI doesn’t seem to play nicely with frozen stacks
p
(If applicable) To help us repro, please send the following if you haven't already: - PR links, screenshots, and/or debug output if applicable - Repro steps - Does this happen consistently? Just to you or others on your team also? - Is this a regression? Is the problem new? - If you're having an issue with the CLI, please send us debug logs using
gt feedback --with-debug-context <any message>
Hey Tyler! Mind sharing more details so we can potentially investigate? 😅
t
I did
gt get
in two different cases: • My own PR from another checkout of the repo • A teammate’s PR In both cases, the buttons in GTI stopped working, while the CLI commands continued to work as expected. After I did
gt unfreeze
on all the PRs in the stack, GTI was working again.
c
To add onto this (as I am the teammate), once he stacked on top of mine, I could see his stack by running
gt sync
, but I was "stuck" on an old version of the code. So even though he fixed the PR and fixed the merge conflicts (which is why he stacked in the first place), my local graphite only saw an older copy that had merge conflicts until I ran
gt unfreeze
and
gt sync
👍 1
I can respect the spirit of
freeze
, but I would assume we shoudl be able to see the changes the other developer made, and just we can't touch their PR
➕ 1
p
Thanks for flagging all! We'll take a closer look 👀
Hey Tyler & Christopher, I tried to reproduce both these things and could not =/. Re: GTI issue, I ran
gt get
on a stack from a another user and the plugin buttons are working fine to switch between branches, sync and restack. Is there a specific button thats not working for you? do you see an indication that you are on the button is clickable? Re: the sync issue. Im a bit confused at the flow here if you could provide some clarity on this as well. you mention you ran
gt sync
 and were able to "see his stack". If he stacked a PR on top of yours, then i would only expect you to see his if you ran
gt get
 with his branch name. Maybe he unfroze your branch, ran modify, then submit? Any direction appreciated 🙏
t
The green PR link buttons were gone entirely for me on two of the PRs, and neither of the Restack buttons did anything when clicked
c
I did in fact use
get
(though i did it via the VSC Graphite plugin, not CLI) to get the rest of his stack on top of mine. It was frozen until I ran
gt unfreeze
via coammand line