Skip to content

Fix duplicated code that resulted in data getting overridden - #554

Merged
josegonzalez merged 2 commits into
josegonzalez:masterfrom
Jackenmen:fix_my_mess
Nov 27, 2026
Merged

josegonzalez merged 2 commits into
josegonzalez:masterfrom
Jackenmen:fix_my_mess

Conversation

@Jackenmen

@Jackenmen Jackenmen commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

@josegonzalez hi, sorry to bother you but I have only just seen that you've already merged my PR (#548). I was still in the middle of testing things and have just found out there's one issue with it - I forgot to remove the lines, which got moved to get_pull_comments_with_graphql() and that ends up with GraphQL responses always being used instead of only for temporary private forks. Sorry for this, I didn't think to mark the PR as draft, while I was in the middle of working on it and I probably should have.

@Jackenmen

Copy link
Copy Markdown
Contributor Author

Alright, I decided to also add a regression test for this - it fails, if GraphQL API is called on a PR that doesn't return 404 on its regular comments endpoint.

@josegonzalez
josegonzalez merged commit abbcf8f into josegonzalez:master Nov 27, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants