Anton
04/25/2025, 8:10 AMgraphite-base/[n]. When does this happen? It sometimes breaks gt get afterwards, because the CLI will error that the PR has not been created with Graphite. People are on the latest CLI version.Pylon
04/25/2025, 8:10 AMgt feedback --with-debug-context <any message>Anton
04/25/2025, 8:10 AMPylon
04/28/2025, 8:35 PMgraphite-base/* is that sometimes we have to update both git and Github data. A straightforward example of this is using gt move to change where in the stack a PR is located. In this case, the actual git contents of the PR will be changed (the git commits belonging to the PR will have new IDs) and the base of the PR will be changing in GitHub.
There is no way to atomically update both the git data and the GitHub data. Regardless of the order in which the data is updated, the PR will be in an inconsistent state for some period of time until the second data source is updated, such as pulling in changes that don't belong in the PR. Setting a temporary base branch is our workaround here. Once we finish the necessary operations, the base branch should be reset correctly.
Could you run gt feedback the next time you run into an error where the PR has not been created with Graphite? I'm assuming these PRs were indeed created using gt?Anton
04/29/2025, 7:12 AMgt feedback if/when we run into the problem again.