Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Messenger] Fix exitingmessenger:failed:retry command#50787

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@HypeMC
Copy link
Member

QA
Branch?6.3
Bug fix?yes
New feature?no
Deprecations?no
Tickets-
LicenseMIT
Doc PR-

#49539 introduced a bug where it's impossible to exit themessenger:failed:retry command:

Screenshot

Ctrl+C doesn't work because theStopWorkerOnSignalsListener handles the signal but doesn't actually exit the command, so the only way to currently exit the command is to kill it by force.

@carsonbotcarsonbot added this to the6.3 milestoneJun 27, 2023
@HypeMCHypeMCforce-pushed thefix-exiting-failedmessagesretrycommand branch from2627b1b toe5ddf86CompareJune 27, 2023 02:41
Copy link
Member

@lyrixxlyrixx left a comment

Choose a reason for hiding this comment

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

I like it.

  1. Could you deprecate the listener
  2. And the service associated with
  3. Add a note in the changelog
  4. Add a note in the upgrade guide?

Thanks

HypeMC reacted with thumbs up emoji
fabpot added a commit that referenced this pull requestJul 13, 2023
…messenger:failed:retry` command (HypeMC)This PR was merged into the 5.4 branch.Discussion----------[FrameworkBundle] Add missing monolog channel tag to the `messenger:failed:retry` command| Q             | A| ------------- | ---| Branch?       | 5.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       | -| License       | MIT| Doc PR        | -Noticed this while working on#50787, similar to#49843.Commits-------8f30c1e [FrameworkBundle] Add missing monolog channel tag to the `messenger:failed:retry` command
nicolas-grekas added a commit that referenced this pull requestJul 13, 2023
…hout the Console component (HypeMC)This PR was merged into the 5.4 branch.Discussion----------[DebugBundle][FrameworkBundle] Fix using the framework without the Console component| Q             | A| ------------- | ---| Branch?       | 5.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       | -| License       | MIT| Doc PR        | -While working on#50787 I've noticed that it's impossible to use the framework without the Console component, event though it's an optional dependency.This PR aims to fix that. I've tested these changes on 5.4 & 6.3, however, I only made sure the container can compile. I'm not sure if there are any other gotchas.Commits-------feddf40 [DebugBundle][FrameworkBundle] Fix using the framework without the Console component
@HypeMCHypeMCforce-pushed thefix-exiting-failedmessagesretrycommand branch from54c97a4 tof76fd88CompareJuly 13, 2023 17:16
@HypeMC
Copy link
MemberAuthor

I like it.

  1. Could you deprecate the listener
  2. And the service associated with
  3. Add a note in the changelog
  4. Add a note in the upgrade guide?

Thanks

@lyrixx Done

@HypeMCHypeMCforce-pushed thefix-exiting-failedmessagesretrycommand branch fromf76fd88 to74b5ff1CompareJuly 16, 2023 22:54
nicolas-grekas added a commit that referenced this pull requestJul 19, 2023
…ypeMC)This PR was merged into the 6.4 branch.Discussion----------[Messenger] Deprecate `StopWorkerOnSignalsListener`| Q             | A| ------------- | ---| Branch?       | 6.4| Bug fix?      | no| New feature?  | no| Deprecations? | yes| Tickets       | -| License       | MIT| Doc PR        | -Followup to#50787.Commits-------0b62ce8 [Messenger] Deprecate `StopWorkerOnSignalsListener`
derrabus added a commit that referenced this pull requestJul 25, 2023
This PR was merged into the 6.4 branch.Discussion----------[FrameworkBundle] Fix using messenger 7.0| Q             | A| ------------- | ---| Branch?       | 6.4| Bug fix?      | no| New feature?  | no| Deprecations? | no| Tickets       | -| License       | MIT| Doc PR        | -Makes sure messenger v7.0 wouldn't break, see#51064 (comment). Could be update for#50787 (comment) as well.Commits-------9a45ae0 [FrameworkBundle] Fix using messenger 7.0
@HypeMCHypeMCforce-pushed thefix-exiting-failedmessagesretrycommand branch from74b5ff1 to8cf7139CompareJuly 31, 2023 15:54
@HypeMCHypeMCforce-pushed thefix-exiting-failedmessagesretrycommand branch from8cf7139 to5f45cefCompareSeptember 5, 2023 18:52
@HypeMC
Copy link
MemberAuthor

@lyrixx@xabbuh Hi guys, is there anything else I can do here, this bug is really becoming a nuisance so it'd be great if it got fixed 😄

Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

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

LGMT, just minor things on my side.

@HypeMCHypeMCforce-pushed thefix-exiting-failedmessagesretrycommand branch from5f45cef tocd6816bCompareSeptember 29, 2023 10:45
@nicolas-grekas
Copy link
Member

Thank you@HypeMC.

@nicolas-grekasnicolas-grekas merged commit0539ca8 intosymfony:6.3Sep 29, 2023
@HypeMCHypeMC deleted the fix-exiting-failedmessagesretrycommand branchSeptember 29, 2023 20:03
@fabpotfabpot mentioned this pull requestSep 30, 2023
fabpot added a commit that referenced this pull requestOct 16, 2023
This PR was merged into the 6.3 branch.Discussion----------[Messenger] Fix graceful exit| Q             | A| ------------- | ---| Branch?       | 6.3| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       |Fix#52077| License       | MITMy previous PR#50787 accidentally broke the behavior of the `messenger:consume` command. It no longer waits for the handler to finish, instead it exists immediately.Commits-------b270382 [Messenger] Fix graceful exit
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot left review comments

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@lyrixxlyrixxlyrixx left review comments

@xabbuhxabbuhxabbuh left review comments

Assignees

No one assigned

Projects

None yet

Milestone

6.3

Development

Successfully merging this pull request may close these issues.

7 participants

@HypeMC@nicolas-grekas@fabpot@lyrixx@Bilge@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp