Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(coderd/x/chatd): avoid closing poller hint channels (#28746) - #28976

Merged
mtojek merged 1 commit into
release/2.37from
backport/28746-to-2.37
Sep 4, 2026
Merged

fix(coderd/x/chatd): avoid closing poller hint channels (#28746)#28976
mtojek merged 1 commit into
release/2.37from
backport/28746-to-2.37

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Cherry-pick of #28746

Original PR: #28746 — fix(coderd/x/chatd): avoid closing poller hint channels
Merge commit: ced03dc
Requested by: @ethanndickson

Closes SEC-515

Prevent a `send on closed channel` panic when a chat stream unregisters
during polling.

The poller no longer owns or closes subscriber channels. This is safe
because delivery is guarded by the stream context, and unregister
removes the subscriber from future polls.

(cherry picked from commit ced03dc)
@github-actions github-actions Bot added the cherry-pick/v2.37 Cherry-pick PR targeting release/2.37 label Sep 4, 2026
@ethanndickson
ethanndickson requested a review from mtojek September 4, 2026 08:08
@mtojek
mtojek merged commit 22f4284 into release/2.37 Sep 4, 2026
25 checks passed
@mtojek
mtojek deleted the backport/28746-to-2.37 branch September 4, 2026 08:39
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cherry-pick/v2.37 Cherry-pick PR targeting release/2.37

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants