Skip to content

Comments

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

Open
billrich2001 wants to merge 1 commit intomainfrom
bug/sliding-window-race
Open

Fix potential race with the sliding window sample. (Closes #279)#280
billrich2001 wants to merge 1 commit 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
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

1 participant