Skip to content

chore: bump github.com/coder/coder/v2 from 2.26.5 to 2.29.19 - #524

Merged
johnstcn merged 2 commits into
mainfrom
bump-coder-sdk
Oct 2, 2026
Merged

johnstcn merged 2 commits into
mainfrom
bump-coder-sdk

Conversation

@stirby

@stirby stirby commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the Coder SDK to the oldest release that clears every github.com/coder/coder/v2 advisory reported by govulncheck. envbuilder only imports codersdk, codersdk/agentsdk and agent/proto for log forwarding. Most of these advisories are coderd server bugs, but govulncheck flags them because the module is linked.

govulncheck (symbol-level, vs. main): 75 reachable to 35. Fixes all 17 coder/coder advisories and 24 transitive ones (x/crypto, go-git, go-billy, containerd, grpc, otel, go-jose).

Changes needed beyond go get:

  • replace tailscale.com moved to the coder/tailscale commit that coder v2.29.19 pins.
  • New replace github.com/vishvananda/netlink => v1.2.1-beta.2. tailscale/netlink does not compile against netlink v1.3.x, which containerd 2.2 now requires. coder/coder pins the same version.
  • log/coder.go: agentsdk.New now takes a SessionTokenSetup. Uses agentsdk.WithFixedToken(token).
  • go directive goes to 1.25.10, inherited from coder/coder.

Notes for review:

Part of a set of independent dependency PRs (#524 to #533). They all touch go.mod/go.sum, so after the first merge the rest need go mod tidy and a rebase.

Generated by Coder Agents on behalf of @stirby.

@johnstcn johnstcn self-assigned this Oct 2, 2026
@johnstcn
johnstcn marked this pull request as ready for review October 2, 2026 09:27
Copilot AI balanced review requested due to automatic review settings October 2, 2026 09:27
@johnstcn
johnstcn merged commit ffe5abc into main Oct 2, 2026
4 checks passed
@johnstcn
johnstcn deleted the bump-coder-sdk branch October 2, 2026 09:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

It selects a containerd version affected by reachable GO-2026-6444 and relies on an unmerged draft follow-up for remediation.

Review effort: Balanced
Findings: 1 High severity · 1 Low severity

Open (2)
What changed in this PR

Upgrades the Coder SDK to address reported vulnerabilities and adapts affected APIs.

Changes:

  • Updates Coder and transitive dependencies.
  • Migrates agent authentication to WithFixedToken.
  • Replaces deprecated go-billy test filesystem options.
File Description
go.mod Updates dependencies, Go version, and replacements.
go.sum Refreshes dependency checksums.
log/​coder.go Adapts Coder agent authentication.
git/​git_test.go Uses WithBoundOS in SSH tests.
integration/​integration_test.go Updates integration-test filesystems.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread go.mod
github.com/containerd/containerd/v2 v2.1.1 // indirect
github.com/containerd/cgroups/v3 v3.1.0 // indirect
github.com/containerd/containerd/api v1.10.0 // indirect
github.com/containerd/containerd/v2 v2.2.0 // indirect
Comment thread go.mod
github.com/vishvananda/netlink v1.3.1-0.20250303224720-0e7078ed04c8
)

replace github.com/vishvananda/netlink => github.com/vishvananda/netlink v1.2.1-beta.2
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