Skip to content

Error Notifications in Jupyter Notebooks #3254

@munechika-koyo

Description

@munechika-koyo

Summary

After changing kernels, pyrefly language server seems to stop. So when I restart it, the error notification keeps popping up.

Details

The notebook view looks like this when I open a VS Code window (or reload the window):
Image

After changing a kernel to "test" virtual environment created by pixi, the highlights disappear and the Pyrefly language server doesn't appear to work:
Image

So, when I try to restart it via the command line, the error notifications don't stop, even though the highlights come back.
Image

This seems to be fixed every time I reload the window.

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

Vscode

Version: 1.117.0 (Universal)
Commit: 10c8e557c8b9f9ed0a87f61f1c9a44bde731c409
Date: 2026-04-21T16:12:14-07:00
Electron: 39.8.7
ElectronBuildId: 13841579
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    language-serverIssues specific to our IDE integration rather than type checkingnotebook

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions