Skip to content

Improve error handling for keychain and auto-checkpoints#78

Open
zmanian wants to merge 1 commit intomcintyre94:mainfrom
zmanian:fix/error-handling-improvements
Open

Improve error handling for keychain and auto-checkpoints#78
zmanian wants to merge 1 commit intomcintyre94:mainfrom
zmanian:fix/error-handling-improvements

Conversation

@zmanian
Copy link
Copy Markdown
Contributor

@zmanian zmanian commented Mar 14, 2026

Summary

  • KeychainService.delete now returns a Bool indicating success/failure (previously returned Void and silently ignored SecItemDelete errors). Marked @discardableResult so existing callers don't need changes.
  • Auto-checkpoint failures now surface as a transient .error status instead of being silently logged. Previously, if checkpoint creation failed repeatedly, the user had no visibility.

Test plan

  • Verify sign-out still works (calls keychain delete)
  • Verify GitHub disconnect still works
  • Simulate a checkpoint failure and confirm error appears in status bar

Generated with Claude Code

- KeychainService.delete now returns success/failure status
- Auto-checkpoint failures surface as a transient error status
  instead of being silently logged

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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