Skip to content
pi-c View Ticket
Login

View Ticket

2026-11-29
06:41 • Closed ticket [4d3f01df09]: TUI quit under heavy disk load can exceed 30 s plus 2 other changes artifact: 9b231a8b2d user: dmestas
2026-11-20
01:17 • Ticket [4d3f01df09]: 1 change artifact: 472c86e935 user: quarry
00:37 • New ticket [4d3f01df09]. artifact: 12864a5c83 user: dmestas

TUI quit under heavy disk load can exceed 30 s

Closed4d3f01df090846f01a156047d6571a3c8590c35dCreated 11.0 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)