After a failed Composer upgrade, should a Symfony app roll back database migrations or just restore composer.lock and clear the cache?
When a composer update on a Symfony application fails partway through, the composer.lock file can be left in a partially updated state, and the compiled container in var/cache may still reference classes that were removed or changed. Restoring the lock file, reinstalling dependencies, and clearing the cache are the documented recovery steps, since Symfony ha