-
Notifications
You must be signed in to change notification settings - Fork 15
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
fix: quick fix for a timer bug #1232
Conversation
Authorizations aren't supported in the next version. The record is bound to change so it's not worth adding a proper logger for this value type right now. It likely isn't worth adding one in the future either, since ZPT is in the process of being deprecated.
Instead of logging nothing we can use the toString method of the record
Fixed rate timers don't play nicely with backwards time adjustments. For fixed rate timers, an execution is scheduled for ex. 5 seconds in the future. When that execution runs, it schedules the next one, etc. However, when traveling backwards in time, the next scheduled execution never triggers. The issue needs to be fixed properly in Zeebe. A temporary workaround is to adjust the tests with a future date time.
Add empty logger for authorization records
I merged my branch to add the authorization valuetype to the logger into this branch to make sure the CI doesn't fail on this and we can actually merge it. The only relevant change in this PR is the commit @koevskinikola made. |
@koevskinikola @remcowesterhoud the tests still fail on main and also failed on the merge queue 🤔 can you take another look? CC @nicpuppa |
Since this failures are blocking the alpha release, I'm in favour of disable the failing tests on the alpha release branch. What's the impact from an user perspective ? |
@megglos I'm having another look right now. @nicpuppa is it okay if I timebox the investigation for 30mins? After that we can ignore the tests so that we can release ZPT. From what Lena explained, the issue is more on the Zeebe side, i.e. how the process schedule service works (src) and we'll need more time to fix that. |
It seems like the @nicpuppa I'll disable the Testcontainers variant of the |
Thanks @koevskinikola, please open a PR from the release branch 🙏 |
Description
Fixed-rate timers don't play nicely with backward time adjustments. For fixed rate timers, an execution is scheduled for ex. 5 seconds in the future. When that execution runs, it schedules the next one, etc. However, when traveling backwards in time, the next scheduled execution never triggers.
The issue needs to be fixed properly in Zeebe. A temporary workaround is to adjust the tests with a future date time.
Related issues
related to #1230
Definition of Done
Not all items need to be done depending on the issue and the pull request.
Code changes:
Testing:
Documentation: