Skip to content

Retry transient GitHub initialization failures - #8904

Draft
Alex Ross (alexr00) with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-transient-connect-timeout
Draft

Retry transient GitHub initialization failures#8904
Alex Ross (alexr00) with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-transient-connect-timeout

Conversation

Copilot AI commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Transient failures fetching the authenticated user or repository metadata cached rejected promises, preventing PR overviews from recovering until reload. The resulting error also obscured which initialization dependency failed.

  • Current user

    • Keep currentUser and isEmu on one shared request.
    • Clear both after rejection only when they still reference the failed request.
    • Route direct consumers through retry-aware accessors.
  • Repository metadata

    • Clear transient rejected metadata promises with an identity guard.
    • Preserve resolved metadata and intentional non-SAML 404 session caching.
  • PR overview errors

    • Add operation context to each parallel initialization request.
    • Replace the misleading description-specific error with a general PR update error.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix transient connect timeout issue on GET /user Retry transient GitHub initialization failures Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants