fetch_ml/tests/unit/api
Jeremie Fraeys de877a3030
feat: implement WebSocket handler improvements and metrics persistence
- Add websocket_metrics table to SQLite and Postgres schemas
- Create db_metrics.go with RecordMetric, GetMetrics, GetMetricSummary methods
- Integrate metrics persistence into handleLogMetric WebSocket handler
- Remove duplicate db_datasets.go to fix type mismatches
- Move tests to tests/unit/api/ws/ following project structure
- Add payload parsing tests for handleLogMetric, handleGetExperiment, handleStatusRequest
- Update handler.go line count to 541 (still under 500 limit target)
2026-02-18 14:36:05 -05:00
..
helpers test: add comprehensive test coverage and command improvements 2026-02-16 20:38:15 -05:00
ws feat: implement WebSocket handler improvements and metrics persistence 2026-02-18 14:36:05 -05:00
duplicate_detection_process_test.go test: add comprehensive test coverage and command improvements 2026-02-16 20:38:15 -05:00
ws_jobs_args_test.go refactor: Migrate all test imports from api to api/ws package 2026-02-17 13:52:20 -05:00
ws_jupyter_test.go test: expand unit/integration/e2e coverage for new worker/api behavior 2026-01-05 12:31:36 -05:00
ws_test.go test: fix ws_test.go to use updated NewHandler signature 2026-02-17 20:51:57 -05:00