layer-wizard/lib
Philip Peterson cb5dcdd666 Add automated tests for HistoryService instead of throwaway scripts
Gives HistoryDb an in-memory mode and reconcile() an injectable
deployments list so HistoryService can be exercised hermetically,
without touching the real history.db or shelling out to rpm-ostree.
Covers bootstrap, idempotent reconcile, install-then-reboot,
manual/detected changes, last_known_safe, and chain walking.

Also fixes the pre-existing widget boot-smoke test: startup now makes
a second real Process.run call (via HistoryService.reconcile), which
tipped flutter_test's fake-time zone into flagging a dangling Timer
from that real I/O. Wrapping the pump in tester.runAsync() is the
standard fix.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-07 13:30:07 -08:00
..
history Add automated tests for HistoryService instead of throwaway scripts 2026-10-07 13:30:07 -08:00
confirmation_marker.dart Initial commit: Layer Wizard 2026-10-06 05:25:05 -08:00
confirmation_page.dart Track our own layer history in a local SQLite DB 2026-10-06 10:30:59 -08:00
main.dart Track our own layer history in a local SQLite DB 2026-10-06 10:30:59 -08:00
ostree_service.dart Track our own layer history in a local SQLite DB 2026-10-06 10:30:59 -08:00
wizard_page.dart Track our own layer history in a local SQLite DB 2026-10-06 10:30:59 -08:00