Repository navigation
Conversation
Author
|
@microsoft-github-policy-service agree |
Jake Bailey (jakebailey)
requested review from
Andrew Branch (andrewbranch) and
Wesley Wigham (weswigham)
November 24, 2026 23:15
Andrew Branch (andrewbranch)
approved these changes
Nov 25, 2026
Andrew Branch (andrewbranch)
left a comment
Member
There was a problem hiding this comment.
Thank you!
Andrew Branch (andrewbranch)
enabled auto-merge
November 25, 2026 21:45
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #65503.
Concurrent
Program.getSourceFile()calls for the same uncached file each request and decode the entire file. The async API now shares one in-flight request per canonical path within a program. It clears the pending entry when the request settles so failed reads can be retried.The regression test checks the underlying request count for equivalent paths, retry after a shared failure, and the cache hit after a successful fetch.
Validation: the regression fails before the fix and passes after it. The 13 related async and sync API tests passed with the November 23 native nightly, along with the JavaScript API build and formatting checks.
AI assistance: Codex helped implement the change and write and run the regression test.
Full repository validation (hereby validate --api) has not completed.