Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

fix(batches): don't request unnecessary info that's likely to cause GH errors#64299

Merged
bahrmichael merged 4 commits intomainfrom
bahrmichael/batch-reduced-pr-request
Aug 7, 2024
Merged

fix(batches): don't request unnecessary info that's likely to cause GH errors#64299
bahrmichael merged 4 commits intomainfrom
bahrmichael/batch-reduced-pr-request

Conversation

@bahrmichael
Copy link
Contributor

@bahrmichael bahrmichael commented Aug 6, 2024

Closes SRCH-802

After a long and unsuccessful hunt of eventual consistency errors, I noticed that we don't need the GraphQL fragments that are causing problems.

I introduced a simplified request, which succeeds reliably. What customers should see now is one error (see second picture below), which is followed by a retry, and then success.

Previously we've seen this error, sometimes less often, sometimes more, but customers saw it so often that it caused their batch changes to fail.

Screenshot 2024-08-06 at 14 02 00

Customers may still see an initial error, which I've seen to reliably disappear on the first retry. It should not be a problem

Screenshot 2024-08-06 at 14 02 48

Test plan

Manual testing

Changelog

  • fix(batches): improve GitHub Apps integration reliability by simplifying the data requested from GitHub

@cla-bot cla-bot bot added the cla-signed label Aug 6, 2024
@bahrmichael bahrmichael requested a review from a team August 6, 2024 14:21
Copy link
Member

@camdencheek camdencheek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess sometimes the best fix is just deleting the problematic thing! Good call, LGTM

@bahrmichael bahrmichael merged commit 4d6e894 into main Aug 7, 2024
@bahrmichael bahrmichael deleted the bahrmichael/batch-reduced-pr-request branch August 7, 2024 08:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants