-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[wip] Shared resolutions in tsserver #55968
base: main
Are you sure you want to change the base?
Commits on Oct 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 139873c - Browse repository at this point
Copy the full SHA 139873cView commit details
Commits on Oct 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 774fd2a - Browse repository at this point
Copy the full SHA 774fd2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f53ed20 - Browse repository at this point
Copy the full SHA f53ed20View commit details -
Handle unnecessary typings request force just because root files change
First unresolved import gets the typing file into cache and sets it as root, This results in scheduling new typing request with that unresolved import missing The result will come back with typing file that is omitted, so root file will change but file will still be part of program so its not really removed from program
Configuration menu - View commit details
-
Copy full SHA for 7f0d8b5 - Browse repository at this point
Copy the full SHA 7f0d8b5View commit details -
When type acquisition is disabled, remove the typing files set as root
Also cache the inferred type acquition for inferred project
Configuration menu - View commit details
-
Copy full SHA for 3fd456f - Browse repository at this point
Copy the full SHA 3fd456fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77ab17f - Browse repository at this point
Copy the full SHA 77ab17fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3bee90 - Browse repository at this point
Copy the full SHA e3bee90View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1de706 - Browse repository at this point
Copy the full SHA e1de706View commit details -
If typing installer is disabled invalidate all the resolutions from t…
…ypings cache This change finally makes all tests pass incremental tests for matching resolutions and program structuture
Configuration menu - View commit details
-
Copy full SHA for 01bf971 - Browse repository at this point
Copy the full SHA 01bf971View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c9662b - Browse repository at this point
Copy the full SHA 6c9662bView commit details -
Update cached import list update as part of resolving modules instead…
… of another pass
Configuration menu - View commit details
-
Copy full SHA for 4087c69 - Browse repository at this point
Copy the full SHA 4087c69View commit details -
If the there is no change detected in module resolution we shouldnt n…
…eed to update last cached unresolved imports just because we have new program
Configuration menu - View commit details
-
Copy full SHA for 6d8c00c - Browse repository at this point
Copy the full SHA 6d8c00cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd599c4 - Browse repository at this point
Copy the full SHA cd599c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 969b2b3 - Browse repository at this point
Copy the full SHA 969b2b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c0372e - Browse repository at this point
Copy the full SHA 3c0372eView commit details -
Add incremental test where cache should have same resolutions as what…
…s in the program This shows cache is holding onto resolutions that are no longer needed by program because either those modules arent present in file or is determined to be ambient resolution
Configuration menu - View commit details
-
Copy full SHA for 149c700 - Browse repository at this point
Copy the full SHA 149c700View commit details -
Make sure reused resolutions from file are accounted if all resolutio…
…ns are reused/are resolved to ambient module names
Configuration menu - View commit details
-
Copy full SHA for 180f11f - Browse repository at this point
Copy the full SHA 180f11fView commit details -
In preparation of sharing resolutions, watch the resolutions right aw…
…ay instead of defering external module reoslutions to watch all failed lookup locations
Configuration menu - View commit details
-
Copy full SHA for fb80bfc - Browse repository at this point
Copy the full SHA fb80bfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9edcd79 - Browse repository at this point
Copy the full SHA 9edcd79View commit details -
- All the package json watched are ref counted if watched - Not watched package json locations are released - First of this kind are when resolution from global cache fails, we dont watch those locations so not safe to have them cached - If we are looking for a file and the file is not found, the package json locations looked up are not watched
Configuration menu - View commit details
-
Copy full SHA for 1d40538 - Browse repository at this point
Copy the full SHA 1d40538View commit details -
The redirected reference use that projects tsconfig directory as the …
…root directory for watching resolutions
Configuration menu - View commit details
-
Copy full SHA for 61c7aec - Browse repository at this point
Copy the full SHA 61c7aecView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4fc069 - Browse repository at this point
Copy the full SHA d4fc069View commit details
Commits on Oct 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for af4f032 - Browse repository at this point
Copy the full SHA af4f032View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0de256f - Browse repository at this point
Copy the full SHA 0de256fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e4da7f - Browse repository at this point
Copy the full SHA 3e4da7fView commit details -
Handle effective type roots and type ref resolution sharing cache
// TODO: update incremental tests to actually verify the cache
Configuration menu - View commit details
-
Copy full SHA for 11866b4 - Browse repository at this point
Copy the full SHA 11866b4View commit details