Skip to content

refactor: replace chan Event threading with EventSink interface#2760

Merged
dgageot merged 1 commit into
docker:mainfrom
dgageot:runtime/event-sink-v2
May 12, 2026
Merged

refactor: replace chan Event threading with EventSink interface#2760
dgageot merged 1 commit into
docker:mainfrom
dgageot:runtime/event-sink-v2

Conversation

@dgageot
Copy link
Copy Markdown
Member

@dgageot dgageot commented May 11, 2026

Introduce an EventSink interface to replace the ~40 chan Event parameters threaded through the runtime. Kills chanSend, renames chanEmitter to sinkEmitter, adds EventSinkFunc adapter for tests. External callers wrap channels with NewChannelSink(ch). Pure refactor, no behaviour change.

@docker-agent

This comment was marked as outdated.

rumpl
rumpl previously approved these changes May 11, 2026
@dgageot dgageot force-pushed the runtime/event-sink-v2 branch 3 times, most recently from 604519e to 54de93c Compare May 12, 2026 07:20
@dgageot dgageot force-pushed the runtime/event-sink-v2 branch from 54de93c to 7556108 Compare May 12, 2026 07:37
@dgageot dgageot merged commit 2a193f3 into docker:main May 12, 2026
5 checks passed
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.

3 participants