Skip to content

Conversation

@adamw
Copy link
Member

@adamw adamw commented Jul 10, 2025

No description provided.

@adamw adamw merged commit 1c6c69b into master Jul 10, 2025
7 checks passed
@adamw adamw deleted the fix-flow-group-by branch July 10, 2025 13:00
adamw added a commit to softwaremill/jox that referenced this pull request Sep 24, 2025
Port of the data race fix from Ox project (softwaremill/ox#346).

The original implementation used separate channels for child outputs
and completion signals, which could lead to race conditions. This
change unifies them into a single channel using a sealed interface
hierarchy, eliminating the race condition.

Changes:
- Replace separate childOutput and childDone channels with unified ChildOutput channel
- Introduce ChildOutput sealed interface with ChildValue and ChildDone implementations
- Update channel selection logic to handle unified output channel
- Add stress test to validate the fix (100k iterations)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
adamw added a commit to softwaremill/jox that referenced this pull request Sep 24, 2025
Port of the data race fix from Ox project (softwaremill/ox#346).

The original implementation used separate channels for child outputs and
completion signals, which could lead to race conditions. This change
unifies them into a single channel using a sealed interface hierarchy,
eliminating the race condition.

Changes:
- Replace separate childOutput and childDone channels with unified
ChildOutput channel
- Introduce ChildOutput sealed interface with ChildValue and ChildDone
implementations
- Update channel selection logic to handle unified output channel
- Add stress test to validate the fix (100k iterations)

🤖 Generated with [Claude Code](https://claude.ai/code)

---------

Co-authored-by: Claude <[email protected]>
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