Skip to main content

Module persistence

Module persistence 

Source
Expand description

Durable publication, journal/layout exclusion and retained local dependencies.

Structs§

AttemptJournalGuard
Exclusive local accounting borrowing stable layout exclusion.
BackupLayoutGuard
Exclusive access to an existing resolved backup layout and its dependencies.
CommandLifetimeLock
Exclusive custody for one journal operation’s local command attempt.
CommandQuiescenceGuard
Fresh exclusive local quiescence for retained exact custody evidence.
DownloadJournalGuard
Exclusive local lifecycle access borrowing the stable backup layout guard.
JournalLock
JournalLock

Enums§

ArtifactCommitOutcome
Result of publishing a temporary artifact or recovering its published tree.
AttemptJournalError
Typed exact admission, local accounting or durable publication failure.
CommandLifetimeLockError
Typed custody admission, dispatch or quiescence failure.
DownloadJournalError
Typed local journal admission or durable lifecycle failure.
EffectGraphPersistenceError
Typed declared graph identity or immutable local persistence rejection.
InventoryError
Typed exact declared-identity or durable local inventory admission failure.
JournalLockError
JournalLockError
OperationPlanPersistenceError
Typed original operation-plan identity or bounded immutable local admission failure.
PersistenceError
Typed local persistence failure.

Constants§

COMMAND_CUSTODY_DESCRIPTOR_ENV
Child environment variable containing its inherited custody descriptor number.
MAX_RESTORE_REFERENCE_BYTES
Maximum bytes decoded or published for one restore-dependency record.

Functions§

commit_artifact_directory
Durably publish or recover one checksum-verified snapshot directory.
create_effect_graph
Durably create effect-graph.json under layout exclusion without replacing evidence.
create_inventory
Durably create inventory.json under held layout exclusion without replacing evidence.
create_json_durable
Publish a new machine record without replacing an existing entry.
create_operation_plan
Durably create fixed operation-plan.json without replacing prior evidence.
read_effect_graph
Admit retained bounded graph under its original exact expected digest, using local IO only.
read_inventory
Read bounded validated local inventory under its original expected canonical digest.
read_json
Read one regular no-follow JSON file within an explicit byte limit.
read_operation_plan
Admit bounded validated local plan under its exact original expected intent digest.
write_json_durable
Durably replace a machine record using a sibling temporary and rename.