Skip to content

Use hash of source file text as version for the source file in tsserver - #41938

Closed
Sheetal Nandi (sheetalkamat) wants to merge 4 commits into
mainfrom
tsserverSourceFileVersioning
Closed

Use hash of source file text as version for the source file in tsserver#41938
Sheetal Nandi (sheetalkamat) wants to merge 4 commits into
mainfrom
tsserverSourceFileVersioning

Conversation

@sheetalkamat

Copy link
Copy Markdown
Member

This ensures that we can use tsbuildinfo that tsc emits since versions are used for file upto date ness checks.
Eg this will be needed for #41004 to work.

@typescript-bot TypeScript Bot (typescript-bot) added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Dec 12, 2020
@sheetalkamat Sheetal Nandi (sheetalkamat) added the Experiment A fork with an experimental idea which might not make it into master label Dec 12, 2020
@andrewbranch

Copy link
Copy Markdown
Member

Is this still an experiment? The changes make sense to me.

@sheetalkamat

Copy link
Copy Markdown
Member Author

It is not but I dont think I can resolve all the merge conflicts for #41004 and get it reviewed before beta so i will hold off on merging this one for next release.

@sheetalkamat Sheetal Nandi (sheetalkamat) changed the title [Experiment] Use hash of source file text as version for the source file in tsserver Use hash of source file text as version for the source file in tsserver Mar 26, 2021
@sheetalkamat Sheetal Nandi (sheetalkamat) removed the Experiment A fork with an experimental idea which might not make it into master label Mar 26, 2021
Comment thread src/server/scriptInfo.ts
Comment thread src/server/scriptInfo.ts
@sheetalkamat

Sheetal Nandi (sheetalkamat) commented May 10, 2021

Copy link
Copy Markdown
Member Author

Note to self: Need to handle #43474 after the merge from master

@sheetalkamat Sheetal Nandi (sheetalkamat) added the Experiment A fork with an experimental idea which might not make it into master label Mar 24, 2022
@sheetalkamat
Sheetal Nandi (sheetalkamat) deleted the tsserverSourceFileVersioning branch November 9, 2022 20:02
@microsoft 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

Author: Team Experiment A fork with an experimental idea which might not make it into master For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants