Private
Public Access
0
0
Files
manual_slop/tests
ed f3d071e0c8 feat(gui): warmup status indicator + completion callback (sub-track 4)
Sub-track 4 of startup_speedup_20260606. Adds per-frame GUI feedback
during the AppController's background warmup:

- render_warmup_status_indicator(app): module-level render fn called
  from render_main_interface. Shows 'Warming up... (N/M)' in warning
  color while pending, 'Imports: K failed' in error color on failure,
  or 'All imports ready (M modules)' in success color for 3 seconds
  after completion. Hidden otherwise.
- _on_warmup_complete_callback(app, status): thread-safe callback
  registered with controller.on_warmup_complete() in App._post_init.
  Records timestamp + lock-protected toast list.
- App._post_init: registers the callback.

6 new tests in tests/test_gui_warmup_indicator.py:
- 2 importable-checks (function exists)
- 3 callback-logic tests (timestamp, failures, thread-safety)
- 1 live_gui smoke test (controller exposes warmup_status)
2026-06-06 21:29:03 -04:00
..
2026-03-05 17:13:59 -05:00
2026-05-10 15:14:54 -04:00
2026-05-20 07:51:58 -04:00
2026-03-05 16:37:30 -05:00
2026-03-05 17:13:59 -05:00
2026-03-05 16:37:30 -05:00
2026-03-07 20:32:59 -05:00
2026-03-06 22:03:59 -05:00
2026-03-05 17:13:59 -05:00
2026-03-12 19:08:51 -04:00
2026-03-05 15:10:53 -05:00
2026-03-12 19:08:51 -04:00
2026-03-12 19:08:51 -04:00
2026-05-20 07:51:58 -04:00
2026-05-20 07:51:58 -04:00
ok
2026-03-07 21:40:40 -05:00