Skip to content

fix(tickets): preserve account state during inactive credential refresh - #190

Merged
HTExplicit merged 1 commit into
mainfrom
fix/ticket-credential-status
Sep 19, 2026
Merged

HTExplicit merged 1 commit into
mainfrom
fix/ticket-credential-status

Conversation

@HTExplicit

Copy link
Copy Markdown
Owner

292 harvesting now admits disabled/error OpenAI OAuth accounts, but the shared OAuth refresh path still skipped their expired credentials and could overwrite account status when the refresh token was missing.

Mark ticket credential requests with a private context value. Only eligible OpenAI ticket accounts may refresh while inactive through this path; expired credentials without a refresh token return a ticket authentication failure without quarantining or changing the account. Ordinary inference retains its existing inactive-account and missing-refresh-token protections. Setup Token behavior remains unchanged.

Focused synthetic tests cover inactive credential refresh, unchanged account status/schedulability/error text, no upstream ticket request on invalid credentials, and preservation of ordinary inference protections. This completes the status-independent ticket behavior in #189 before release.

@HTExplicit
HTExplicit enabled auto-merge (squash) September 19, 2026 06:18
@HTExplicit
HTExplicit merged commit 65a82d9 into main Sep 19, 2026
16 checks passed
@HTExplicit
HTExplicit deleted the fix/ticket-credential-status branch September 19, 2026 06:38
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