veza/veza-backend-api/internal
okinrev 5ffcd50e0a P0: stabilisation backend/chat/stream + nouvelle base migrations v1
Backend Go:
- Remplacement complet des anciennes migrations par la base V1 alignée sur ORIGIN.
- Durcissement global du parsing JSON (BindAndValidateJSON + RespondWithAppError).
- Sécurisation de config.go, CORS, statuts de santé et monitoring.
- Implémentation des transactions P0 (RBAC, duplication de playlists, social toggles).
- Ajout d’un job worker structuré (emails, analytics, thumbnails) + tests associés.
- Nouvelle doc backend : AUDIT_CONFIG, BACKEND_CONFIG, AUTH_PASSWORD_RESET, JOB_WORKER_*.

Chat server (Rust):
- Refonte du pipeline JWT + sécurité, audit et rate limiting avancé.
- Implémentation complète du cycle de message (read receipts, delivered, edit/delete, typing).
- Nettoyage des panics, gestion d’erreurs robuste, logs structurés.
- Migrations chat alignées sur le schéma UUID et nouvelles features.

Stream server (Rust):
- Refonte du moteur de streaming (encoding pipeline + HLS) et des modules core.
- Transactions P0 pour les jobs et segments, garanties d’atomicité.
- Documentation détaillée de la pipeline (AUDIT_STREAM_*, DESIGN_STREAM_PIPELINE, TRANSACTIONS_P0_IMPLEMENTATION).

Documentation & audits:
- TRIAGE.md et AUDIT_STABILITY.md à jour avec l’état réel des 3 services.
- Cartographie complète des migrations et des transactions (DB_MIGRATIONS_*, DB_TRANSACTION_PLAN, AUDIT_DB_TRANSACTIONS, TRANSACTION_TESTS_PHASE3).
- Scripts de reset et de cleanup pour la lab DB et la V1.

Ce commit fige l’ensemble du travail de stabilisation P0 (UUID, backend, chat et stream) avant les phases suivantes (Coherence Guardian, WS hardening, etc.).
2025-12-06 11:14:38 +01:00
..
api P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
benchmarks adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
common adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
config P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
core P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
database adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
dto adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
email P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
errors adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
eventbus adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
features adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
handlers P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
infrastructure adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
interfaces adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
jobs adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
logging adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
metrics adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
middleware P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
models adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
monitoring P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
repositories adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
repository adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
response adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
security adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
services P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00
testutils adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
types adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
utils P0 UUID Phase A: migrations + backend Go UUID refactor 2025-12-04 02:15:48 +01:00
validators adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
workers P0: stabilisation backend/chat/stream + nouvelle base migrations v1 2025-12-06 11:14:38 +01:00