fix(codex): prevent transient managed-auth onboarding (#11731)
* fix(codex): gate terminal spawn on managed auth readiness * fix(codex): recover unavailable managed auth safely --------- Co-authored-by: Brennan Benson <79079362+brennanb2025@users.noreply.github.com>
This commit is contained in:
@@ -8,6 +8,7 @@ afterEach(() => {
|
||||
describe('isCodexAuthError', () => {
|
||||
it('matches Codex authentication refresh failures', () => {
|
||||
expect(isCodexAuthError('Access token could not be refreshed')).toBe(true)
|
||||
expect(isCodexAuthError('Sign in with ChatGPT')).toBe(true)
|
||||
expect(isCodexAuthError('plain provider error')).toBe(false)
|
||||
expect(isCodexAuthError(null)).toBe(false)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user