Files
ollama/auth
ParthSareen f4e5978e4f auth: add tests for sign-in state functions
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)
2026-01-07 15:41:36 -08:00
..
2026-01-07 15:35:48 -08:00