-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Use new VS Code filesystem API. #8307
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
Use new VS Code filesystem API. #8307
Conversation
5e94ba4
to
0ace1e0
Compare
Codecov Report
@@ Coverage Diff @@
## master #8307 +/- ##
==========================================
+ Coverage 58.07% 58.66% +0.58%
==========================================
Files 526 526
Lines 26827 27168 +341
Branches 4040 4043 +3
==========================================
+ Hits 15581 15938 +357
+ Misses 10389 10368 -21
- Partials 857 862 +5
Continue to review full report at Codecov.
|
32e4a92
to
f1d0b05
Compare
The link you provided says "commit range not found", so I've been using 6f63744 ( |
c072129
to
5c3fa12
Compare
f619554
to
f9d7418
Compare
f9d7418
to
c5c7c30
Compare
FYI, the one lingering failure (functional tests) is something I have not been able to reproduce locally yet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure whether this is still ready for review.
It would be better to split such PRs into smaller chunks, or perhaps we've stopped doing that.
E.g. we could implement the new API in one PR & not use it anywhere, then update other files in another PR, then more i.e. gradually strip out the use of the old API in increments... making it much easier to test and review.
Also, I think it would be easier to get the work done as well, i.e. split amongst others.. Anyways, just a suggestion.
@karthiknadig /cc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe all of my original concerns have been addressed.
I don't wish to hold the PR unnecessarily. hence approving.
Oh, I absolutely agree about smaller PRs. This one was an aberration due to lack of clarity early on back when the PR was much smaller. :) |
c5c7c30
to
cd11fb2
Compare
cd11fb2
to
81fe4d6
Compare
(for #6911)
This PR builds on #7915, focusing only on the move to the new filesystem API. Note that there are 6 functions (in addition to
glob()
andtmp.file()
) that I was not able to convert due to a lack of functionality in the new API. I have opened upstream issues to address that.[ ] Has sufficient logging.[ ] Has telemetry for enhancements.[ ] Test plan is updated as appropriate[ ]package-lock.json
has been regenerated by runningnpm install
(if dependencies have changed)[ ] The wiki is updated with any design decisions/details.