Pad/internal/io/pool
Greg Pomerantz 58725a5e6c Make state single-owner and stabilize race detector
Frame now carries view state (scale/focus/query) to the main goroutine,
which reads only the frame-receiver-stored snapshot. Renderer owns Gio
widget editors (registered by ID) and the draw scale. Autosave timer
sends a token to the logic goroutine instead of touching state;
Shutdown waits for the owner to exit before FlushAll.

Tests access state only through owner-side Inspect/WithState helpers
(harness + in-package). Fixed double-Harness.Run race in two e2e tests,
made TestWorkerPool_PriorityPreemption deterministic, and raised the
lazy-loading test timeout that was too short under -race.

go test -race ./... is now green.
2026-08-16 01:32:27 -04:00
..
mock feat: virtual scrolling with chunked buffer for large files 2026-06-05 09:11:32 -04:00
real Refactor RealFileSystem to use WorkingDir, and ensure clean shutdown with FlushAll 2026-06-05 11:42:39 -04:00
types WIP baseline: Termux open-file bridge + word-wrap-aware viewport/scroll 2026-08-16 00:31:26 -04:00
context_test.go Integrate real filesystem with interface abstraction 2026-06-04 16:19:38 -04:00
filesystem.go feat: virtual scrolling with chunked buffer for large files 2026-06-05 09:11:32 -04:00
result.go Fix to chunk loading policy. 2026-06-05 18:06:17 -04:00
task_test.go feat: virtual scrolling with chunked buffer for large files 2026-06-05 09:11:32 -04:00
task.go WIP baseline: Termux open-file bridge + word-wrap-aware viewport/scroll 2026-08-16 00:31:26 -04:00
worker_pool_test.go Make state single-owner and stabilize race detector 2026-08-16 01:32:27 -04:00
worker_pool.go Add e2e test harness for testing editor logic without Gio display 2026-05-31 08:56:30 -04:00