fix(notebook): keep the Jupyter Variables read cheap and out of the way of runs (#6643)

Follow-up to #6517. The Variables read shortens bytes, bytearray and str subclasses without building the full repr, and is interrupted after 5 seconds instead of dropped, so a run waiting behind it gets a drained kernel; a read interrupted for its time limit keeps the kernel. Interrupt, restart and close reach an in-flight read, and several reads can be in flight while a run waits for them.

Co-authored-by: wildcatDownstairs <[email protected]>
Цей коміт міститься в:
LU XIANGRUIтаwildcatDownstairs authored and GitHub committed 2026-11-28 14:58:28 +08:00
1 джерело 1880ac541c
коміт 23bbed8bfe
14 files changed
+382 -53

No files matched your search

+4
Переглянути файл
@@ -25,3 +25,7 @@
text-overflow: ellipsis;
color: var(--fg-editor);
}
.error {
overflow-wrap: anywhere;
}