Skip to content

feat(backend): make browser sessions idempotent#13

Merged
gcharang merged 2 commits into
masterfrom
feat/cross-repo-consumer-e2e
Jul 21, 2026
Merged

feat(backend): make browser sessions idempotent#13
gcharang merged 2 commits into
masterfrom
feat/cross-repo-consumer-e2e

Conversation

@gcharang

Copy link
Copy Markdown
Contributor

Summary

  • accept an optional Idempotency-Key UUID on session creation
  • derive a tenant-salted deterministic session nonce so retries converge without exposing the key
  • preserve fresh random sessions when the header is absent and reject malformed, empty, or whitespace-only keys
  • update backend and cross-repository integration documentation

Test plan

  • pnpm --filter @understudy/backend typecheck
  • pnpm --filter @understudy/backend exec vitest run test/auth.test.ts test/service.test.ts --reporter=dot — 98 tests passed

@gcharang
gcharang merged commit 4a48b94 into master Jul 21, 2026
1 check passed
@gcharang
gcharang deleted the feat/cross-repo-consumer-e2e branch July 21, 2026 17:28
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.

1 participant