Skip to main content

Module state_local_build

Module state_local_build 

Source

StructsΒ§

LocalBuildReport
Summary of one local build attempt, for the admin debug command.
Node πŸ”’
Held outlier in the walk sub-DAG.
Walk πŸ”’
State threaded through one walk’s discovery and build phases.

EnumsΒ§

Class πŸ”’
Ancestry classification from the discovery phase.
Fallback πŸ”’
Why a walk gave up; every reason falls back to the federation fetch.
WalkMode πŸ”’
Active writes fork-node memo rows; Shadow suppresses all persistent writes.

ConstantsΒ§

DIVERGENCE_SAMPLE πŸ”’
Bound on diverging shortstatekeys sampled into the shadow-mode debug log.
MAX_LIVE_ENTRIES πŸ”’
Ceiling on simultaneously live state-map entries across one walk: the sum of the lengths of materialized maps no consumer has released yet. Exceeding it falls back to the federation fetch. Deliberately a const, not config; revisit only if operation trips it.

FunctionsΒ§

compare_shadow πŸ”’
Diff a shadow-mode local build against the authoritative fetched state. Divergence is neutral on which side is wrong; the soak analysis decides.
diverging πŸ”’
Keys of entries in a absent from or differing in b.

Type AliasesΒ§

StateIds πŸ”’
State before or after one event, in the shape the sibling builders return.