Skip to content

test: Await batch items to be acked #549

Merged
bevzzz merged 3 commits intomainfrom
test/fix-ssb-deadlock
Mar 13, 2026
Merged

test: Await batch items to be acked #549
bevzzz merged 3 commits intomainfrom
test/fix-ssb-deadlock

Conversation

@bevzzz
Copy link
Collaborator

@bevzzz bevzzz commented Mar 12, 2026

This PR fixes a deadlock that BatchContextTest would often run into, whereby BatchContext wouldn't have enough time to mark all tasks as ack'ed before the assertion is made and then the closeContext sequence would hand indefinitely.

Copy link

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@bevzzz bevzzz force-pushed the test/fix-ssb-deadlock branch from fbea468 to 85d358a Compare March 12, 2026 21:09
@bevzzz bevzzz changed the title debug: refactor EOF mock test: Await batch items to be acked Mar 12, 2026
@bevzzz bevzzz force-pushed the test/fix-ssb-deadlock branch from 85d358a to ecf37ee Compare March 12, 2026 21:13
@bevzzz bevzzz marked this pull request as ready for review March 12, 2026 21:15
@bevzzz bevzzz merged commit 3fe8d77 into main Mar 13, 2026
12 checks passed
@bevzzz bevzzz deleted the test/fix-ssb-deadlock branch March 13, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants