fetch_ml/internal
Jeremie Fraeys 188cf55939
refactor(api): overhaul WebSocket handler and protocol layer
Major WebSocket handler refactor:
- Rewrite ws/handler.go with structured message routing and backpressure
- Add connection lifecycle management with heartbeats and timeouts
- Implement graceful connection draining for zero-downtime restarts

Protocol improvements:
- Define structured protocol types in protocol.go for hub communication
- Add versioned message envelopes for backward compatibility
- Standardize error codes and response formats across WebSocket API

Job streaming via WebSocket:
- Simplify ws/jobs.go with async job status streaming
- Add compression for high-volume job updates

Testing:
- Update websocket_e2e_test.go for new protocol semantics
- Add connection resilience tests
2026-03-12 12:01:21 -04:00
..
api refactor(api): overhaul WebSocket handler and protocol layer 2026-03-12 12:01:21 -04:00
audit feat(audit): add HTTP audit middleware and tamper-evident logging 2026-03-08 13:03:02 -04:00
auth fix: add CGO build tags to consistency tests, remove unused isHex function 2026-03-08 13:10:00 -04:00
config feat(domain): add task visibility and supporting infrastructure 2026-03-08 13:03:27 -04:00
container feat(domain): add task visibility and supporting infrastructure 2026-03-08 13:03:27 -04:00
crypto feat(domain): add task visibility and supporting infrastructure 2026-03-08 13:03:27 -04:00
domain feat(domain): add task visibility and supporting infrastructure 2026-03-08 13:03:27 -04:00
envpool refactor(utilities): update supporting modules for scheduler integration 2026-02-26 12:07:15 -05:00
errtypes refactor(utilities): update supporting modules for scheduler integration 2026-02-26 12:07:15 -05:00
experiment feat(domain): add task visibility and supporting infrastructure 2026-03-08 13:03:27 -04:00
fileutil feat(domain): add task visibility and supporting infrastructure 2026-03-08 13:03:27 -04:00
jupyter feat(domain): add task visibility and supporting infrastructure 2026-03-08 13:03:27 -04:00
logging refactor(utilities): update supporting modules for scheduler integration 2026-02-26 12:07:15 -05:00
manifest feat: enhance task domain and scheduler protocol 2026-03-04 13:23:38 -05:00
metrics refactor: Phase 6 - Complete migration, remove legacy files 2026-02-17 14:39:48 -05:00
middleware test: update test suite and remove deprecated privacy middleware 2026-03-08 13:03:55 -04:00
network feat(domain): add task visibility and supporting infrastructure 2026-03-08 13:03:27 -04:00
privacy refactor(utilities): update supporting modules for scheduler integration 2026-02-26 12:07:15 -05:00
prommetrics feat(api): refactor websocket handlers; add health and prometheus middleware 2026-01-05 12:31:07 -05:00
queue feat(domain): add task visibility and supporting infrastructure 2026-03-08 13:03:27 -04:00
resources refactor(utilities): update supporting modules for scheduler integration 2026-02-26 12:07:15 -05:00
scheduler feat(scheduler): implement capability-based routing and hub v2 2026-03-12 12:00:05 -04:00
security refactor(utilities): update supporting modules for scheduler integration 2026-02-26 12:07:15 -05:00
storage feat(storage): add groups, tasks, tokens, and audit database schemas 2026-03-08 12:48:42 -04:00
telemetry Fix multi-user authentication and clean up debug code 2025-12-06 12:35:32 -05:00
tracking refactor(utilities): update supporting modules for scheduler integration 2026-02-26 12:07:15 -05:00
validation feat: add security monitoring and validation framework 2026-02-19 15:34:25 -05:00
worker refactor(scheduler,worker): improve service management and GPU detection 2026-03-08 13:03:15 -04:00