2.1 KiB
2.1 KiB
Veza Project: TODO Triage & Cleanup
Date: 2025-12-07 Status: Post-Remediation Check
1. Stream Server (Rust)
🔴 Critical: Offline Compilation Blocked
Issue: veza-stream-server fails to compile with cargo check due to missing sqlx-data.json or live database connection.
Error: error communicating with database: Connection refused (os error 111)
Location: usage of sqlx::query! macros in:
src/core/encoding_pool.rssrc/core/encoding_service.rsRemediation:- Short term: Ensure PostgreSQL is running and accessible via
DATABASE_URLduring development. - Long term: Generate
sqlx-data.jsonusingcargo sqlx prepareand commit it to the repository to allow offline compilation.
🟡 Tech Debt: Unused Variables
There are multiple warnings for unused variables in veza-stream-server:
stream_server/src/error.rs:unused variable: errstream_server/src/streaming/hls.rs:unused variable: qualityAction: Review logic to see if these variables should be used or prefixed with_.
2. Chat Server (Rust)
🟡 Tech Debt: Unused Imports (Cleaned up)
The chat server compiles successfully, but has several warnings for unused imports and variables that should be cleaned up in a future maintenance pass:
src/main.rs:unused import: sqlx::PgPool, unusedfutures_utilimports.src/event_bus.rs: unused fieldsconfigandconnectioninRabbitMQEventBus.src/config.rs: unused imports. Action: Runcargo fix --bin "chat-server"andcargo fix --lib -p chat_serverto automatically remove most of these.
3. Backend (Go)
🟡 Testing Gap
veza-backend-api/internal/handlers/room_handler_test.go contains disabled tests or tests marked with TODO(P2).
Action: Re-enable and fix these tests to ensure regression coverage for room management.
4. Documentation
REPORT_STATUS_2025_12_06.mdrefers to the pre-fix state.POST_REMEDIATION_REPORT.mdtracks the progress of the remediation. Action: KeepPOST_REMEDIATION_REPORT.mdupdated as the single source of truth for current status.