Enable Discovery debug logging for production troubleshooting

- Add DISCOVERY_LOG_LEVEL=debug
- Add DISCOVERY_SHOW_PROGRESS=true
- Temporary changes for debugging InitializerProcessor fixes on production
This commit is contained in:
2025-08-11 20:13:26 +02:00
parent 59fd3dd3b1
commit 55a330b223
3683 changed files with 2956207 additions and 16948 deletions

View File

@@ -0,0 +1,39 @@
<?php
declare(strict_types=1);
namespace App\Framework\Health;
enum HealthStatus: string
{
case HEALTHY = 'healthy';
case WARNING = 'warning';
case UNHEALTHY = 'unhealthy';
public function getColor(): string
{
return match($this) {
self::HEALTHY => '#30d158',
self::WARNING => '#ff9500',
self::UNHEALTHY => '#ff453a'
};
}
public function getIcon(): string
{
return match($this) {
self::HEALTHY => '✅',
self::WARNING => '⚠️',
self::UNHEALTHY => '❌'
};
}
public function getPriority(): int
{
return match($this) {
self::UNHEALTHY => 1,
self::WARNING => 2,
self::HEALTHY => 3
};
}
}