Repository navigation
chore: sync release v1.55.2 to main branch - #6174
Merged
atzoum merged 4 commits intoJul 24, 2025
Merged
Conversation
… arrival (#6167) # Description Regression introduced by #6114 After a new job arrives in the worker's queue, the worker's batch timeout is getting reset. This causes the following behaviour: - For pipelines with high traffic: no significant effect - For pipelines with low traffic: - No significant effect, as long as events arrive infrequently, i.e. less than 1 event to each worker every 5sec - Processing stalls until the full batch gets filled, as long as events arrive more frequent than 5sec. Increased delivery times are observed by customers in such a case. We are now resetting the timer only after we actually process a batch ## Linear Ticket resolves PIPE-2260 ## Security - [x] The code changed/added as part of this pull request won't create any security issues with how the software is being used.
🤖 I have created a release *beep* *boop* --- ## [1.55.1](v1.55.0...v1.55.1) (2025-07-24) ### Bug Fixes * **router:** worker's batch timeout is getting resetted after new job arrival ([#6167](#6167)) ([5c7e8d4](5c7e8d4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
# Description We need to reset the timer after it fires no matter if there are jobs or not, otherwise it will start firing always after that, blocking job processing (race condition) ## Security - [x] The code changed/added as part of this pull request won't create any security issues with how the software is being used.
🤖 I have created a release *beep* *boop* --- ## [1.55.2](v1.55.1...v1.55.2) (2025-07-24) ### Bug Fixes * **router:** timeout doesn't reset when there are no jobs ([#6171](#6171)) ([484bbea](484bbea)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
atzoum
approved these changes
Jul 24, 2025
atzoum
enabled auto-merge (squash)
July 24, 2025 13:46
mihir20
approved these changes
Jul 24, 2025
ktgowtham
approved these changes
Jul 24, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Syncing patch release v1.55.2 to main branch
↓↓ Please review and edit commit overrides before merging ↓↓
BEGIN_COMMIT_OVERRIDE
fix(router): worker's batch timeout is getting resetted after new job arrival (#6167)
fix(router): timeout doesn't reset when there are no jobs (#6171)
END_COMMIT_OVERRIDE