Skepra / Web recovery & resilience
Symfony YAML component missing: identify the runtime before changing the dependency
A missing component error does not say whether the cause is Composer metadata, a stale worker, a different PHP runtime or a deployed image.
Discuss the next maintenance decision
Start with the failing process
Record the error, time, request or job identifier and process type: web request, queue worker, CLI command or image build. The process that emitted the error is the unit to inspect. A successful installation command elsewhere is not evidence that this process loaded the dependency.
Separate declaration from the deployed artifact
Use the Symfony component documentation and Composer metadata to identify the intended package and lockfile state, then separately capture the deployed release, image digest or filesystem path and the PHP runtime used by the failing process.
Follow one diagnostic branch
For Composer, compare composer.lock, vendor metadata and runtime path. For a distribution runtime, identify package origin and revision. For a container, identify the image reference, build input and running process image.
Do not replace these checks with a blind reinstall.
Test an authorised contract
In staging, use a minimal non-sensitive YAML fixture matching the expected application input. Record expected parsed output, rejected invalid input and the exact artifact tested. A successful fixture proves only that stated contract.
Preserve unknowns
Mark the scope affected only when the relevant process and input path are evidenced. Mark it unknown when runtime, artifact or request format cannot be established. This article does not claim a vulnerability or completed remediation.