Skip to content

fix(usage): runtime, credential fallback, and concurrency fixes - #8

Merged
shidevil merged 1 commit into
mainfrom
feat/usage-command
May 3, 2026
Merged

fix(usage): runtime, credential fallback, and concurrency fixes#8
shidevil merged 1 commit into
mainfrom
feat/usage-command

Conversation

@shidevil

@shidevil shidevil commented May 3, 2026

Copy link
Copy Markdown
Owner
  • Switch all 7 providers to current-thread Tokio runtime to reduce thread count when fetched in parallel
  • Claude: fallback from stale/corrupt credentials file to keychain
  • Claude: always persist refreshed tokens (not just file-sourced)
  • atomic_write_secret: use PID-scoped temp file to avoid concurrent write collisions

- Switch all 7 providers to current-thread Tokio runtime to reduce
  thread count when fetched in parallel
- Claude: fallback from stale/corrupt credentials file to keychain
- Claude: always persist refreshed tokens (not just file-sourced)
- atomic_write_secret: use PID-scoped temp file to avoid concurrent
  write collisions

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@shidevil
shidevil merged commit 44a70c1 into main May 3, 2026
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