MountEligibilityAssets class
Injects grid_assets mount eligibility into the ambient service bundle.
Eligible snapshots pass through synchronously. A refused snapshot starts one scoped fresh FILING read; while it is in flight the refusal stays LOUD, and completion re-provides the bundle with either the fresh decision or a refusal that names the read failure. The read is BOUNDED by kMountEligibilityReadDeadline so "in flight" always ends: a store that never answers becomes a named failure, never a permanent pending clause.
That named failure is RETRYABLE. It answers rechecks for kMountEligibilityReadRetryBackoff (doubled per consecutive failure of the same bead), and the first evaluation after that reads again — so a bead whose read lost a boot burst recovers on its own, and no bead ever needs an edit to its content to be looked at a second time.
The fresh read is a FilingService.inspect rather than a bare bead query,
because a receipt bound to a filing basis can only be judged against a
re-evaluation of that basis — the bead's own fields plus the dependency
ROWS the substation store holds. A bound receipt
therefore refuses SYNCHRONOUSLY as unevaluated (there is no revision to
compare yet) and mounts only once the recomputed revision matches the
stamped one. The legacy raw-sha receipt has no basis to re-derive, so a
complete one still passes through synchronously and queries nothing.
Constructors
- MountEligibilityAssets({BdRunner runnerFor(String storeRoot) = _processRunnerFor, DateTime now() = DateTime.now, Duration readDeadline = kMountEligibilityReadDeadline, Duration retryBackoff = kMountEligibilityReadRetryBackoff, Seed? child, Key? key})
-
Creates the mount-boundary assets node.
const
Properties
- child → Seed?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Identity
Keyused by keyed reconciliation (Branch.updateChildren). Null means positional (unkeyed) identity.finalinherited - readDeadline → Duration
-
How long ONE fresh read may run before it is killed and refused; see
kMountEligibilityReadDeadline for why the read needs a deadline at all.
final
- retryBackoff → Duration
-
How long the FIRST failure of a bead's read is cached before it is read
again; see kMountEligibilityReadRetryBackoff for the doubling and cap.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createBranch(
) → SingleChildStatefulBranch -
Creates the mounted
Branchfor this configuration.inherited -
createState(
) → SingleChildState< MountEligibilityAssets> - Creates the mutable state for a branch of this seed.
-
debugFillProperties(
DiagnosticsBuilder properties) → void -
Adds this object's diagnostic properties to
properties.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toStringDeep(
) → String -
Returns a deterministic multiline description of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited