Skip to content

fix(models): surface refused credentials with recovery and handoff - #87

Closed
TheGreatAxios wants to merge 1 commit into
mainfrom
cl-11969-surface-expired-or-refused-provider-credentials-in-place
Closed

TheGreatAxios wants to merge 1 commit into
mainfrom
cl-11969-surface-expired-or-refused-provider-credentials-in-place

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Closes CL-11969.

  • Probe stored provider connections with a short TTL cache so expired or revoked credentials report status: "refused" in the model catalog instead of appearing runnable.
  • Exclude refused provider connections from runnable profile resolution and allow updating a project's frozen model choice when switching away from a refused credential.
  • Scrub raw provider credential failure strings ([HTTP 401], invalid x-api-key, credential_failure) from the conversation transcript and specialist-ended notices, and terminate the live thinking indicator when a run fails on credentials.
  • Surface in-place credential recovery (Re-add key / Reconnect and profile handoff) in the workspace composer, new-project profile selector, and Settings -> Providers.

@linear-code

linear-code Bot commented Nov 2, 2026

Copy link
Copy Markdown

CL-11969

@TheGreatAxios
TheGreatAxios force-pushed the cl-11969-surface-expired-or-refused-provider-credentials-in-place branch from dc85781 to 378a241 Compare November 2, 2026 07:57

@corbits-triage corbits-triage Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Triage requests changes:

  • Conventions: added code matches a code pattern
    • apps/web/src/pages/profile-select.tsx:86 empty-list-fallback: Invented fallback `?? []`; handle the missing value instead.
    • apps/web/src/pages/workspace/credential-recovery.tsx:67 empty-list-fallback: Invented fallback `?? []`; handle the missing value instead.
    • apps/web/src/pages/workspace/credential-recovery.tsx:114 empty-list-fallback: Invented fallback `?? []`; handle the missing value instead.
    • apps/web/src/pages/workspace/credential-recovery.tsx:161 empty-list-fallback: Invented fallback `?? []`; handle the missing value instead.
    • apps/web/src/pages/workspace/index.tsx:1035 empty-list-fallback: Invented fallback `?? []`; handle the missing value instead.
    • apps/web/src/pages/workspace/index.tsx:1375-1617 nested-ternary: Nested ternary; use if statements or a lookup.
    • apps/web/src/pages/workspace/index.tsx:1399-1617 nested-ternary: Nested ternary; use if statements or a lookup.
    • apps/web/src/pages/workspace/index.tsx:1432-1617 nested-ternary: Nested ternary; use if statements or a lookup.
    • apps/web/src/pages/workspace/transcript.tsx:571-575 nested-ternary: Nested ternary; use if statements or a lookup.
  • Invented fallbacks: added code matches a code pattern
    • apps/web/src/pages/workspace/credential-recovery.tsx:61 empty-fallback: Invented fallback (an empty string, list, object or zero); handle the missing value instead.
    • apps/web/src/pages/workspace/dispatch-card.tsx:320 empty-fallback: Invented fallback (an empty string, list, object or zero); handle the missing value instead.

@TheGreatAxios
TheGreatAxios force-pushed the cl-11969-surface-expired-or-refused-provider-credentials-in-place branch from 378a241 to e560c80 Compare November 2, 2026 08:07

@corbits-triage corbits-triage Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Triage requests changes:

  • Conventions: added code matches a code pattern
    • apps/web/src/pages/workspace/index.tsx:1374-1601 nested-ternary: Nested ternary; use if statements or a lookup.
    • apps/web/src/pages/workspace/index.tsx:1398-1601 nested-ternary: Nested ternary; use if statements or a lookup.
    • apps/web/src/pages/workspace/index.tsx:1416-1601 nested-ternary: Nested ternary; use if statements or a lookup.

@TheGreatAxios
TheGreatAxios deleted the cl-11969-surface-expired-or-refused-provider-credentials-in-place branch November 2, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant