New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Static content deploy - Parallel execution - Not fails in case of exception #22883
Comments
Hi @ihor-sviziev. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @ihor-sviziev do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @VasylShvorak. Thank you for working on this issue.
|
✅ Confirmed by @VasylShvorak Issue Available: @VasylShvorak, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
@magento I am working on it. |
@viniciusbordinhao-blueacorn any news on this topic? |
I unassigned him, since no updates for a long time |
@ihor-sviziev: this issue rang a bell in the back of my head, I believe it was mentioned in the release notes of Magento 2.4.1:
It appears that this problem might have been fixed by MC-36231: setup:static-content:deploy exits with success exit code even if not all themes are deployed Could you maybe confirm this? Thanks! :) |
@hostep, I will double-check it |
@ihor-sviziev, I think this might still be an issue in 2.4.5-p1. When running a SCD, like
It seems as if the earlier exit codes are overwritten by a final doRun exitCode. |
@robinero, thank you for checking! |
Preconditions (*)
Steps to reproduce (*)
magento2/lib/internal/Magento/Framework/View/Asset/LockerProcess.php
Line 89 in 15e3c07
throwing exception:
php bin/magento setup:static-content:deploy -f --theme Magento/blank
$?
- it shows 1 - that's expectedphp bin/magento setup:static-content:deploy -f -j 2 --theme Magento/blank
$?
- it shows 0 - that's NOT expectedExpected result (*)
Actual result (*)
This issue was discovered during testing #22607
and working on reporting #22880
The text was updated successfully, but these errors were encountered: