facebook / facebook/pyrefly

Error Notifications in Jupyter Notebooks

Open
#3,254 3 comments 0 reactions 0 assignees View on GitHub
language-server notebook
Dominant language
Rust
Stars
7k
Forks
516
PR merge metrics
No merged PRs in 30d

Description

# 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`](https://pixi.sh), 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.