mirror of
https://github.com/ollama/ollama.git
synced 2026-04-25 18:25:42 +02:00
Add comprehensive test coverage for local sign-in state storage: signin_state_test.go: - Basic set/get/clear operations - File not found and invalid JSON handling - Atomic write verification - File permissions check - Round-trip test signin_flow_test.go: - WhoamiHandler flow simulation - Offline scenarios (with/without cache) - Session overwrite behavior - Edge cases: empty name, unicode, special chars, long values - Concurrent read/write access - Filesystem edge cases (read-only directory)