Skip to content

Fix incorrect module resolution cache query#248

Merged
andrewbranch merged 1 commit into
microsoft:mainfrom
andrewbranch:module-resolution-race
Jan 22, 2025
Merged

Fix incorrect module resolution cache query#248
andrewbranch merged 1 commit into
microsoft:mainfrom
andrewbranch:module-resolution-race

Conversation

@andrewbranch

Copy link
Copy Markdown
Member

This ports microsoft/TypeScript#60910; race mode tests exhibit the issue based on order of cache entries. The added test case swaps the order of ResolveModuleName calls so the same failure could be observed in non-race mode tests.

@andrewbranch andrewbranch changed the title Fix module resolution cache race Fix incorrect module resolution cache query Jan 22, 2025
@andrewbranch
andrewbranch enabled auto-merge (squash) January 22, 2025 19:42
@andrewbranch
andrewbranch merged commit d72abad into microsoft:main Jan 22, 2025
@andrewbranch
andrewbranch deleted the module-resolution-race branch January 22, 2025 21:36
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