Skip to main content

Module runtime_config

Module runtime_config 

Source
Expand description

Runtime configuration snapshot and small env parsing helpers.

This is intentionally a narrow data surface first: it makes effective FERRUM_* overrides visible in health and bench artifacts while the hot-path env reads are migrated to typed config structs.

Structs§

RuntimeConfigEntry
One effective config value in a runtime snapshot.
RuntimeConfigSnapshot
Stable snapshot of non-default runtime configuration visible to the process.

Enums§

EnvTriState
Tri-state env override used by paths that distinguish unset from forced off.
RuntimeConfigEffect
Impact classes used by config snapshots and artifact diffs.
RuntimeConfigSource
Source of an effective config value.

Functions§

active_runtime_snapshot
The installed runtime snapshot, or an empty snapshot when none was installed (unit tests that do not exercise runtime knobs see defaults).
install_runtime_snapshot
Install the process-wide runtime snapshot resolved at the composition root.
parse_bool_env_value
parse_path_env_value
parse_tri_state_env_value
parse_usize_env_value