Skip to main content

Module idempotency

Module idempotency 

Source
Available on crate feature serve only.
Expand description

Stable content fingerprint for idempotency replay-vs-conflict detection. A key replayed with the same merged config returns the existing run; reused with a different config is a 409. The hash is order-independent for object keys (canonical JSON) and stable across process restarts (sha256), so the Phase 5 SQL backends can store and compare it unchanged.

Functionsยง

fingerprint
Fingerprint of a merged, resolved config plus its pipeline name.
request_fingerprint
Fold the run-affecting request fields into the config fingerprint.