|
Add auth resilience: user cache, retry, and API token fallback
- 30-second in-memory _user_cache to avoid hammering gnexus-auth - _fetch_user_with_retry: one retry after 1.5s sleep on transient failure - API token fallback when OAuth cookie is present but refresh fails - Clear cache/locks in test fixture to prevent cross-test pollution - Fix registry timeout test after lowering default to 90s Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
|---|
|
|
| navi/auth/deps.py |
|---|
| tests/unit/auth/test_deps.py |
|---|
| tests/unit/core/test_registry.py |
|---|