hyperswitch
83de1fd9 - feat(deja): clock and id-generation determinism seams

Commit
121 days ago
feat(deja): clock and id-generation determinism seams Annotate the wall-clock reads (date_time::now / now_unix_timestamp / date_as_yyyymmddthhmmssmmmz / now_rfc7231_http_date) and id generators (common_utils/router nanoid ids, user id, merchant publishable key) as gated deja::time / deja::id boundaries so replay reproduces the exact recorded value. Boundaries are `cfg_attr(feature = "deja", ...)` attributes; `#[track_caller]` is gated so feature-off codegen is unchanged. The tiny helper extractions (generate_user_id) are the minimal structure needed to attach a boundary and are behavior-identical when the feature is off. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Author
Committer
Parents
Loading