Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[Scheduler] Separate id and description in message providers#52874
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
carsonbot commentedDec 3, 2023
Hey! Thanks for your PR. You are targeting branch "7.1" but it seems your PR description refers to branch "6.4". Cheers! Carsonbot |
188c9ea
tod5f9d45
CompareNot sure what to do with the tests since |
Uh oh!
There was an error while loading.Please reload this page.
d5f9d45
to52423ea
CompareWhile you're addressing this, could you check other |
valtzu commentedDec 6, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@alex-dev but Or yeah if you don't implement |
You don't define uniqueness only by |
687a3d6
tobd6144e
Comparevaltzu commentedDec 6, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Ok then, I separated id & description and used hashed serialized message for uniqueness with I would've rather added explicit What do you think? We could also consider adding |
ServiceCallMessage
arguments in schedulerSeems good! |
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.
LGTM with a minor comment
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
e57d177
tod73bf83
CompareThank you@valtzu. |
return new self($trigger, new StaticMessageProvider([$message], $description)); | ||
return new self($trigger, new StaticMessageProvider([$message],strtr(substr(base64_encode(hash('xxh128', serialize($message), true)), 0, 7), '/+', '._'), -7),$description)); |
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.
FYI, there was a syntax error on this line. I fixed that ina45f6cb. Please double-check that I didn't mess anything with the logic implemented here.
Uh oh!
There was an error while loading.Please reload this page.
Separate id and description in message providers to keep
debug:schedule
output clean while allowing arbitrary distinct id.