Patches are not properly applying. Even though composer-patches is being installed, it's hooks are not being called until a second composer update run command, which won't work in CI.
It looks like this is caused by the vendor directory caching optimizations. This PR instead preserves the exact set of vendor / composer files, simply keeping a copy of the files in /root/.composer/cache without trying to do anything with the vendor directory.
Patches are not properly applying. Even though composer-patches is being installed, it's hooks are not being called until a second
composer update
run command, which won't work in CI.It looks like this is caused by the vendor directory caching optimizations. This PR instead preserves the exact set of vendor / composer files, simply keeping a copy of the files in
/root/.composer/cache
without trying to do anything with the vendor directory.