Parsing timeout_timer argument for advanceStageWorker
What does this MR do and why?
Currently there is a bug https://log.gprd.gitlab.net/app/r/s/IVpHc as sidekiq will transform the timeout argument into a string one. This will break the worker
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
- Checkout this branch
- Set
AdvanceStage::TIMEOUT_DURATION
to 2.minutes. Changeif new_waiters.empty? -> if new_waiters.empty? && false
so it doesn't execute - Running github import will fail the import or move to next stage if done optimistically
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Max Fan