Skip to content

feat: record the platform and network state of every run - #292

Merged
lomigmegard merged 2 commits into
mainfrom
feat/runner-platform-network-record
Nov 1, 2026
Merged

lomigmegard merged 2 commits into
mainfrom
feat/runner-platform-network-record

Conversation

@lomigmegard

Copy link
Copy Markdown
Contributor

No description provided.

The runner records two restricted facts in every run. platform_recorded,
right after ceremony_started, says where the run happens: OS,
architecture, a Rite Live system, a container or a virtual machine when
one is detected, and Secure Boot. network_state_recorded is measured at
the opening, once the ceremony is started, and at the closing, before
ceremony_completed or ceremony_failed. An abort after the opening
measurement also records a closing measurement.

A measurement records each interface's kind, state, carrier, whether it
has an address and its counters, as decimal strings, the default routes
and the radios. Hardware and network addresses are not recorded. The
counters of the two measurements bracket the traffic of the run, which
rite report shows per interface. rite verify prints the platform as
reported, without checking it.

The probes now leave the radios unknown when /sys is hidden, the
interfaces unknown when they cannot be listed, and the hostname unset
when the OS does not report it.
The System tab opens on the platform and the latest network measurement
as the transcript records them, each with the time it was recorded, then
what the TUI reads itself: disks, backends and the build. Unknown values
read as unknown. The interfaces are a table, one row each, those with an
address first and virtual ones last. The tab scrolls from the top with
the same keys as the log. The host name and the Peripherals placeholder
are no longer shown.
@lomigmegard
lomigmegard merged commit 98aee9c into main Nov 1, 2026
12 checks passed
@lomigmegard
lomigmegard deleted the feat/runner-platform-network-record branch November 1, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant