Rohit Gupta
06/16/2025, 4:42 PMJon Stelly
06/16/2025, 8:40 PMgt get
or gt sync
to resolve, nothing is resolved, my local change is not pushed, stuck in circle
2 questions I guess:
• how can I avoid getting into this state (understand the remote changes thing will happen, but this endless loop / circle is what I'd like to avoid, curious if there's some specific process/flow that's causing it?)
• more pressingly, what's the best safe path to resolve? I don't think the --force
option is super risky in this case since coworker and I are working on different areas, but is that the best way forward?
zsh: ~/code/my-project> gt submit --stack
🥞 Validating that this Graphite stack is ready to submit...
ERROR: Branch feature/my-feature has been updated remotely. Use gt get or gt sync to sync with remote before submitting (or use the --force flag to override this check).
zsh: ~/code/my-project> gt get
🌲 Fetching branches from remote...
Running git fetch: [========================================] 100% | Done
main is up to date.
🔄 Syncing branches...
Branch feature/my-feature is up to date with remote (PR #4846 v29).
🥞 Restacking branches...
feature/my-feature does not need to be restacked on main.
Already on feature/my-feature.
zsh: ~/code/my-project> gt submit --stack
🥞 Validating that this Graphite stack is ready to submit...
ERROR: Branch feature/my-feature has been updated remotely. Use gt get or gt sync to sync with remote before submitting (or use the --force flag to override this check).
EDIT: Just submitted CLI feedback named jon-stelly-bug-report
. Let me know if you need more info, not sure if the cli debug log is enoughMatt Arsenault
06/17/2025, 3:27 AMPrateek Jain
06/17/2025, 7:38 AMRikki Prince
06/17/2025, 3:30 PMEvan Williams
06/17/2025, 5:25 PMNicolas Quiroz
06/17/2025, 7:35 PMIsabella Hochschild
06/17/2025, 7:40 PM📨Creating/updating PRs...
ERROR: Failed to submit PR for 06-17-reorganize_repo:
and:GitHub returned an error: Pull request not found
ERROR: Error response trying to pre-submit PRs: 500
Instatus
06/17/2025, 7:40 PMInstatus
06/17/2025, 8:16 PMInstatus
06/17/2025, 10:01 PMInstatus
06/17/2025, 10:18 PMInstatus
06/17/2025, 10:42 PMNick Good
06/18/2025, 7:22 PMNathaniel Waisbrot
06/18/2025, 8:42 PMNicolas Gallinal
06/19/2025, 9:41 PMBilal Quadri
06/19/2025, 10:40 PMChanpory Rith
06/20/2025, 12:21 AMJoe Cardali
06/20/2025, 1:43 PMTyler Nieman
06/20/2025, 5:01 PMAlex Du
06/21/2025, 1:18 AMRun dorny/paths-filter@v2
...
Get current git ref
/usr/bin/git branch --show-current
graphite-base/2837
Changes will be detected between main and graphite-base/2837
Searching for merge-base main...graphite-base/2837
/usr/bin/git show-ref main
/usr/bin/git show-ref graphite-base/2837
<COMMIT_SHA> refs/heads/graphite-base/2837
<COMMIT_SHA> refs/remotes/origin/graphite-base/2837
/usr/bin/git fetch --no-tags --depth=100 origin main graphite-base/2837
fatal: couldn't find remote ref graphite-base/2837
https://graphite-community.slack.com/archives/C02DRNRA9RA/p1746037355585019Miko Boc
06/23/2025, 11:22 AMJohn Colvin
06/23/2025, 1:27 PMGuilherme Mendel
06/25/2025, 3:20 PMManuel Werlberger
06/25/2025, 7:21 PMMau
06/25/2025, 10:43 PMTyler Laprade
06/26/2025, 4:50 AMIlya Kogan
06/26/2025, 9:05 AMLuda Zhao
06/26/2025, 4:05 PMGuillermo Siliceo
06/26/2025, 7:22 PMmaster
) and will make the CI fail due to this.
This became an issue after we moved to a Mono repo and we saw our cache entries grow larger and larger.
Any plans to change the way this works, or suggested work arounds?