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

+2 -68
View File
@@ -1,18 +1,6 @@
[package]
categories = ["command-line-utilities", "os::linux-apis"]
description = "Boot and shutdown progress for systemd on the console, with each job nested under the units waiting on it"
edition = "2024"
include = ["/src", "/examples", "/system-files", "/README.md", "/LICENSE"]
keywords = ["systemd", "boot", "initrd", "tui", "console"]
license = "GPL-3.0-or-later"
name = "bootvine"
readme = "README.md"
repository = "https://codeberg.org/wvhulle/bootvine"
rust-version = "1.91"
version = "0.1.0"
[workspace]
members = [".", "xtask"]
members = ["bootvine", "scripted-demos", "xtask"]
resolver = "3"
[workspace.lints.clippy]
absolute_paths = "warn"
@@ -20,60 +8,6 @@ missing_errors_doc = "allow"
needless_for_each = "allow"
pedantic = { priority = -1, level = "warn" }
[lints]
workspace = true
[dependencies]
clap = { version = "4.6.7", default-features = false, features = [
"std",
"derive",
"help",
"usage",
"error-context",
] }
crossterm = "0.29.0"
dbus = "0.9.12"
futures = { version = "0.3.34", default-features = false, features = [
"std",
"async-await",
] }
heck = "0.5.0"
jiff = { version = "0.2.38", default-features = false, features = [
"serde",
"std",
] }
petgraph = { version = "0.8.3", default-features = false, features = [
"std",
"graphmap",
] }
ratatui = { version = "0.30.2", features = [
"serde",
"unstable-rendered-line-info",
] }
rustix = { version = "1.1.5", features = [
"event",
"fs",
"process",
"stdio",
"system",
"termios",
"time",
] }
ser_nix = "0.2.4"
serde = { version = "1.0.229", features = ["derive"] }
serde_plain = "1.0.2"
thiserror = "2.0.12"
tokio = { version = "1.54.0", default-features = false, features = [
"rt",
"time",
"net",
"signal",
] }
toml = { version = "1.1.8", features = ["preserve_order"] }
unicode-truncate = "2.0.1"
unicode-width = "0.2.2"
zeroize = "1.9.1"
[profile.release]
codegen-units = 1
lto = "fat"