mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore(go.mod): remove replace directive for dlclark/regexp2 (#16069)
Right now, it looks like we only utilise dlclark/regexp2 as a transitive dependency of charmbracelet/glamour: ``` $ go mod why github.com/dlclark/regexp2 # github.com/dlclark/regexp2 github.com/coder/coder/v2/coderd/render github.com/charmbracelet/glamour/ansi github.com/alecthomas/chroma/v2 github.com/dlclark/regexp2 ``` The reason for this replacement was to avoid a goroutine leak in unit tests. However, I'm currently unable to replace the goroutine leak as we do not perform any leak detection tests in `coderd/render`. If required, we can use the workaround detailed in regexp2's README.md: https://github.com/dlclark/regexp2/blob/v1.11.4/README.md#goroutine-leak-error
This commit is contained in:
@@ -34,9 +34,6 @@ replace github.com/fatedier/kcp-go => github.com/coder/kcp-go v2.0.4-0.202204091
|
||||
// https://github.com/tcnksm/go-httpstat/pull/29
|
||||
replace github.com/tcnksm/go-httpstat => github.com/coder/go-httpstat v0.0.0-20230801153223-321c88088322
|
||||
|
||||
// See https://github.com/dlclark/regexp2/issues/63
|
||||
replace github.com/dlclark/regexp2 => github.com/dlclark/regexp2 v1.7.0
|
||||
|
||||
// There are a few minor changes we make to Tailscale that we're slowly upstreaming. Compare here:
|
||||
// https://github.com/tailscale/tailscale/compare/main...coder:tailscale:main
|
||||
replace tailscale.com => github.com/coder/tailscale v1.1.1-0.20241218201526-b53d914d625f
|
||||
|
||||
Reference in New Issue
Block a user