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

@@ -1,9 +1,23 @@
<?php
declare(strict_types=1);
namespace App\Framework\Filesystem;
use App\Framework\Async\FiberManager;
interface Storage
{
/**
* Permissions-Checker für dieses Storage
*/
public PermissionChecker $permissions { get; }
/**
* Fiber-Manager für asynchrone Operationen
*/
public FiberManager $fiberManager { get; }
/**
* Liest den Inhalt einer Datei
*/
@@ -75,4 +89,35 @@ interface Storage
* Erstellt ein Directory-Objekt mit Lazy-Loading
*/
public function directory(string $path): Directory;
/**
* Führt mehrere Operationen parallel aus (explizite Batch-Operation)
*
* @param array<string, callable> $operations
* @return array<string, mixed>
*/
public function batch(array $operations): array;
/**
* Lädt mehrere Dateien parallel
*
* @param array<string> $paths
* @return array<string, string>
*/
public function getMultiple(array $paths): array;
/**
* Speichert mehrere Dateien parallel
*
* @param array<string, string> $files [path => content]
*/
public function putMultiple(array $files): void;
/**
* Lädt Metadata für mehrere Dateien parallel
*
* @param array<string> $paths
* @return array<string, FileMetadata>
*/
public function getMetadataMultiple(array $paths): array;
}