Skip to content

Fix the semantic diagnostics caching in builder to handle conversion from relative to buildInfo to absolute path#33168

Merged
sheetalkamat merged 1 commit intomasterfrom
semanticDiagnostic
Aug 30, 2019
Merged

Fix the semantic diagnostics caching in builder to handle conversion from relative to buildInfo to absolute path#33168
sheetalkamat merged 1 commit intomasterfrom
semanticDiagnostic

Conversation

@sheetalkamat
Copy link
Member

Semantic diagnostics cache key was not converted to absolute path from the read builder program resulting in not caching diagnostics at all.
Did not come as part of unittests because the errors are reported correctly which is what we were verifying. Added test to verify the state now.
Fixes #33161

…from relative to buildInfo to absolute path

Fixes #33161
@sheetalkamat sheetalkamat merged commit 5ea4257 into master Aug 30, 2019
@sheetalkamat sheetalkamat deleted the semanticDiagnostic branch August 30, 2019 22:44
@sheetalkamat
Copy link
Member Author

@typescript-bot cherry-pick this to release-3.6

typescript-bot pushed a commit to typescript-bot/TypeScript that referenced this pull request Aug 30, 2019
Component commits:
078ef7f Fix the semantic diagnostics caching in builder to handle conversion from relative to buildInfo to absolute path Fixes microsoft#33161
@typescript-bot
Copy link
Collaborator

Hey @sheetalkamat, I've opened #33169 for you.

sheetalkamat pushed a commit that referenced this pull request Aug 30, 2019
Component commits:
078ef7f Fix the semantic diagnostics caching in builder to handle conversion from relative to buildInfo to absolute path Fixes #33161
timsuchanek pushed a commit to timsuchanek/TypeScript that referenced this pull request Sep 11, 2019
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3.6 regression: composite project build time is slower than in 3.5.3

3 participants