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,40 @@
<?php
declare(strict_types=1);
namespace App\Framework\Http;
enum StateKey: string
{
case AUTH_USER = 'auth.user';
case AUTH_PERMISSIONS = 'auth.permissions';
case AUTH_ROLES = 'auth.roles';
case AUTH_TOKEN = 'auth.token';
case ROUTING_PARAMS = 'routing.params';
case ROUTING_MATCHED_ROUTE = 'routing.matched_route';
case ROUTING_CONTROLLER = 'routing.controller';
case ROUTING_ACTION = 'routing.action';
case CONTROLLER_RESULT = 'controller.result';
case MIDDLEWARE_STACK = 'middleware.stack';
case MIDDLEWARE_CURRENT = 'middleware.current';
case VALIDATION_ERRORS = 'validation.errors';
case VALIDATION_RULES = 'validation.rules';
case CACHE_KEY = 'cache.key';
case CACHE_TTL = 'cache.ttl';
case PERFORMANCE_START_TIME = 'performance.start_time';
case PERFORMANCE_MEMORY_START = 'performance.memory_start';
case SESSION_ID = 'session.id';
case SESSION_DATA = 'session.data';
case REQUEST_ID = 'request.id';
case REQUEST_START_TIME = 'request.start_time';
case REQUEST_IP = 'request.ip';
case REQUEST_USER_AGENT = 'request.user_agent';
}