Spaces:
Sleeping
Sleeping
Commit History
-
Add tests for batch uploader and deduplicator logic
- Implemented unit tests for BatchUploader to validate retry logic, deduplication, and file upload scenarios. - Added a test for Deduplicator to ensure it handles timeouts correctly. - Created temporary audio files and CSVs for testing purposes. - Included various log files to capture upload processes and error handling.2b0510e
-
Remove unit tests for AuthService, DetectionQueueService, EphemeralCacheManager, InviteEmailNotifier, models, project CLI, and ValidationService
92232c9 -
Implement secure token handling with HF_TOKEN env var support
- Add HF_TOKEN environment variable support (priority: HF_TOKEN > keyring) - Update AuthService.get_token() to check env var before keyring - Document token resolution order in docstrings and CLI help - Add comprehensive token security guide (TOKEN_SECURITY.md) - Add token usage examples for Docker, GitHub Actions, Kubernetes (TOKEN_USAGE_EXAMPLES.md) - Add 13 new security tests in test_token_security.py: * Verify tokens never leak in error messages * Test env var takes precedence over keyring * Test whitespace stripping * Test empty env var fallback behavior * Test CLI output doesn't expose tokens - Improve Dockerfile.windows comments on token handling - Ensure tokens never appear in logs (no changes needed, design already secure) Security improvements: - CLI --token option takes precedence (for explicit control) - HF_TOKEN env var useful for Docker/CI/CD (secure at runtime) - Keyring storage for interactive local use (OS-level encryption) - All paths documented with securi…4046a11
-
Make session storage container-friendly
876cca8 -
Add uploader release flow and integration test
7c83d76
-
Forçar atualização total do app
2f1a5fb