Skip to content
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

TypeError: Failed to parse URL from ./extensions/github.copilot-nightly-1.83.50/dist/tree-sitter.wasm #180787

Closed
bpasero opened this issue Apr 25, 2023 · 12 comments
Assignees
Labels
electron-24-update extensions Issues concerning extensions

Comments

@bpasero
Copy link
Member

bpasero commented Apr 25, 2023

It looks like GH Copilot fails to work in E24, maybe related to the global fetch now being present in node.js 18:

Extension Host] [ERROR] [promptlib proxy] [2023-04-25T06:54:59.539Z] TypeError: Failed to parse URL from /Users/bpasero/.vscode-exploration/extensions/github.copilot-nightly-1.83.50/dist/tree-sitter.wasm
    at Object.fetch (node:internal/deps/undici/undici:14152:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) (at console.<anonymous> (/Applications/Visual Studio Code - Exploration.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:98:155677))
I @ console.ts:137

ERR [Extension Host] [ERROR] [promptlib proxy] [2023-04-25T06:54:59.542Z] Error: Worker thread exited with code 1.
    at Worker.<anonymous> (/Users/bpasero/.vscode-exploration/extensions/github.copilot-nightly-1.83.50/dist/extension.js:8:1235149)
    at Worker.emit (node:events:513:28)
    at Worker.[kOnExit] (node:internal/worker:280:10)
    at Worker.<computed>.onexit (node:internal/worker:200:20)
@deepak1556
Copy link
Collaborator

The underlying issue is from Emscripten emscripten-core/emscripten@eab8755, it will be addressed if copilot bumps web-tree-sitter to v0.20.8 tree-sitter/tree-sitter#1765

@deepak1556 deepak1556 added the extensions Issues concerning extensions label Apr 28, 2023
@deepak1556 deepak1556 added this to the May 2023 milestone Apr 28, 2023
@bpasero
Copy link
Member Author

bpasero commented Apr 28, 2023

Looks like https://github.com/tree-sitter/tree-sitter/releases/tag/v0.20.8 is out. @bmuskalla could Copilot update?

@bmuskalla
Copy link

Yes, we'll update soon https://github.com/github/copilot-client/issues/1982

@bpasero
Copy link
Member Author

bpasero commented May 16, 2023

@bmuskalla any updates?

@bmuskalla
Copy link

The team is still working on it but got sidetracked by more important issues

@deepak1556 deepak1556 removed this from the May 2023 milestone May 29, 2023
@joaomoreno
Copy link
Member

joaomoreno commented Jun 15, 2023

@SmallLemur @bmuskalla Any updates here? Thanks!

@devm33
Copy link

devm33 commented Jun 16, 2023

@joaomoreno web-tree-sitter was updated. This should be working as of copilot-nightly-1.89.162

@bpasero bpasero closed this as completed Jun 17, 2023
@devm33
Copy link

devm33 commented Jun 19, 2023

Thanks @bpasero! Two related questions, is there a timeline for #184021 and is there any way to test with E24?

@bpasero
Copy link
Member Author

bpasero commented Jun 19, 2023

@devm33 please connect with @deepak1556 on this topic

@devm33
Copy link

devm33 commented Jun 19, 2023

Thanks!

@deepak1556
Copy link
Collaborator

@devm33 in this milestone we are investigating the impact of Node v18 update for our server scenario due to an increase in minimum GLIBC version, the timeline for adoption will be decided based on the results. I will post updates in #184021

@devm33
Copy link

devm33 commented Jun 19, 2023

Thanks @deepak1556! I'll watch there

@github-actions github-actions bot locked and limited conversation to collaborators Aug 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
electron-24-update extensions Issues concerning extensions
Projects
None yet
Development

No branches or pull requests

6 participants