Skip to content

fix: recover stale CLI auth and expose retryable failures - #104

Merged
BunsDev merged 1 commit into
mainfrom
auth-retry-reconcile
Oct 4, 2026
Merged

BunsDev merged 1 commit into
mainfrom
auth-retry-reconcile

Conversation

@BunsDev

@BunsDev BunsDev commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Reconcile draft fix: recover stale CLI auth and expose retryable failures #68 onto merged v0.0.6, Claude sign-in, and ChatGPT sign-in without touching the preserved original worktrees.
  • Retry a stale Codex login once while preserving other active turns, and persist actionable failure cards with Retry, remedies, and Copy details.
  • Fix the model-catalog Retry e2e race by waiting for the reloaded view before using its shortcut; qualify the toast Dismiss locator after Copy was added.
  • Preserve account error redaction when recording a structured Codex app-server exit.

Verification on signed head 5a9cacf

  • npm run build && npm test && npm run typecheck: 15 core and 231 desktop tests passed.
  • Full npm run test:e2e: 87/89 passed locally. The worktree creation case hit its existing 15 second timeout under host load; the toast test used an ambiguous button locator before the correction. Both cases passed in focused reruns after the correction. The model-catalog Retry case passed in the full run.
  • git verify-commit HEAD and merge-tree against origin/main passed.
  • Two required macOS CI jobs are the remaining merge gate.

This replaces draft PR #68 once the exact-head CI and review gates pass. Approval rules and browser work remain separate.

Copilot AI balanced review requested due to automatic review settings October 4, 2026 08:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@BunsDev
BunsDev merged commit 8e57905 into main Oct 4, 2026
2 checks passed
@BunsDev
BunsDev deleted the auth-retry-reconcile branch October 7, 2026 05:59
BunsDev added a commit that referenced this pull request Oct 18, 2026
Turn failures got Retry, a fix and Copy details in #104, but about two
dozen other error surfaces still showed bare text. Copying it lost where
and when it happened, and most offered no way to run the action again.

A shared ErrorNotice now renders those errors: the message, Retry when the
failed action can safely run again, a fix when there is a better remedy,
Dismiss where the surface had one, and Copy details. The copied report
(shared/error-report.ts) names where and when it happened, quotes the
message, and lists the surface's context. Main appends the app version,
Electron version and platform through clipboard:write's new appInfo flag.
Streamer Mode redacts the shown message and the whole report.

Retry repeats exactly the action that failed: restart the terminal, reload
a diff, file or preview, re-run a companion, routine, plugin or browser
action, save Settings again, re-run an approval preview, reload history,
comments or agent access. It is left out where repeating cannot help: a
rejected browser address, a skill in the wrong scope, lists that already
refresh every few seconds, the learning reset (its text says to reopen
Settings first), and Images, whose errors have no single action.

e2e: the Settings save failure test now copies the report and retries the
save; two selectors follow the moved Retry and message elements.

Coven-Harness: Claude Code / claude-opus-5-5
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.

2 participants