Skip to main content

Module runtime

Module runtime 

Source
Expand description

Serialized production owner for the approval engine and durable authority.

Structs§

ApprovedRollbackCommands
Immutable command inputs for the supervisor’s approved rollback admission.
ApprovedRollbackProgram
ApprovedRoutePolicy
Exact stored inputs for one approved transition. This value cannot be deserialized from a control request or assembled by an untrusted module.
DeliveryProbe
Captured before a health RPC; only the same child and installed policy may consume its result. The fields are private so a completion cannot retarget it.
DeliverySpawn
PreparedPlan
RoutePolicyInstallation
Owned reversible installation. Dropping an unresolved installation restores its captured policy, including a pre-gate policy absent from store history.
RuntimeOwner

Enums§

AppliedDisposition

Traits§

DeliveryObserver
Supervisor callbacks for the configuration delivery lifecycle. The caller supplies observed process events, never a module’s claimed readiness. Target checks and promotion callbacks run under RuntimeOwner::module_gate across forwarding and registry changes. The spawn token binds a later registration to the approved generation and its original warm-up deadline.
RoutePolicyAuthority
The daemon’s route-policy adapter, supplied through its Rust constructor. Success means affected routes and the stamps granting their permissions have been revoked, and every new route.open reads the exact approved policy. The delivery caller holds the module configuration lock, but not the store mutex, across this call. An implementation must not reacquire that lock or report success after merely requesting an asynchronous policy reload. Its future must retain a restoration guard before changing authority, so cancellation also restores the previous policy. Daemon restart rebuilds authority from the durable active generation, or from the configuration files used before approval was enabled when no active generation has been recorded.
RoutePolicyReceipt
In-memory policy restoration captured by the trusted route adapter. Both operations are infallible, bounded in-memory changes; they cannot await, perform I/O, or reacquire the configuration store or module lock. Restoring policy does not resurrect closed routes or their revoked permission stamps.

Type Aliases§

RoutePolicyInstall