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

Skip to content

fix: prevent coderd crashes from unsupported Tailnet RPCs (#28429) - #28958

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

fix: prevent coderd crashes from unsupported Tailnet RPCs (#28429)#28958
geokat merged 1 commit into
release/2.37from
backport/28429-to-2.37

Conversation

@github-actions

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

Copy link
Copy Markdown
Contributor

Backport of #28429

Original PR: #28429 — fix: prevent coderd crashes from unsupported Tailnet RPCs
Merge commit: 156c8b6
Requested by: @geokat

Workspace agents could call RefreshResumeToken and WorkspaceUpdates,
even though agent connections do not configure the providers those RPCs
require. The resulting nil dereference panicked a DRPC handler and
crashed coderd.

Limit the agent Tailnet surface to its supported RPCs, return
`Unimplemented` when optional providers are absent, and recover panics
in Coder-owned DRPC servers so they return an internal error instead of
crashing the process.

Refs: https://linear.app/codercom/issue/PLAT-464
(cherry picked from commit 156c8b6)
@github-actions github-actions Bot added the backport/v2.37 Backport PR targeting release/2.37 label Sep 3, 2026
@github-actions
github-actions Bot requested a review from geokat September 3, 2026 21:03
@geokat
geokat merged commit 0af9431 into release/2.37 Sep 4, 2026
25 checks passed
@geokat
geokat deleted the backport/28429-to-2.37 branch September 4, 2026 04:24
@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.37 Backport PR targeting release/2.37

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant