Skip to content

Fix symfony console error suppression for CI#5058

Merged
ryancooley merged 6 commits into
developfrom
bugfix/fix-error-suppression-ci
Aug 1, 2023
Merged

Fix symfony console error suppression for CI#5058
ryancooley merged 6 commits into
developfrom
bugfix/fix-error-suppression-ci

Conversation

@nolanpro
Copy link
Copy Markdown
Contributor

@nolanpro nolanpro commented Jul 28, 2023

Errors in the console must have an exit status > 0 for CI to see it as an error. This PR prevents the symfony console from handling the error and returning an exit status of 0, which it does by default surprisingly:

image

This commit broke phpunit but it was not reported as an error becuase of the wrong exit code:
https://github.com/ProcessMaker/package-data-sources/commit/89f397e3ee9ff83ab6692833a3a173e8ab16a54e#diff-7852460389a4904107d9e1398a9f028c8a75c752003f3ee7e679b002c1a005d4

CI Log:
https://github.com/ProcessMaker/processmaker/actions/runs/5625884182/job/15245970370

The error above was fixed here https://github.com/ProcessMaker/package-data-sources/pull/304 but this PR is needed to catch future issues

Data Connector Fixes:
ci:package-data-sources:bugfix/FOUR-9657

Security Log Fixes:
ci:package-dynamic-ui:bugfix/FOUR-9671
ci:package-pm-blocks:bugfix/FOUR-9671
ci:package-savedsearch:bugfix/FOUR-9671

@nolanpro nolanpro changed the base branch from develop to 4.7.0+alpha-4 July 28, 2023 18:44
@nolanpro nolanpro changed the base branch from 4.7.0+alpha-4 to develop July 28, 2023 18:44
@nolanpro nolanpro requested a review from sanjacornelius July 31, 2023 17:03
@ryancooley ryancooley merged commit b3a8c86 into develop Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants