Skip to content

Amp: detect login redirects#339

Merged
ratulsarna merged 1 commit intomainfrom
codex/fix-amp-login-redirect
Feb 9, 2026
Merged

Amp: detect login redirects#339
ratulsarna merged 1 commit intomainfrom
codex/fix-amp-login-redirect

Conversation

@ratulsarna
Copy link
Collaborator

What

Fail fast when Amp redirects to login during usage fetch (instead of looping / surfacing confusing HTTP errors).

Why

Improves reliability for expired/invalid Amp sessions and avoids redirect loops.

Notes

Extracted from #324 (thanks @JosephDoUrden).

Testing

  • swift test
  • pnpm check

@ratulsarna ratulsarna merged commit a60b184 into main Feb 9, 2026
4 of 7 checks passed
@ratulsarna ratulsarna deleted the codex/fix-amp-login-redirect branch February 9, 2026 19:08
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