exlab_wizard.cache#

Cache package. Backend Spec §11.

Functions

lock_path_for(path)

Return the advisory file-lock path string for path.

exlab_wizard.cache.lock_path_for(path)[source]#

Return the advisory file-lock path string for path.

Centralizes the str(path) + ".lock" convention used by every cache writer so the suffix lives in exactly one place.

Parameters:

path (Path)

Return type:

str

Modules

creation_writer

Atomic reader/writer for creation.json.

equipment

Writer for equipment.json (registry) and test_runs.json (marker).

log_writer

Append-only writer for wizard.<hostname>.log files.

sync_state_schema

msgspec.Struct types for the per-run sync_state.json cache.

sync_state_writer

Orchestrator-only writer for sync_state.json.