Files
Bereket Engida b25793daae fix(core): retry auth context init after a transient failure
Previously createBetterAuth awaited a single memoized promise for the
auth context. If initFn rejected once (e.g. a plugin's init hitting a
transient DB error), that rejection was cached forever and every later
request, auth.api.* call, and auth.$context access failed for the
process lifetime.

Replace the single promise with a retryable getter: a failed attempt
clears the memoized promise so the next caller retries initFn, while a
successful context is still memoized and never re-created.
2026-09-30 07:42:05 -07:00
..
…

Changesets

Hello and welcome! This folder has been automatically generated by @changesets/cli, a build tool that works with multi-package repos, or single-package repos to help you version and publish your code. You can find the full documentation for it in our repository.

We have a quick list of common questions to get you started engaging with this project in our documentation.