feat: show why units failed, with their last journal lines

Failed jobs keep their kind: units that broke or timed out get a failure
panel entry with the reason systemd reports (exit status, signal, timeout,
start limit, status text) and their last journal lines read through
libsystemd. Units that failed only through a dependency are dimmed and left
out of the panel, and units that crash after starting count as failed.

Restructure the repository around this:
- move the library and binary into bootvine/ and the scripted demos into
  their own unpublished scripted-demos crate, with their VHS tapes
- move the crane builds and NixOS module into nix/
- group each sample VM with its check under vm-tests/, adding text-console,
  scripted-initrd, encrypted-volume and failures machines and a vm-failures
  check
- add docs/guide.md walking through the screen with every recording, keep
  one recording in the README, and re-render all recordings
This commit is contained in:
Willem Vanhulle committed 2026-10-30 14:59:10 +01:00
1 parent f2544a964a
commit 7e95cbd8e9
96 files changed
+2027 -462

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
[package]
description = "Scripted boots, shutdowns and passphrase prompts that play bootvine's screen in a terminal"
edition = "2024"
license = "GPL-3.0-or-later"
name = "scripted-demos"
publish = false
version = "0.1.0"
[lints]
workspace = true
[dependencies]
bootvine = { path = "../bootvine" }
futures = { version = "0.3.34", default-features = false, features = ["std"] }
ratatui = "0.30.2"
tokio = { version = "1.54.0", default-features = false, features = ["rt", "time"] }
zeroize = "1.9.1"