You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Notebook dependent-cell diagnostic refresh is serialized at 500 ms per cell #1837
An edit to one notebook cell can invalidate diagnostics in every other cell.
The changed cell is pulled immediately, but other affected cells enter the
generic background document scheduler, which waits 500 ms before each pull.
This means a notebook with 10 dependent cells can take approximately 5 seconds
to show correct diagnostics; 100 dependent cells can take approximately 50
seconds. There is no exponential timer in the implementation: the observed
problem is a fixed per-cell delay that accumulates linearly.
This is also an issue because it delays diagnostic pulls for other documents also (but, arguably, you're not supposed to import notebooks 😆).
Minimal reproduction
First enable the already-supported dependency capability in client-node-tests/src/servers/fullNotebookServer.ts:
Activity