fix(deploy): corriger la race condition sur le cache prod au déploiement #43
Reference in New Issue
Block a user
Delete Branch "fix/deploy-cache-race-condition"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
L'entrypoint faisait rm -rf var/cache/prod puis lançait FrankenPHP.
FrankenPHP compilait partiellement le container DI pendant que le script
Deployer lançait aussi cache:clear → fichiers manquants → crash.
(l'entrypoint est séquentiel, FrankenPHP ne démarre qu'une fois le cache prêt)