veza/veza-backend-api/cmd
senke 965633ef89 [BE-SVC-017] be-svc: Implement graceful shutdown
- Created ShutdownManager for coordinated graceful shutdown of all services
- Added Shutdowner interface for services that need graceful shutdown
- Implemented parallel shutdown with individual timeouts (10s per service)
- Added global shutdown timeout (30s total)
- Integrated shutdown manager in main.go for:
  - HTTP server shutdown
  - JobWorker cancellation
  - Config.Close() (DB, Redis, RabbitMQ)
  - Logger sync
  - Sentry flush
- Added comprehensive unit tests for shutdown manager
- Prevents registration of new services during shutdown

Phase: PHASE-6
Priority: P2
Progress: 113/267 (42.32%)
2025-12-24 17:03:11 +01:00
..
api [BE-SVC-017] be-svc: Implement graceful shutdown 2025-12-24 17:03:11 +01:00
backup [BE-DB-016] be-db: Add database backup strategy 2025-12-24 15:55:46 +01:00
generate-config-docs adding initial backend API (Go) 2025-12-03 20:29:37 +01:00
migrate_tool chore(dev): add lab migration and run scripts 2025-12-07 14:27:51 +01:00
modern-server refonte: backend-api go first; phase 1 2025-12-12 21:34:34 -05:00
tools stabilizing apps/web: FIRST BATCH 2025-12-17 08:07:35 -05:00