Skip to content
pi-c View Ticket
Login

View Ticket

TUI quit under heavy disk load can exceed 30 s

Closed4d3f01df090846f01a156047d6571a3c8590c35dCreated 10.9 days agoUpdated 1.7 days ago
Description2026-11-20 00:37:14
Seen on the developer machine while several make test-pic suites ran at once (macOS F_FULLFSYNC contention): in test/tui/tui.sh's quit case the TUI leaves its loop at once but the cancelled request child takes over 30 s to exit, so pty_drive never sees the exit line. Alone the case takes about 0.7 s (8 of 8 runs). Next: measure the child's cancel path (which fsyncs: the journal cancel, the Pi rows export to pic.sqlite with synchronous=FULL) under contention; consider printing the exit line before waiting, and whether the export after a cancel can be skipped or deferred.
2026-11-29 06:41:22

Closed by !222: tui-idle landing on trunk (752051e3c175)