Skip to content

[Bug?]: ZipFS extension broken on VSCode 1.66 #4322

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

Closed
wants to merge 2 commits into from

Conversation

ojkelly
Copy link
Contributor

@ojkelly ojkelly commented Apr 3, 2022

What's the problem this PR addresses?
A recent Vscode update broke ZipFS links.

Fixes #4304

...

How did you fix it?

It appears that the vscode.URI.fsPath helper (described as just sugar) no longer prepends the authority.

On macOS /Users/owen/code became /owen/code, which could not be found.

I can't find the specific commit where this change occurred, but this fix does resolve the issue.

I didn't apply this change to the TerminalLinkProvider, as I wasn't able to get a good repro setup going for that. I suspect it will need some kind of fix.

...

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@merceyz merceyz self-requested a review April 6, 2022 16:35
@merceyz merceyz mentioned this pull request Apr 6, 2022
3 tasks
@merceyz
Copy link
Member

merceyz commented Apr 6, 2022

Thanks for the PR however the issue is in the SDK, VSCode 1.66 changed the format for in-memory file paths.
I've opened #4330 to update the pattern so it works with VSCode 1.66.

@merceyz merceyz closed this Apr 6, 2022
@JaLe29
Copy link

JaLe29 commented Apr 7, 2022

Great job @merceyz !

Is there any way how to immediately use it?

Or we must wait for next yarn release?

@arcanis
Copy link
Member

arcanis commented Apr 7, 2022

I'll make a release later today

@arcanis
Copy link
Member

arcanis commented Apr 7, 2022

Released as 4.0.0-rc.1 (yarn dlx @yarnpkg/sdks should pull it)

@ojkelly ojkelly deleted the ojkelly/issue4304 branch April 8, 2022 02:06
@JaLe29
Copy link

JaLe29 commented Apr 10, 2022

After update sometimes I am facing to the same issue. Any tips? How can I debug (check some log) this issue?

VS code: 1.66.1 (windows 11 64b)
Yarn: 3.2.0

See:
https://user-images.githubusercontent.com/22296816/162608400-53241a06-c342-4c9f-8ca4-fcb272ece786.mp4

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.

[Bug?]: ZipFS extension broken on VSCode 1.66
4 participants