Skip to content

Conversation

@olix0r
Copy link
Member

@olix0r olix0r commented Oct 11, 2025

Get handlers leaked grpc stream control into translators, forcing extra goroutines and ad-hoc cancellation paths that were easy to mismanage.

This change centralizes lifecycle ownership in server.go, moving translatorƒs/watchers to channel-based updates with shared context cancellation. It removes the synchronized stream wrapper to keep shutdown semantics consistent.

@olix0r olix0r force-pushed the ver/chan-refactorio branch 2 times, most recently from 0077e90 to a9b9d50 Compare October 12, 2025 03:04
@olix0r olix0r changed the title refactor(destination): consolidate Get stream lifecycle management refactor(destination): consolidate Get stream lifecycle Oct 12, 2025
@olix0r olix0r force-pushed the ver/chan-refactorio branch 8 times, most recently from 3b392e1 to c0498fa Compare October 12, 2025 22:15
@olix0r olix0r changed the base branch from main to ver/test-fail October 12, 2025 22:34
@olix0r olix0r force-pushed the ver/test-fail branch 2 times, most recently from 23c3567 to de64f43 Compare October 12, 2025 22:44
@olix0r olix0r force-pushed the ver/chan-refactorio branch from c0498fa to 89ccfa9 Compare October 12, 2025 22:44
@olix0r olix0r force-pushed the ver/chan-refactorio branch from 89ccfa9 to a615cf7 Compare October 12, 2025 23:08
@olix0r olix0r force-pushed the ver/chan-refactorio branch from a615cf7 to 72700f0 Compare October 12, 2025 23:36
@olix0r olix0r force-pushed the ver/chan-refactorio branch from 72700f0 to 9f5c874 Compare October 13, 2025 00:56
Get handlers leaked grpc stream control into translators, forcing extra
goroutines and ad-hoc cancellation paths that were easy to mismanage.

This change centralizes lifecycle ownership in server.go, moving
translatorƒs/watchers to channel-based updates with shared context cancellation.
It removes the synchronized stream wrapper to keep shutdown semantics
consistent.
@olix0r olix0r force-pushed the ver/chan-refactorio branch from 9f5c874 to bc898b0 Compare October 13, 2025 18:48
@olix0r olix0r closed this Oct 14, 2025
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