Skip to content
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

Prevent using symfony/console with broken exit code handling #89

Merged
merged 1 commit into from
Oct 3, 2018

Conversation

duncan3dc
Copy link
Contributor

There's a bug in symfony/console 3.4.16 and 4.1.5 where the exit code is reported as success if it failed.

This obviously affects this tool in a major way rendering it useless in a CI environment, so this PR ensures this bug cannot be installed.

composer.json Outdated
@@ -33,6 +33,9 @@
"symfony/console": "^3.0 || ^4.0",
"webmozart/glob": "^4.1"
},
"conflict": {
"symfony/console": "3.4.16|4.1.5"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better simply bump ^3.4.17 | ^4.1.6 above instead - no need to support older versions, as they will obviously have older bugs anyway.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, but they've not been released yet

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then let's wait for a release and bump this afterwards

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this affects everything that uses symfony/console, so doing a hunt for downstream consumers is like fighting windmills right now :-\

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I've pushed your suggested change now

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll restart the build at the next symfony releases 👍

@Ocramius Ocramius added the bug label Oct 2, 2018
@Ocramius Ocramius added this to the 1.2.0 milestone Oct 2, 2018
@duncan3dc duncan3dc force-pushed the avoid-exit-code-issue branch from eb85b6f to ad0b196 Compare October 2, 2018 09:08
Copy link
Collaborator

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build restarted and green: 🚢

@Ocramius Ocramius merged commit 167000b into maglnet:master Oct 3, 2018
@duncan3dc duncan3dc deleted the avoid-exit-code-issue branch October 26, 2018 11:21
@Ocramius Ocramius modified the milestones: 1.2.0, 2.0.0 Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants