-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Error loading renderer preloads #122894
Comments
Not sure what's the root cause but it seems we verified this work well 5 days ago? #119899 (comment) cc @roblourens |
I made this change today but it works fine for me/in OSS 5148712 Does out/client/index.js actually exist? |
If there's an issue, it could be related to my service worker changes last week? I can look at it tomorrow. |
yes, the same code works in VS Code stable, but didn't work locally in either Insiders or OSS. Also this is not kernel preloads, it's pure renderer. Labelling it as candidate for now. |
We don't include the renderer extension roots in the webview's We set vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.ts Line 1171 in 6a841dd
then when the output from the renderer is loaded, we try to update it here vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.ts Line 1646 in 6a841dd but that doesn't do anything
|
I tested using a new renderer extension on insiders (85f8ebf) and couldn't reproduce on MacOS Ah it happens for me when I manually package and install the vsix. Doesn't happen on a development extension build |
For #122894 Not sure why this was a no-op but it seems to prevent the webview from correctly loading preloads
I pushed a fix that implements the noop. This api only seems to be used from notebooks so I think it's a relatively safe fix @rebornix Do you remember why the no op was originally added? Maybe we were trying to avoid reloading the backlayer webview? |
For microsoft#122894 Not sure why this was a no-op but it seems to prevent the webview from correctly loading preloads
For #122894 Not sure why this was a no-op but it seems to prevent the webview from correctly loading preloads
Steps to Reproduce:
errors
(e.g., a Jupyter cell which has errors)The text was updated successfully, but these errors were encountered: