Hi, I've been seeing an outage for about 30 minute...
# report-bugs
h
Hi, I've been seeing an outage for about 30 minutes now.
gt submit
fails with
2025-07-10T12:22:15.927Z: Error: Error response trying to pre-submit PRs: 500
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>
h
It's possibly this endpoint:
Copy code
"apiServer": "https://api.graphite.dev/v1",
  "route": {
    "method": "POST",
    "url": "/graphite/cli/submit/pre-submit-pull-requests",
    "params": {},
    "response": {}
  },
The status page says operational though
p
hey Harry, looking into this
I tested out using
gt submit
and it worked. Could you try running your
gt
command with the
--debug
flag to display extra logging for you. That might reveal where the bottleneck is
h
sure thing - the small snippet I posted above was from debug it ends with:
Copy code
```
2025-07-10T13:56:52.801Z: Requesting: {
  "apiServer": "https://api.graphite.dev/v1",
  "route": {
    "method": "POST",
    "url": "/graphite/cli/submit/pre-submit-pull-requests",
    "params": {},
    "response": {}
  },
  "params": {
    "repoOwner": snipped,
    "repoName": snipped,
    "branches": [
      {
        snipped
        "prNumber": 2951
      },
      {
       snipped
        "prNumber": 2952
      },
      {
        snipped
      },
      {
        snipped
        "prNumber": 2980
      }
    ]
  }
}
2025-07-10T13:56:54.931Z: Debug headers: {
  "x-graphite-request-id": "738d7ebb-71ee-4c73-9ada-9f50d915da93"
}
2025-07-10T13:56:54.933Z: Result: {
  "result": {
    "_response": {}
  }
}
2025-07-10T13:56:54.934Z: In-memory cache was not mutated; skipping persistence
ERROR: Error response trying to pre-submit PRs: 500 
2025-07-10T13:56:54.936Z: Error: Error response trying to pre-submit PRs: 500
    at /snapshot/dist/graphite.js
    at Generator.next (anonymous)
    at i (/snapshot/dist/graphite.js)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2025-07-10T13:56:54.936Z: Flushing trace...
2025-07-10T13:56:54.937Z: Sent trace to child...
2025-07-10T13:56:54.941Z: Child disconnected
```
I haven't been able to submit PRs for about an hour and a half now. Do you think that /graphite/cli/submit/pre-submit-pull-requests is returning a 5xx error code?
p
what version of the CLI are you using?
h
1.6.4
p
thanks, when I debug mine I don't encounter any error from that endpoint. Could you run
gt dev cache --clear
and try submit again.
h
Same deal 😞 But I realised, the GitHub repo was renamed. We re-synced it with Graphite, and syncs work, so I wonder if this is a bug with repo renaming and not an outage.
p
Gotcha, you can run
gt config
for Repository-level settings and in there you can configure the repo remote, name etc.
h
I think I fixed it - I changed the repo name in
gt config
and then updated the git origin to be the new repo name (not the old one, which works in git but is probably a redirect or something similar - maybe that's causing pre-submit to return 5xx?). Thanks a lot for your help!
👍 1