-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Messenger] Add options to FailedMessagesShowCommand
#39330
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
Conversation
Hey! I see that this is your first PR. That is great! Welcome! Symfony has a contribution guide which I suggest you to read. In short:
Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change. When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor! I am going to sit back now and wait for the reviews. Cheers! Carsonbot |
src/Symfony/Component/Messenger/Command/FailedMessagesShowCommand.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Messenger/Command/FailedMessagesShowCommand.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Messenger/Command/FailedMessagesShowCommand.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Messenger/Command/FailedMessagesShowCommand.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Messenger/Command/FailedMessagesShowCommand.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Messenger/Command/FailedMessagesShowCommand.php
Outdated
Show resolved
Hide resolved
Update exemples for the messenger:failed:show command Add documentation regarding this PR symfony/symfony#39330
Update exemples for the messenger:failed:show command Add documentation regarding this PR symfony/symfony#39330
70c9347
to
6d16145
Compare
FailedMessagesShowCommand
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea ❤️
src/Symfony/Component/Messenger/Command/FailedMessagesShowCommand.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Messenger/Command/FailedMessagesShowCommand.php
Outdated
Show resolved
Hide resolved
6d16145
to
feba4b0
Compare
feba4b0
to
c6cdb8f
Compare
Co-authored-by: Alexander M. Turek <me@derrabus.de>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should also revert the permission change on src/Symfony/Component/Messenger/Tests/Command/FailedMessagesShowCommandTest.php (get back to 0644)
@@ -117,7 +117,7 @@ public function testBasicRunWithServiceLocator() | |||
Error Things are bad! | |||
Error Code 123 | |||
Error Class Exception | |||
Transport async | |||
Transport async |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The extra spaces should be removed
@@ -198,7 +198,7 @@ public function testMultipleRedeliveryFailsWithServiceLocator() | |||
Error Things are bad! | |||
Error Code 123 | |||
Error Class Exception | |||
Transport async | |||
Transport async |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The extra spaces should be removed
FailedMessagesShowCommand
FailedMessagesShowCommand
FailedMessagesShowCommand
FailedMessagesShowCommand
Closing in favor of #47008, where I've made some minor changes to finish it. |
… (Florian Guimier, fabpot) This PR was merged into the 6.2 branch. Discussion ---------- [Messenger] Add options to `FailedMessagesShowCommand` | Q | A | ------------- | --- | Branch? | 6.2 | Bug fix? | no | New feature? | yes <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | Fix #39330 <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT | Doc PR | symfony/symfony-docs#14689 See #39330 Commits ------- e99d2ca Finish work 7f774b4 Add group and class-filter options to FailedMessagesShowCommand
Update exemples for the messenger:failed:show command Add documentation regarding this PR symfony/symfony#39330
The goal to this PR is to improve the FailedMessagesShowCommand usability by adding two options:
stats
option allows to display the number of messages by the class name and have a summary of all the failed messages.class-filter
option is a filter to only display the messages matching with the given class name.