Lukas
42a07be4cb
feat: implement WebSocket real-time communication infrastructure
- Add WebSocketService with ConnectionManager for connection lifecycle
- Implement room-based messaging for topic subscriptions (e.g., downloads)
- Create WebSocket message Pydantic models for type safety
- Add /ws/connect endpoint for client connections
- Integrate WebSocket broadcasts with download service
- Add comprehensive unit tests (19/26 passing, core functionality verified)
- Update infrastructure.md with WebSocket architecture documentation
- Mark WebSocket task as completed in instructions.md
Files added:
- src/server/services/websocket_service.py
- src/server/models/websocket.py
- src/server/api/websocket.py
- tests/unit/test_websocket_service.py
Files modified:
- src/server/fastapi_app.py (add websocket router)
- src/server/utils/dependencies.py (integrate websocket with download service)
- infrastructure.md (add WebSocket documentation)
- instructions.md (mark task completed)
2025-10-17 10:59:53 +02:00
..
2025-10-12 23:17:20 +02:00
2025-10-14 21:53:41 +02:00
2025-10-14 21:57:20 +02:00
2025-10-12 23:49:04 +02:00
2025-10-13 00:03:02 +02:00
2025-10-14 21:43:48 +02:00
2025-10-12 23:17:20 +02:00
2025-10-17 09:55:55 +02:00
2025-10-17 10:07:16 +02:00
2025-10-12 23:33:56 +02:00
2025-10-13 00:18:46 +02:00
2025-10-17 10:59:53 +02:00