This message was deleted.
# report-bugs
s
This message was deleted.
f
Recently lost local git changes. Had to start over. Cloned repo,
git checkout
the various branches, restacked them, then
gt branch track
to get them back into graphite. But now I’m getting those
500
errors when I try to submit the stack
the first PR that needs updating will in fact get updated, as in, my workaround is to re-run
gt ss
until all PRs are updated
Copy code
❯ gt --version
0.20.21

❯ npm --version
9.7.2
I just found the
--debug
flag
Copy code
📨 Pushing to remote and creating/updating PRs...
2023-06-27T20:03:01.453Z: Persisting cache...
ERROR: Unexpected server response (500).

Response: {
  "_response": {}
}
2023-06-27T20:03:01.480Z: ExitFailed: Unexpected server response (500).

Response: {
  "_response": {}
}
    at requestServerToSubmitPRs (/usr/local/volta/tools/image/packages/@withgraphite/graphite-cli/lib/node_modules/@withgraphite/graphite-cli/dist/src/actions/submit/submit_prs.js:73:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async submitPullRequest (/usr/local/volta/tools/image/packages/@withgraphite/graphite-cli/lib/node_modules/@withgraphite/graphite-cli/dist/src/actions/submit/submit_prs.js:13:17)
    at async submitAction (/usr/local/volta/tools/image/packages/@withgraphite/graphite-cli/lib/node_modules/@withgraphite/graphite-cli/dist/src/actions/submit/submit_action.js:78:9)
    at async Object.run (/usr/local/volta/tools/image/packages/@withgraphite/graphite-cli/lib/node_modules/@withgraphite/graphite-cli/dist/src/commands/stack-commands/submit.js:16:9)
    at async graphiteHelper (/usr/local/volta/tools/image/packages/@withgraphite/graphite-cli/lib/node_modules/@withgraphite/graphite-cli/dist/src/lib/runner.js:96:9)
    at async /usr/local/volta/tools/image/packages/@withgraphite/graphite-cli/lib/node_modules/@withgraphite/graphite-cli/dist/src/lib/runner.js:71:20
    at async Tracer.span (/usr/local/volta/tools/image/packages/@withgraphite/graphite-cli/lib/node_modules/@withgraphite/graphite-cli/dist/src/lib/utils/tracer.js:91:22)
    at async graphiteInternal (/usr/local/volta/tools/image/packages/@withgraphite/graphite-cli/lib/node_modules/@withgraphite/graphite-cli/dist/src/lib/runner.js:55:9)
    at async Object.handler (/usr/local/volta/tools/image/packages/@withgraphite/graphite-cli/lib/node_modules/@withgraphite/graphite-cli/dist/src/commands/stack-commands/submit.js:15:5)
I had to use a different auth token, of course.
p
Resolved?
f
ongoing, happy to try suggestions
retrying was a workaround for existing PRs, but I can’t submit new ones this is now a blocker for me Not sure there is anything new in the stacktrace, but this is what I get when creating a new PR via `gt ss`:
Copy code
2023-06-30T13:58:11.832Z: ExitFailed: Unexpected server response (500).

Response: {
  "_response": {}
}
    at requestServerToSubmitPRs (/usr/local/volta/tools/image/packages/@withgraphite/graphite-cli/lib/node_modules/@withgraphite/graphite-cli/dist/src/actions/submit/submit_prs.js:73:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async submitPullRequest (/usr/local/volta/tools/image/packages/@withgraphite/graphite-cli/lib/node_modules/@withgraphite/graphite-cli/dist/src/actions/submit/submit_prs.js:13:17)
    at async submitAction (/usr/local/volta/tools/image/packages/@withgraphite/graphite-cli/lib/node_modules/@withgraphite/graphite-cli/dist/src/actions/submit/submit_action.js:78:9)
    at async Object.run (/usr/local/volta/tools/image/packages/@withgraphite/graphite-cli/lib/node_modules/@withgraphite/graphite-cli/dist/src/commands/stack-commands/submit.js:16:9)
    at async graphiteHelper (/usr/local/volta/tools/image/packages/@withgraphite/graphite-cli/lib/node_modules/@withgraphite/graphite-cli/dist/src/lib/runner.js:96:9)
    at async /usr/local/volta/tools/image/packages/@withgraphite/graphite-cli/lib/node_modules/@withgraphite/graphite-cli/dist/src/lib/runner.js:71:20
    at async Tracer.span (/usr/local/volta/tools/image/packages/@withgraphite/graphite-cli/lib/node_modules/@withgraphite/graphite-cli/dist/src/lib/utils/tracer.js:91:22)
    at async graphiteInternal (/usr/local/volta/tools/image/packages/@withgraphite/graphite-cli/lib/node_modules/@withgraphite/graphite-cli/dist/src/lib/runner.js:55:9)
    at async Object.handler (/usr/local/volta/tools/image/packages/@withgraphite/graphite-cli/lib/node_modules/@withgraphite/graphite-cli/dist/src/commands/stack-commands/submit.js:15:5)
p
@Jacob Gold
f
well,
gt ss
works again, no more
Copy code
ERROR: Unexpected server response (500).

Response: {
  "_response": {}
}
p
Hmm weird. Did you do anything on your part? We'll investigate to see if there was something malicious happening here
f
I haven’t changed anything. Same host on which gt is installed. Same auth token. Same PRs even 🤷
s
We faced a similar issue like 2 hours ago.
Upgrading the graphite CLI and re-generating the token using
<https://app.graphite.dev/activate>
resolved the issue