symfonic.memory.backends.postgres_lifecycle_deadline¶
postgres_lifecycle_deadline ¶
Private graph-only lifecycle budget and commit outcome labels.
LifecycleCommitIndeterminateError ¶
Bases: ForgetCommitIndeterminateError
COMMIT was not confirmed; reconcile durable state before retrying.
cycle_flush_join
async
¶
Permit only the selected exact HMS flush await to join its outer owner.
CycleWrites encloses one call to the exact GraphBackedHms.flush method; that implementation has no callback or other lifecycle verb. The permit is removed as soon as that await returns, before outer COMMIT.
Source code in src/symfonic/memory/backends/postgres_lifecycle_deadline.py
cycle_lifecycle_transaction
async
¶
Own the native cycle's only transaction through its top-level COMMIT.
Source code in src/symfonic/memory/backends/postgres_lifecycle_deadline.py
lifecycle_transaction
async
¶
Share forget's acquisition-to-COMMIT budget and ambient connection.
A confirmed precommit timeout rolls back. An unconfirmed COMMIT outcome keeps its distinct error because rollback cannot be asserted. An arbitrary ambient pool transaction cannot bound its outer COMMIT and is refused before mutation. Only the cycle-owned deadline may be joined.