|
1 | 1 | module github.com/coder/coder/v2
|
2 | 2 |
|
3 |
| -go 1.21.4 |
| 3 | +go 1.22.3 |
4 | 4 |
|
5 | 5 | // Required until a v3 of chroma is created to lazily initialize all XML files.
|
6 | 6 | // None of our dependencies seem to use the registries anyways, so this
|
@@ -42,28 +42,12 @@ replace github.com/dlclark/regexp2 => github.com/dlclark/regexp2 v1.7.0
|
42 | 42 |
|
43 | 43 | // There are a few minor changes we make to Tailscale that we're slowly upstreaming. Compare here:
|
44 | 44 | // https://github.com/tailscale/tailscale/compare/main...coder:tailscale:main
|
45 |
| -replace tailscale.com => github.com/coder/tailscale v1.1.1-0.20240501025849-d8a4721c3162 |
| 45 | +replace tailscale.com => github.com/coder/tailscale v1.1.1-0.20240522050917-30fcb1045549 |
46 | 46 |
|
47 |
| -// Fixes a race-condition in coder/wgtunnel. |
48 |
| -// Upstream PR: https://github.com/WireGuard/wireguard-go/pull/85 |
49 |
| -replace golang.zx2c4.com/wireguard => github.com/coder/wireguard-go v0.0.0-20230920225835-b7d43c468619 |
50 |
| - |
51 |
| -// This is replaced to include a fix that causes a deadlock when closing the |
52 |
| -// wireguard network. |
53 |
| -// The branch used is from https://github.com/coder/wireguard-go/tree/colin/tailscale |
54 |
| -// It is based on https://github.com/tailscale/wireguard-go/tree/tailscale, but |
55 |
| -// includes the upstream fix https://github.com/WireGuard/wireguard-go/commit/b7cd547315bed421a648d0a0f1ee5a0fc1b1151e |
56 |
| -replace github.com/tailscale/wireguard-go => github.com/coder/wireguard-go v0.0.0-20230807234434-d825b45ccbf5 |
57 |
| - |
58 |
| -// Use our tempfork of gvisor that includes a fix for TCP connection stalls: |
59 |
| -// https://github.com/coder/coder/issues/7388 |
60 |
| -// The basis for this fork is: gvisor.dev/gvisor v0.0.0-20230504175454-7b0a1988a28f |
61 |
| -// This is the same version as used by Tailscale `main`: |
62 |
| -// https://github.com/tailscale/tailscale/blob/c19b5bfbc391637b11c2acb3c725909a0046d849/go.mod#L88 |
63 |
| -// |
64 |
| -// Latest gvisor otherwise has refactored packages and is currently incompatible with |
65 |
| -// Tailscale, to remove our tempfork this needs to be addressed. |
66 |
| -replace gvisor.dev/gvisor => github.com/coder/gvisor v0.0.0-20230714132058-be2e4ac102c3 |
| 47 | +// This is replaced to include |
| 48 | +// 1. a fix for a data race: c.f. https://github.com/tailscale/wireguard-go/pull/25 |
| 49 | +// 2. update to the latest gVisor |
| 50 | +replace github.com/tailscale/wireguard-go => github.com/coder/wireguard-go v0.0.0-20240522052547-769cdd7f7818 |
67 | 51 |
|
68 | 52 | // Switch to our fork that imports fixes from http://github.com/tailscale/ssh.
|
69 | 53 | // See: https://github.com/coder/coder/issues/3371
|
@@ -105,7 +89,7 @@ require (
|
105 | 89 | github.com/coder/pretty v0.0.0-20230908205945-e89ba86370e0
|
106 | 90 | github.com/coder/retry v1.5.1
|
107 | 91 | github.com/coder/terraform-provider-coder v0.22.0
|
108 |
| - github.com/coder/wgtunnel v0.1.13-0.20231127054351-578bfff9b92a |
| 92 | + github.com/coder/wgtunnel v0.1.13-0.20240508123128-28e3f3978e0f |
109 | 93 | github.com/coreos/go-oidc/v3 v3.10.0
|
110 | 94 | github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf
|
111 | 95 | github.com/creack/pty v1.1.21
|
@@ -199,14 +183,13 @@ require (
|
199 | 183 | golang.org/x/text v0.15.0
|
200 | 184 | golang.org/x/tools v0.21.0
|
201 | 185 | golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028
|
202 |
| - golang.zx2c4.com/wireguard v0.0.0-20230704135630-469159ecf7d1 |
203 | 186 | google.golang.org/api v0.180.0
|
204 | 187 | google.golang.org/grpc v1.63.2
|
205 | 188 | google.golang.org/protobuf v1.34.1
|
206 | 189 | gopkg.in/DataDog/dd-trace-go.v1 v1.61.0
|
207 | 190 | gopkg.in/natefinch/lumberjack.v2 v2.2.1
|
208 | 191 | gopkg.in/yaml.v3 v3.0.1
|
209 |
| - gvisor.dev/gvisor v0.0.0-20230504175454-7b0a1988a28f |
| 192 | + gvisor.dev/gvisor v0.0.0-20240509041132-65b30f7869dc |
210 | 193 | nhooyr.io/websocket v1.8.7
|
211 | 194 | storj.io/drpc v0.0.33
|
212 | 195 | tailscale.com v1.46.1
|
@@ -395,7 +378,7 @@ require (
|
395 | 378 | github.com/tailscale/golang-x-crypto v0.0.0-20230713185742-f0b76a10a08e // indirect
|
396 | 379 | github.com/tailscale/goupnp v1.0.1-0.20210804011211-c64d0f06ea05 // indirect
|
397 | 380 | github.com/tailscale/netlink v1.1.1-0.20211101221916-cabfb018fe85
|
398 |
| - github.com/tailscale/wireguard-go v0.0.0-20230710185534-bb2c8f22eccf // indirect |
| 381 | + github.com/tailscale/wireguard-go v0.0.0-20231121184858-cc193a0b3272 |
399 | 382 | github.com/tchap/go-patricia/v2 v2.3.1 // indirect
|
400 | 383 | github.com/tcnksm/go-httpstat v0.2.0 // indirect
|
401 | 384 | github.com/tdewolff/parse/v2 v2.7.12 // indirect
|
|
0 commit comments