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

Appearance settings

[Messenger] make all stamps final and mark stamp not meant to be sent #32078

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

Merged
merged 1 commit into from
Jun 24, 2019

Conversation

Tobion
Copy link
Contributor

@Tobion Tobion commented Jun 18, 2019

Q A
Branch? 4.4
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

Some newer stamps were already final. This makes all of them final. Also marks all stamps that are not meant to be sent using the new NonSendableStampInterface. This makes it easier to see which stamps are actually important and required to persist in a queue for certain functionality, like the BusNameStamp for the RoutableMessageBus

@@ -18,7 +18,7 @@
*
* @experimental in 4.3
*/
class TransportMessageIdStamp implements StampInterface
final class TransportMessageIdStamp implements StampInterface
Copy link
Contributor Author

@Tobion Tobion Jun 18, 2019

Choose a reason for hiding this comment

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

not needed to be sent but could be useful for debugging a message history (changing ID after retry)

@Tobion Tobion force-pushed the make-all-stamps-final branch from a9f5d1d to 452ba34 Compare June 18, 2019 03:26
src/Symfony/Component/Messenger/Stamp/HandledStamp.php Outdated Show resolved Hide resolved
@Tobion Tobion force-pushed the make-all-stamps-final branch from 452ba34 to 013904b Compare June 24, 2019 13:58
@Tobion Tobion merged commit 013904b into symfony:4.4 Jun 24, 2019
Tobion added a commit that referenced this pull request Jun 24, 2019
…nt to be sent (Tobion)

This PR was merged into the 4.4 branch.

Discussion
----------

[Messenger] make all stamps final and mark stamp not meant to be sent

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| BC breaks?    | no
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets |
| License       | MIT
| Doc PR        |

Some newer stamps were already final. This makes all of them final. Also marks all stamps that are not meant to be sent using the new `NonSendableStampInterface`. This makes it easier to see which stamps are actually important and required to persist in a queue for certain functionality, like the `BusNameStamp` for the `RoutableMessageBus`

Commits
-------

013904b [Messenger] make all stamps final and mark stamp not meant to be sent
@Tobion Tobion deleted the make-all-stamps-final branch June 24, 2019 22:34
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.4 Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.