symfonic.capabilities.memory.write_pending¶
write_pending ¶
Unpublished coordinator entries and their accepted native PG claims.
retire_snapshot ¶
retire_snapshot(entries: dict[str, _Pending], snapshots: dict[str, PendingSnapshot], confirmed: set[str]) -> tuple[Claim, ...]
Prune confirmed snapshot tokens, never a later accepted version.
Source code in src/symfonic/capabilities/memory/write_pending.py
settle
async
¶
Classify a background write's cancellation without swallowing ours.
Source code in src/symfonic/capabilities/memory/write_pending.py
snapshot_pending ¶
snapshot_pending(entries: dict[str, _Pending], paths: tuple[str, ...]) -> dict[str, PendingSnapshot]
Capture exact accepted claim versions before an asynchronous lifecycle.