Skip to content

Fix potential race with the sliding window sample. (Closes #279)#280

Merged
tconley1428 merged 2 commits intomainfrom
bug/sliding-window-race
Feb 25, 2026
Merged

Fix potential race with the sliding window sample. (Closes #279)#280
tconley1428 merged 2 commits intomainfrom
bug/sliding-window-race

Conversation

@billrich2001
Copy link
Contributor

What was changed

Switch position of adding record.id to the current_records to before starting the child WF to avoid race.

Why?

If child WF completes before the record.id is added, its signal will be sent and ignored because the ID was not in the list

Checklist

  1. Closes [Bug] Sliding window example has a race #279

@billrich2001 billrich2001 requested a review from a team as a code owner February 23, 2026 21:34
@billrich2001 billrich2001 changed the title Fix potential race with the sliding window sample. Fixes #279 Fix potential race with the sliding window sample. (Closes #279) Feb 23, 2026
@tconley1428 tconley1428 merged commit 2fd1407 into main Feb 25, 2026
11 checks passed
@tconley1428 tconley1428 deleted the bug/sliding-window-race branch February 25, 2026 18:50
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.

[Bug] Sliding window example has a race

2 participants