ece-tools icon indicating copy to clipboard operation
ece-tools copied to clipboard

Output stderr when in debug mode

Open convenient opened this issue 1 year ago • 0 comments

Some parts of the build process may output to stderr without failing the pipeline.

For example static content deploy does it here https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/Deploy/Service/DeployPackage.php#L144-L147

If you have an issue that you want to debug and you set MIN_LOGGING_LEVEL: debug then I think it is unexpected that this data would not be present

Manual testing scenarios

The most obvious part of a deployment process that outputs to stderr would be the di compilation, when you do a deployment with this in place you should get more output there.

Contribution checklist

  • [x] Pull request has a meaningful description of its purpose
  • [ ] Pull request introduces user-facing changes and includes meaningful updates for any required release notes and documentation changes
  • [x] All commits are accompanied by meaningful commit messages
  • [ ] All new or changed code is covered with unit/integration tests (if applicable)
  • [ ] All automated tests passed successfully (all builds on Travis CI are green)

convenient avatar May 13 '24 14:05 convenient