Repository navigation
OpenAPI: a sign-in gate's 503 when the session cannot be verified - #939
Merged
Merged
Conversation
…ot be verified Co-Authored-By: Claude Opus 5.5 <[email protected]>
jimhoyd
enabled auto-merge (squash)
September 29, 2026 17:50
jimhoyd
added a commit
that referenced
this pull request
Sep 29, 2026
…-doc links, drop a duplicated store CHANGELOG entry Co-Authored-By: Claude Opus 5.5 <[email protected]>
jimhoyd
added a commit
that referenced
this pull request
Sep 29, 2026
…d store CHANGELOG entry Co-Authored-By: Claude Opus 5.5 <[email protected]>
jimhoyd
added a commit
that referenced
this pull request
Sep 29, 2026
--local-review and hermetic runs compose: the store-credits recipe seeds its issuer from tests/seed.json instead of adding it to the live database, and the recipe tests assert nothing reaches the configured database. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The auth adapter answers
503 auth_unavailablewithRetry-Afterwhen its database is unavailable, instead of a false 401 (#927/#934). The OpenAPI export listed only the gate's 401 and 403, so a generated client had no documented way to tell "not signed in" apart from "retry later".gateResponsesnow adds a503(with aRetry-Afterheader and an extension-defined body) to every method on a route behind a principal-providing gate. As with 401 and 403, it's generic: it applies to anyprovidesPrincipalextension, and none is named in core.describe()also answers 503, the existing merge keeps both descriptions and drops the body schema.test/openapi.test.ts(asserts the 503 and itsRetry-After), and the Auth.js provider integration test's key list.Evidence:
npm run verifyandnpm run test:packageare green locally on Node 26.🤖 Generated with Claude Code