Skip to content

fix: propagate progress events and events before async work#3445

Merged
tabcat merged 2 commits intomainfrom
fix/queue-progress-events
Apr 10, 2026
Merged

fix: propagate progress events and events before async work#3445
tabcat merged 2 commits intomainfrom
fix/queue-progress-events

Conversation

@achingbrain
Copy link
Copy Markdown
Member

@achingbrain achingbrain commented Apr 9, 2026

Fixes two bugs with the Queue class:

  1. When joining an existing job, progress events were not received by the second or subsequent context(s)
  2. If a progress event was emitted before any async work was done in a queue job under the concurrency threshold, it was missed because the job result recipient had not been registered yet

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

@achingbrain achingbrain requested a review from a team as a code owner April 9, 2026 06:47
Fixes two bugs with the Queue class:

1. When joining an existing job, progress events were not received by the second context
2. If a progress event was emitted before any async work was done in a queue job under the concurrency threshold, it was missed because the job result recipient had not been registered yet
@achingbrain achingbrain force-pushed the fix/queue-progress-events branch from abaa93a to 7571e5f Compare April 9, 2026 07:03
@achingbrain achingbrain changed the title fix: propagte job progress events and support synchronous events fix: propagate progress events and support events before async Apr 9, 2026
@achingbrain achingbrain changed the title fix: propagate progress events and support events before async fix: propagate progress events and events before async work Apr 9, 2026
@tabcat tabcat merged commit b30baa9 into main Apr 10, 2026
60 of 62 checks passed
@tabcat tabcat deleted the fix/queue-progress-events branch April 10, 2026 12:01
@tabcat tabcat mentioned this pull request Apr 10, 2026
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