Bryan Clark
10/10/2025, 5:22 PMgt submit to ignore if the main branch is behind origin/main? It's not usually relevant to me creating a PR.
Steps to repro:
1. let origin/main get ahead of your local main by a commit or two.
2. click the "submit cloud" button in VSCode extension.
3. See Aborting submit due to out of date trunk branchPylon
10/10/2025, 5:22 PMBryan Clark
10/10/2025, 5:24 PMPylon
10/10/2025, 6:42 PMgt submit from the CLI?Bryan Clark
10/10/2025, 6:48 PMbryan@bc-ft-laptop app % gt submit
š„ Validating that this Graphite stack is ready to submit...
Trunk branch (main) is behind its upstream branch. Please run gt sync to update.
Failure to update could result in incorrect metadata being used to submit PRs.
? Continue with this submit operation? āŗ (y/N)Pylon
10/10/2025, 7:52 PMy? or after y you hit error? im wondering if this is just a gap in interactive the handling via the extension or something elseBryan Clark
10/10/2025, 7:53 PMy like you mention - but in the interactive tool, it just throws the error you see in the first screeenshot.
Been using Graphite for a long time and hadn't seen this error until getting Graphite set up at my new job this week - so I figure it's either a regression in Graphite's tooling or a configuration setting I need to tweak in our repo?Pylon
10/10/2025, 8:02 PMTopher Brown
10/28/2025, 9:57 PMgt submit actionsTopher Brown
10/28/2025, 9:58 PMBryan Clark
10/28/2025, 10:09 PMPylon
11/05/2025, 3:35 PMTopher Brown
11/05/2025, 3:45 PMTopher Brown
11/05/2025, 3:47 PMTopher Brown
11/05/2025, 3:48 PM--ignore-out-of-sync-trunk to my alias solves the issue šBryan Clark
11/05/2025, 5:56 PMsubmit submit --ignore-out-of-sync-trunk
to my gt aliases and now the VSCode extension doesn't require that the main branch be up-to-date in my repo when I click. So much nicer!