Skip to content

feat: add idempotency keys - #152

Merged
lleyton merged 10 commits into
mainfrom
addison/idempotency
Oct 15, 2026
Merged

lleyton merged 10 commits into
mainfrom
addison/idempotency

Conversation

@addidotlol

Copy link
Copy Markdown
Member

fixes #91

@addidotlol
addidotlol enabled auto-merge October 14, 2026 09:03
- Add idempotent() and idempotencyScope() to lib/idempotency.ts, replacing prepareIdempotentRequest
- Derive userId from page state inside the helper so call sites no longer pass it
- Remove manual request.complete() calls across create dialogs, pages, and admin campaign sends
- Release the stored key as soon as the command resolves, not after navigation or redirect
@lleyton
lleyton disabled auto-merge October 15, 2026 05:01
@lleyton
lleyton merged commit a5a3fa9 into main Oct 15, 2026
4 checks passed
@lleyton
lleyton deleted the addison/idempotency branch October 15, 2026 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement idempotency tokens

2 participants