Commit Graph
101 Commits
Author SHA1 Message Date
Willem Vanhulle e0169bf9f2 docs: restructure CONTRIBUTING into setup, testing, tasks, style and design 2026-10-21 12:49:34 +02:00
Willem Vanhulle cfcb9bcaa0 docs: describe the stream loop in CONTRIBUTING 2026-10-21 12:49:34 +02:00
Willem Vanhulle 6b055260eb feat: show the demo passphrase and say when an answer was wrong 2026-10-21 12:49:34 +02:00
Willem Vanhulle d0063c2371 refactor: drive the watch loop with async streams in the Elm style
Every source is a stream of ScreenInput values: the systemd bus (resolved into
BootChange values), keys, frame ticks, full repaints, password requests and
SIGTERM. They are merged with stream::select and folded by one owned
WatchScreen, drawing once per ready batch. The live boot and the scripted demo
share the fold and differ only in their console desk. tokio current-thread
replaces poll(2) and signal-hook. Release binary: 1.74 MB -> 1.86 MB.
2026-10-21 12:49:33 +02:00
Willem Vanhulle ba6e934412 perf: reach each sibling once when nesting waiting units
Searching the graph per sibling pair cost O(n^2) searches under a target with
many dependencies. One reachable set per sibling makes the check a lookup.
Release, 200 units: model projection 2.64 ms -> 0.75 ms, whole frame
3.02 ms -> 1.09 ms.
2026-10-21 12:49:33 +02:00
Willem Vanhulle d3ac753fe2 test: measure the cost of one boot frame
Release build, 200 units at 110x40: whole frame median 3.02 ms, of which the
model projection (waiting forest + milestones) takes 2.64 ms.
2026-10-21 12:49:33 +02:00
Willem Vanhulle 3fbc2a7c78 refactor: drive the spinner by time instead of frame count 2026-10-21 12:49:33 +02:00
Willem Vanhulle a82cca2857 build: add tokio and futures for the stream loop 2026-10-21 12:12:50 +02:00
Willem Vanhulle a6737908e0 build: shrink the release binary from 2.82 MB to 1.74 MB
Fat LTO, one codegen unit, opt-level z, and clap without color or suggestions.
2026-10-21 12:12:50 +02:00
Willem Vanhulle 794ca5a086 refactor: reorganise flake, tests and repo tasks 2026-10-21 12:12:49 +02:00
Willem Vanhulle b93147c7a6 refactor: parse systemd strings with serde_plain 2026-10-21 12:12:49 +02:00
Willem Vanhulle 741e6d13bb refactor: parse systemd state strings at the bus boundary 2026-10-21 12:12:49 +02:00
Willem Vanhulle 9812a85443 build: raise MSRV to 1.91 for const Duration::from_mins 2026-10-21 12:12:49 +02:00
Willem Vanhulle 2191a27b82 refactor: group modules by data-flow stage behind a thin main 2026-10-21 12:12:49 +02:00
Willem Vanhulle f9cc94c633 refactor: derive errors with thiserror 2026-10-21 12:12:49 +02:00
Willem Vanhulle c11a509090 refactor: keep unit timestamps as one Activity 2026-10-21 12:12:49 +02:00
Willem Vanhulle 8d96034574 refactor: decide phase, milestones and quit keys once 2026-10-21 12:12:49 +02:00
Willem Vanhulle 589cc3c82b refactor: split model and view into files under 500 lines 2026-10-21 12:12:49 +02:00
Willem Vanhulle 4c8268a719 refactor: fit and fold the waiting forest in the view 2026-10-21 12:12:48 +02:00
Willem Vanhulle b321fc8ddd refactor: build the waiting graph once with petgraph 2026-10-21 12:12:48 +02:00
Willem Vanhulle 7eafbc2d61 test: share boot fixtures between model and view tests 2026-10-21 12:12:48 +02:00
Willem Vanhulle 832db62f67 refactor: give modules descriptive names 2026-10-21 12:12:48 +02:00
Willem Vanhulle 4315f50745 docs: add metadata for crates.io 2026-10-21 11:27:59 +02:00
Willem Vanhulle 65ccaebc1c docs: improve documentation of settings using a subcommand 2026-10-21 11:27:58 +02:00
Willem Vanhulle 4e943f578a fix: add license 2026-10-21 11:27:58 +02:00
Willem Vanhulle 196356ba0b refactor: build graph first and then render 2026-10-16 11:42:53 +02:00
Willem Vanhulle 2da498c268 fix: passing control to display manager too early 2026-10-16 11:42:52 +02:00
Willem Vanhulle 04219bb58e docs: automate gif generation 2026-10-16 11:42:52 +02:00
Willem Vanhulle a39797cbd2 perf: small improvements 2026-10-16 11:42:52 +02:00
Willem Vanhulle bca6637599 refactor: reduce polling 2026-10-16 11:42:52 +02:00
Willem Vanhulle 589d0b7655 fix: make prompt LUKS more visible 2026-10-16 11:42:52 +02:00
Willem Vanhulle 5e4ce012f4 docs: GIFs and install steps 2026-10-14 21:27:50 +02:00
Willem Vanhulle b0521193a4 test: shutdown demo 2026-10-14 21:27:50 +02:00
Willem Vanhulle 140bbe0e84 fix: shutdown 2026-10-14 19:45:49 +02:00
Willem Vanhulle 2cff6be976 chore: upgrade inputs 2026-10-14 19:02:24 +02:00
Willem Vanhulle d0bffd5dac fix: add luks prompt to fix broken on external keyboard 2026-10-14 18:44:08 +02:00
Willem Vanhulle 0c30e71261 feat: better tree view 2026-10-14 18:09:18 +02:00
Willem Vanhulle 10eb2f7b98 feat: support luks 2026-10-11 20:16:16 +02:00
Willem Vanhulle 5433f23513 fix: arrow glyph 2026-10-11 20:16:16 +02:00
Willem Vanhulle 329307b27c feat: font-aware glyphs, quieter tree and timeline 2026-10-11 20:16:16 +02:00
Willem Vanhulle 1c8affc827 fix: separation of tree and timeline 2026-10-11 20:16:16 +02:00
Willem Vanhulle 3fc9e2235c feat: follow shutdowns on the boot console 2026-10-11 20:16:16 +02:00
Willem Vanhulle 74af283d57 fix: stand down when started after boot finished 2026-10-11 16:21:21 +02:00
Willem Vanhulle 63d76d9630 docs: add boot screenshots 2026-10-11 16:04:39 +02:00
Willem Vanhulle d789c24dee docs: compact README, move workflow to CONTRIBUTING 2026-10-11 15:59:48 +02:00
Willem Vanhulle 2d586f57f7 rename boot-tree to bootvine 2026-10-11 15:54:28 +02:00
Willem Vanhulle 101d7bae89 boot-tree: palette options, finished-run timeline, readable unit names, repaint on reconnect, handover frame 2026-10-11 15:54:28 +02:00
Willem Vanhulle 1482d4437a boot-tree: portable unit, dracut and mkinitcpio hooks, self-quieting console, minimal NixOS module 2026-10-11 15:54:28 +02:00
Willem Vanhulle 2b1447965a boot-tree: single-threaded feed, Duration timestamps, fields over getters, jiff formatting 2026-10-11 15:54:28 +02:00
Willem Vanhulle 63743d8807 boot-tree: libdbus feed thread, dedicated VT, stage sections, bead timeline, demo example 2026-10-11 15:54:28 +02:00