fetch_ml/tests/integration
Jeremie Fraeys dbf96020af
refactor(dependency-hygiene): Fix Redis leak, simplify TUI wrapper, clean go.mod
Phase 1: Fix Redis Schema Leak
- Create internal/storage/dataset.go with DatasetStore abstraction
- Remove all direct Redis calls from cmd/data_manager/data_sync.go
- data_manager now uses DatasetStore for transfer tracking and metadata

Phase 2: Simplify TUI Services
- Embed *queue.TaskQueue directly in services.TaskQueue
- Eliminate 60% of wrapper boilerplate (203 -> ~100 lines)
- Keep only TUI-specific methods (EnqueueTask, GetJobStatus, experiment methods)

Phase 5: Clean go.mod Dependencies
- Remove duplicate go-redis/redis/v8 dependency
- Migrate internal/storage/migrate.go to redis/go-redis/v9
- Separate test-only deps (miniredis, testify) into own block

Results:
- Zero direct Redis calls in cmd/
- 60% fewer lines in TUI services
- Cleaner dependency structure
2026-02-17 21:13:49 -05:00
..
duplicate_detection_test.go test: add comprehensive test coverage and command improvements 2026-02-16 20:38:15 -05:00
integration_test.go Fix multi-user authentication and clean up debug code 2025-12-06 12:35:32 -05:00
jupyter_experiment_test.go test: add comprehensive test coverage and command improvements 2026-02-16 20:38:15 -05:00
protocol_test.go test: add comprehensive test coverage and command improvements 2026-02-16 20:38:15 -05:00
queue_execution_test.go Fix multi-user authentication and clean up debug code 2025-12-06 12:35:32 -05:00
storage_redis_integration_test.go Fix multi-user authentication and clean up debug code 2025-12-06 12:35:32 -05:00
telemetry_integration_test.go Fix multi-user authentication and clean up debug code 2025-12-06 12:35:32 -05:00
websocket_queue_integration_test.go refactor(dependency-hygiene): Fix Redis leak, simplify TUI wrapper, clean go.mod 2026-02-17 21:13:49 -05:00
worker_test.go test: expand unit/integration/e2e coverage for new worker/api behavior 2026-01-05 12:31:36 -05:00
ws_handler_integration_test.go refactor(dependency-hygiene): Fix Redis leak, simplify TUI wrapper, clean go.mod 2026-02-17 21:13:49 -05:00
zero_install_test.go Fix multi-user authentication and clean up debug code 2025-12-06 12:35:32 -05:00