Skip to main content

Module operation_dedup

Module operation_dedup 

Source
Expand description

Portable idempotency receipt vocabulary.

Structs§

DedupConflictMetadata
Safe-to-report metadata for an existing op-id slot. This deliberately omits cached response bytes; callers use it to explain conflicts without leaking command output.
DedupEntry
One persisted dedup entry. Identity is (operation_id, verb).

Enums§

DedupOutcome
Result of a dedup reservation call.

Constants§

DEFAULT_RETENTION_SECS
Default retention for completed receipts. Pending reservations do not expire.

Functions§

hash_request_body
Hash the caller’s canonical request bytes for deduplication.