When I have a stack of PRs and create a new one on...
# report-bugs
d
When I have a stack of PRs and create a new one on top, I usually submit it with a list of approvers. However, when Graphite decides that the PRs below also need to be submitted (marked as “Update code” instead of the usual “No-op”), I’m now seeing warnings like: “WARNING: PR had an issue during submit: Failed to add reviewers: HttpError: Review cannot be requested from pull request author.” It appears Graphite is incorrectly applying the approver list to all PRs in the stack rather than only to the PR I’m actually submitting. This behavior did not occur until quite recently.
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>
hey Dimas, could you please run
gt feedback --with-debug-context <message>
to send us your CLI logs and the team can investigate that. Thanks!
d
Sure. What to put in message?
p
you can copy-paste in the error message you got
d
Good!
Can you clarify correct syntax? I tried several combinations of
gt feedback --with-debug-context "WARNING: PR had an issue during submit: Failed to add reviewers: HttpError: Review cannot be requested from pull request author."
, all resulting in error "Unknown arguments: PR, had, an, issue, during, submit:, Failed, to, add, reviewers:, HttpError:, Review, cannot, be, requested, from, pull, request, author.”"
p
you can try running just
gt feedback
and that will interactively prompt you to provide the message and whether to include logs.
Received your feedback! We'll respond in the email thread with any questions or updates
d
Thank you!