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

Skip to content

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

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

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

Conversation

@ethanndickson

Copy link
Copy Markdown
Member

Backport 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)
@ethanndickson ethanndickson added the backport/v2.35 Backport PR targeting release/2.35 label Sep 4, 2026 — with Coder
@ethanndickson ethanndickson self-assigned this Sep 4, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-04T08:08:21.329436Z 6c7898f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ethanndickson
ethanndickson requested a review from mtojek September 4, 2026 08:07
@mtojek
mtojek merged commit e388976 into release/2.35 Sep 4, 2026
49 of 51 checks passed
@mtojek
mtojek deleted the backport/28746-to-2.35 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

backport/v2.35 Backport PR targeting release/2.35

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants