coolify/app/Actions
Andras Bacsai 14bba8ba86 fix: correct Sentinel default health status and remove debug logging
This commit addresses container status reporting issues and removes debug logging:

**Primary Fix:**
- Changed PushServerUpdateJob to default to 'unknown' instead of 'unhealthy' when health_status field is missing from Sentinel data
- This ensures containers WITHOUT healthcheck defined are correctly reported as "unknown" not "unhealthy"
- Matches SSH path behavior (GetContainersStatus) which already defaulted to 'unknown'

**Service Multi-Container Aggregation:**
- Implemented service container status aggregation (same pattern as applications)
- Added serviceContainerStatuses collection to both Sentinel and SSH paths
- Services now aggregate status using priority: unhealthy > unknown > healthy
- Prevents race conditions where last-processed container would win

**Debug Logging Cleanup:**
- Removed all [STATUS-DEBUG] logging statements (25 total)
- Removed all ray() debugging calls (3 total)
- Removed proof_unknown_preserved and health_status_was_null debug fields
- Code is now production-ready

**Test Coverage:**
- Added 2 new tests for Sentinel default health status behavior
- Added 5 new tests for service aggregation in SSH path
- All 16 tests pass (66 assertions)

**Note:** The root cause was identified as Sentinel (Go binary) also defaulting to "unhealthy". That will need a separate fix in the Sentinel codebase.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 11:10:34 +01:00
..
Application fix(application): increase docker stop timeout from 10 to 30 seconds for better application shutdown handling 2025-09-29 12:16:13 +02:00
CoolifyTask refactor(proxy-status): refactored how the proxy status is handled on the UI and on the backend 2025-06-06 14:47:54 +02:00
Database fix: remove debugging output from StartPostgresql command handling 2025-11-05 09:10:15 +01:00
Docker fix: correct Sentinel default health status and remove debug logging 2025-11-20 11:10:34 +01:00
Fortify fix(user): ensure email attributes are stored in lowercase for consistency and prevent case-related issues 2025-09-05 17:44:34 +02:00
Proxy fix(proxy): prevent "container name already in use" error during proxy restart 2025-11-14 11:35:22 +01:00
Server fix: remove PullHelperImageJob and mass server scheduling 2025-11-14 11:31:08 +01:00
Service refactor: improve command handling and ensure correct working directory for Docker operations 2025-11-10 14:40:03 +01:00
Shared fix: preserve unknown health state and handle edge case container states 2025-11-19 13:19:25 +01:00
Stripe Changes auto-committed by Conductor 2025-10-16 17:13:47 +02:00
User Changes auto-committed by Conductor 2025-10-16 17:13:47 +02:00