Skip to content

Fix Grok CLI authentication persistence - #192

Merged
jsgrrchg merged 2 commits into
mainfrom
fix/grok-auth-persistence
Jul 31, 2026
Merged

Fix Grok CLI authentication persistence#192
jsgrrchg merged 2 commits into
mainfrom
fix/grok-auth-persistence

Conversation

@jsgrrchg

Copy link
Copy Markdown
Owner

Summary

  • detect the current ~/.grok/auth.json credential store while preserving the legacy directory fallback
  • accept Grok CLI credentials renewed after a persisted authentication invalidation
  • reconcile stale invalidation state across native and legacy runtime settings during startup
  • isolate Grok authentication tests from the developer machine and cover restart-related regressions

Validation

  • pnpm exec vitest run src/main/ai/grok/setup.test.ts src/main/ai/service.grok.test.ts
  • cargo test -p comando-ai --lib
  • cargo test -p comando-native-backend --lib
  • pnpm run typecheck
  • targeted ESLint checks
  • cargo fmt --all -- --check
  • git diff --check

@jsgrrchg
jsgrrchg merged commit c2b1cf9 into main Jul 31, 2026
10 checks passed
@jsgrrchg
jsgrrchg deleted the fix/grok-auth-persistence branch July 31, 2026 10:39
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