Commit Graph
113 Commits
Author SHA1 Message Date
Dep Updater f3e3699ed9 go.toolchain.rev: bump Go toolchain
* Go toolchain: https://github.com/tailscale/go/compare/1635316a95598e9fe1bff7267604daa94aa1c8ec...ee691292343f9e120054d09de48b27f42af2af6c

Triggered by @bradfitz via the bumpdep workflow.

Updates #18268

Signed-off-by: Dep Updater <[email protected]>
2026-11-18 13:13:15 -08:00
Dep Updater c31b4c133d go.toolchain.rev: bump Go toolchain
* Go toolchain: https://github.com/tailscale/go/compare/7ef7b403648ac3a9481a6e88e8b894eff50b0167...1635316a95598e9fe1bff7267604daa94aa1c8ec

Triggered by @bradfitz via the bumpdep workflow.

Updates #22325

Change-Id: I4b9ec7a2d48a94e1d96e99f4c6a26b96f959a05f
Signed-off-by: Dep Updater <[email protected]>
2026-11-10 18:14:49 -08:00
Dep Updater ef596ebd34 go.toolchain.rev: bump Go toolchain
* Go toolchain: https://github.com/tailscale/go/compare/186053ab2af2ef8fc43f3c1d1150216e89d4aff0...7ef7b403648ac3a9481a6e88e8b894eff50b0167

Triggered by @bradfitz via the bumpdep workflow.

Updates tailscale/corp#50253

Signed-off-by: Dep Updater <[email protected]>
2026-10-20 05:35:13 -07:00
Dep Updater b2560c4dea go.toolchain.rev: bump Go toolchain
* Go toolchain: https://github.com/tailscale/go/compare/509d1573c1cafe9b210180e4ce87f44a409edbba...186053ab2af2ef8fc43f3c1d1150216e89d4aff0

Triggered by @bradfitz via the bumpdep workflow.

Updates #21723

Signed-off-by: Dep Updater <[email protected]>
2026-10-09 11:38:29 -07:00
Dep Updater b9262195b1 go.mod,go.toolchain.rev: bump golang.org/x/net, Go toolchain
* golang.org/x/net: v0.59.0 to v0.60.0
* Go toolchain: https://github.com/tailscale/go/compare/24ee2fd0610e6c505ee4ec061a81215afe119d1f...509d1573c1cafe9b210180e4ce87f44a409edbba
* golangci-lint: v2.13.2 to v2.14.0, for Go 1.27.2's export data version 5

Also fix testcontrol's serveC2N to read the whole c2n response before
returning, as x/net v0.60.0's http2 server now closes the request body
when the handler returns.

Triggered by @bradfitz via the bumpdep workflow.

Updates #21723

Signed-off-by: Dep Updater <[email protected]>
2026-10-09 08:12:09 -07:00
Dep Updater ae69c6b6c9 go.toolchain.rev: bump Go toolchain
* Go toolchain: https://github.com/tailscale/go/compare/32e8826b089fee8cb0c5c4822b9794ca5004f23a...24ee2fd0610e6c505ee4ec061a81215afe119d1f

Triggered by @bradfitz via the bumpdep workflow.

Updates tailscale/corp#29053

Signed-off-by: Dep Updater <[email protected]>
2026-09-19 16:52:15 -07:00
Dep Updater 178ef3db08 go.toolchain.rev: bump Go toolchain
* Go toolchain: https://github.com/tailscale/go/compare/d030173bb47a6c4a6f885cb56a97dd9eca5fb8b7...32e8826b089fee8cb0c5c4822b9794ca5004f23a

Triggered by @bradfitz via the bumpdep workflow.

Updates tailscale/go#189

Signed-off-by: Dep Updater <[email protected]>
2026-09-17 15:03:04 -07:00
Brad Fitzpatrick 678ad167e6 go.toolchain.rev: bump tailscale/go again
For https://github.com/tailscale/go/pull/188

Updates tailscale/corp#29053

Change-Id: I3d42156b3c2ef824b68033031d9be48fe7989176
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-09-15 20:54:53 -07:00
Brad Fitzpatrick f1c4fe334f go.toolchain.rev: bump Go 1.27 toolchain
Updates tailscale/corp#29053

Change-Id: Ia7a1430a760564ef75a020338337d05f7e8132a8
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-09-15 15:22:37 -07:00
Brad Fitzpatrick e2ed432399 go.toolchain.rev: bump for stack debugging API
Updates tailscale/go#185
Updates tailscale/corp#29053
Updates #21064

Change-Id: Ic127c83b3ed7b472a23f62ec1a67f08b0de31556
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-09-11 13:39:17 -07:00
Brad Fitzpatrick 3d3261b66e go.toolchain.rev: bump tailscale/go
Pulls in https://github.com/tailscale/go/pull/182

Updates tailscale/corp#29053
Updates tailscale/tailscale#21064

Change-Id: If028b1eec6f978593e000e5f961e7d2acc488f35
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-09-09 21:43:13 -07:00
Brad Fitzpatrick b3c719581e go.toolchain.rev: bump to Go 1.27.1
Updates #bump

Change-Id: I5ad390397062bf9887962c34a8f3a047ea9586e9
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-09-01 15:47:33 -07:00
Brad Fitzpatrick c542f61367 go.toolchain.rev: bump tailscale/go toolchain
From Go 1.27.0 to Go 1.27.0 + latest upstream release branches,
plus a cherry-pick of an x/net http2 hpack memory optimization
that didn't make Go 1.27 (https://go.dev/cl/807260)

Updates #29053

Change-Id: I5c694d8c4aebf4854773ea2856177aaebb2c39a4
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-09-01 04:47:30 -07:00
Brad Fitzpatrick faa10ddaaa go.toolchain.branch: switch to Go 1.27
Promote the toolchain from Go 1.26.6 to Go 1.27.0, matching what
go.toolchain.next.rev has been testing. Besides the toolchain files
themselves (updated by pull-toolchain.sh), this bumps the go.mod go
directive, the Dockerfile golang base image, and the README, and
regenerates the depaware.txt files and the gzip assets in
tempfork/spf13/cobra and util/eventbus, whose bytes change with
Go 1.27's rewritten compress/flate.

Also bump golangci-lint to v2.13.1, the first release line built
with Go 1.27; the prebuilt v2.10.1 binary refuses to target a Go
version newer than the one it was built with.

Also bump golang.org/x/net to v0.58.0 (plus the sibling x/ module
upgrades it requires) to pick up upstream commit 8d10596d2624
(http2: avoid deadlocks in wrapped ClientConn state callback),
which we hit during Go 1.27 rc testing.

Also add docs/go-bump-checklist.md for next time.

Updates #20220

Signed-off-by: Brad Fitzpatrick <[email protected]>
Change-Id: Ia3e4c9effafbc91227eed39efb52f1fba1b8d89c
2026-08-27 09:52:15 -07:00
Patrick O'Doherty 4782f36506 go.mod: update to Go 1.26.6 (#20857) 2026-08-13 21:11:13 -07:00
Patrick O'Doherty 70244f40e0 go.mod: bump Go to 1.26.5
Bump the Go toolchain to 1.26.5.

Updates #cleanup

Signed-off-by: Patrick O'Doherty <[email protected]>
2026-07-08 17:15:35 -07:00
Mario Minardi cdcb1cb07b go.toolchain.rev: bump to Go 1.26.4
Updates https://github.com/tailscale/corp/issues/42772
Updates https://github.com/tailscale/tailscale/issues/19982

Signed-off-by: Mario Minardi <[email protected]>
2026-06-03 10:24:00 -06:00
Brad Fitzpatrick f277bfb09d release/dist/synology: add GOARM=7,softfloat mode for hi3535
Fixes #6860

Change-Id: I36f3101e75dab35d03e76693555ac93da893f8d5
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-05-27 10:54:15 -07:00
Brad Fitzpatrick 24eb157448 go.toolchain.rev: bump to Go 1.26.3
Updates tailscale/corp#41490

Change-Id: I35b67bdbcd71468fea03b033b17aeefe1319dc45
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-05-07 15:33:05 -07:00
Brad Fitzpatrick c4cb5eb809 go.toolchain.rev: update to Go 1.26.2
Updates tailscale/corp#39799

Change-Id: I87c8dbabbbb7df750eb751fd7bfc506f57ca5796
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-04-07 17:09:56 -07:00
Brad Fitzpatrick d0cd0906d5 go.toolchain.rev: bump our Go toolchain for caching fix
Updates tailscale/go#166
Updates tailscale/corp#36589

Change-Id: I7e286b392fda8f944440feaf62c0fe7b8b85ba21
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-04-06 12:43:02 -07:00
Brad Fitzpatrick 990d25c97d go.toolchain.rev, version: bump Tailscale Go, add IsTailscaleGo
Reports whether the current binary was built with Tailscale's
custom Go toolchain (the "tailscale_go" build tag).

For https://github.com/tailscale/go/pull/165

Updates tailscale/corp#39430

Change-Id: Ica437582ddf55d7df48b1453bad03ce14b1c0949
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-04-01 09:40:59 -07:00
Nick Khyl 33da8a8d68 go.toolchain.*: bump for mips and synology segmentation violation fixes
Updates #19039
Updates tailscale/go#160
Updates tailscale/go#162
Updates golang/go#77730
Updates golang/go#77930

Signed-off-by: Nick Khyl <[email protected]>
2026-03-25 13:43:16 -05:00
Nick Khyl 8d3efd488d go.mod: bump for internal/poll: move rsan to heap on windows
This picks up the change in tailscale/go@5cce30e20c

Updates #18884
Updates tailscale/go#158
Updates golang/go#77975

Signed-off-by: Nick Khyl <[email protected]>
2026-03-09 16:48:31 -05:00
Brad Fitzpatrick 4453cc5f53 go.mod: bump to Go 1.26.1
Updates #18682

Change-Id: I855c0dfa4c61eb33123bbb7b00c1ab5506e80b09
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-03-06 11:27:29 -08:00
Brad Fitzpatrick d784dcc61b go.toolchain.branch: switch to Go 1.26
Updates #18682

Change-Id: I1eadfab950e55d004484af880a5d8df6893e85e8
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-03-04 21:57:05 -08:00
Andrew Lytvynov 9ba2a80ab6 go.toolchain.{rev,next.rev}: update to Go 1.25.7 / Go 1.26rc3 (#18633)
Updates #18629

Signed-off-by: Andrew Lytvynov <[email protected]>
2026-02-06 12:54:11 -08:00
Brad Fitzpatrick 274ab995d2 go.toolchain.*: bump our Go 1.25 and Go 1.26 toolchains
Go1.25 for tailscale/go#149
Go1.26 for tailscale/go#149 + upstream release-branch.go1.26 work since rc2.

Updates tailscale/go#149

Change-Id: Ib56b5b5119f181c4a81d4b599b8bbdb405ee6704
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-02-01 13:47:28 -08:00
Brad Fitzpatrick e39a730594 go.toolchain.rev: bump for cmd/go caching work
This pulls in tailscale/go#153, which we want to begin experimenting with.

Updates tailscale/go#150

Change-Id: Id3e03558ee69e74361431650530e8227dfdef978
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-01-28 14:59:46 -08:00
Brad Fitzpatrick aca1b5da0f go.toolchain.rev: bump for cmd/go caching work
This pulls in tailscale/go#151, which we want to begin experimenting with.

Updates tailscale/go#150

Change-Id: I69aa2631ecf36356430969f423ea3943643a144a
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-01-28 10:46:21 -08:00
Andrew Lytvynov bfa90ea9b3 go.toolchain.rev: update to Go 1.25.6 (#18507)
Updates #18506

Signed-off-by: Andrew Lytvynov <[email protected]>
2026-01-23 17:08:46 -08:00
Andrew Lytvynov 7bc25f77f4 go.toolchain.rev: update to Go 1.25.5 (#18123)
Updates #18122

Signed-off-by: Andrew Lytvynov <[email protected]>
2025-12-03 11:20:46 -08:00
Brad Fitzpatrick 54cee33bae go.toolchain.rev: update to Go 1.25.3
Updates tailscale/go#140
Updates tailscale/go#142
Updates tailscale/go#138

Change-Id: Id25b6fa4e31eee243fec17667f14cdc48243c59e
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-10-17 11:27:16 -07:00
Brad Fitzpatrick 9a72513fa4 go.toolchain.rev: bump Go to 1.25.2
Updates tailscale/go#135

Change-Id: I89cfb49b998b2fd0264f8d5f4a61af839cd06626
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-10-08 08:59:16 -07:00
Brad Fitzpatrick 6f9f190f4d go.toolchain.rev: bump to Go 1.25.1
Updates #17064

Change-Id: Ibbca837e0921fe9f82fc931dde8bb51b017e4e48
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-09-08 11:47:30 -07:00
Patrick O'Doherty 48dbe70b54 go.mod: bump Go 1.25 release (#16969)
Bump Go 1.25 release to include a go/types patch and resolve govulncheck
CI exceptions.

Updates tailscale/corp#31755

Signed-off-by: Patrick O'Doherty <[email protected]>
2025-08-28 13:01:20 -07:00
Patrick O'Doherty c5429cd49c go.toolchain.branch: bump to go1.25 (#16954)
go.toolchain.rev: bump go1.25 version
flake.nix: bump Go to 1.25

Updates #16330

Signed-off-by: Patrick O'Doherty <[email protected]>
2025-08-26 07:44:26 -07:00
Brad Fitzpatrick e4d2822afc go.toolchain.rev: bump Go for data race in Go http client
Updates golang/go#73522
Updates tailscale/go#131
Updates tailscale/corp#31133

Change-Id: Ibb7a98944ef287d455ce4f5d202b2e2bd6d8742b
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-08-13 18:15:23 -07:00
Brad Fitzpatrick 796eb21204 go.toolchain.rev: bump tsgo toolchain
Updates tailscale/go#129

Change-Id: I94debd1d0b7080c5b012f200ad98d22c3048f350
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-08-08 16:21:39 -06:00
Andrew Lytvynov b5283ab13a go.toolchain.rev: bump to 1.24.6 (#16811)
Updates https://github.com/tailscale/corp/issues/31103

Signed-off-by: Andrew Lytvynov <[email protected]>
2025-08-07 14:41:55 -07:00
Patrick O'Doherty 8114260019 go.toolchain.rev: bump to go 1.24.4 (#16230)
Updates #cleanup

Signed-off-by: Patrick O'Doherty <[email protected]>
2025-06-10 14:39:27 -07:00
Andrew Lytvynov b0d35975c0 go.toolchain.rev: bump to 1.24.3 (#16060)
Updates https://github.com/tailscale/corp/issues/28916

Signed-off-by: Andrew Lytvynov <[email protected]>
2025-05-28 17:54:04 -07:00
kari-ts 6fb5e3b0cb go.toolchain.rev: bump go 1.24 for Android pidfd changes (#15613)
Updates tailscale/tailscale#13452

Signed-off-by: kari-ts <[email protected]>
2025-04-10 09:14:26 -07:00
Brad Fitzpatrick 13f6981694 go.toolchain.rev: bump for Go 1.24.2 + plan9 fixes
Updates #5794

Change-Id: I696d49a3b0825ca90d3cb148b1c0dad9f7855808
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-04-01 12:23:34 -07:00
Patrick O'Doherty f840aad49e go.toolchain.rev: bump to go1.24.1 (#15209)
Bump to 1.24.1 to avail of security fixes.

Updates https://github.com/tailscale/tailscale/issues/15015

Signed-off-by: Patrick O'Doherty <[email protected]>
2025-03-04 16:17:57 -08:00
Brad Fitzpatrick f5997b3c57 go.toolchain.rev: bump Tailscale Go 1.24 for a Tailscale revert + upstream bump
Diff:
https://github.com/tailscale/go/commit/7c083839130f799407787d693dc95af44190cc83

This reverts our previous CGO_ENABLED change: https://github.com/tailscale/go/commit/c1d3e9e81461bf43e010bd5f79315b715ed68023

It was causing depaware problems and is no longer necessary it seems? Upstream cmd/go is static nowadays.

And pulls in:

    [release-branch.go1.24] doc/godebug: mention GODEBUG=fips140
    [release-branch.go1.24] cmd/compile: avoid infinite recursion when inlining closures
    [release-branch.go1.24] syscall: don't truncate newly created files on Windows
    [release-branch.go1.24] runtime: fix usleep on s390x/linux
    [release-branch.go1.24] runtime: add some linknames back for `github.com/bytedance/sonic`

Of those, really the only the 2nd and 3rd might affect us.

Updates #15015
Updates tailscale/go#52

Change-Id: I0fa479f8b2d39f43f2dcdff6c28289dbe50b0773
Signed-off-by: Brad Fitzpatrick <[email protected]>
2025-02-21 13:27:25 -08:00
836c01258d go.toolchain.branch: update to Go 1.24 (#15016)
* go.toolchain.branch: update to Go 1.24

Updates #15015

Change-Id: I29c934ec17e60c3ac3264f30fbbe68fc21422f4d
Signed-off-by: Brad Fitzpatrick <[email protected]>

* cmd/testwrapper: fix for go1.24

Updates #15015

Signed-off-by: Paul Scott <[email protected]>

* go.mod,Dockerfile: bump to Go 1.24

Also bump golangci-lint to a version that was built with 1.24

Updates #15015

Signed-off-by: Andrew Lytvynov <[email protected]>

---------

Signed-off-by: Brad Fitzpatrick <[email protected]>
Signed-off-by: Paul Scott <[email protected]>
Signed-off-by: Andrew Lytvynov <[email protected]>
Co-authored-by: Paul Scott <[email protected]>
Co-authored-by: Andrew Lytvynov <[email protected]>
2025-02-19 10:55:49 -08:00
Andrew Lytvynov 1047d11102 go.toolchain.rev: bump to Go 1.23.6 (#14976)
Updates #cleanup

Signed-off-by: Andrew Lytvynov <[email protected]>
2025-02-10 19:03:07 -08:00
Mario Minardi f1514a944a go.toolchain.rev: bump from Go 1.23.3 to 1.23.5 (#14814)
Update Go toolchain to 1.23.5.

Updates #cleanup

Signed-off-by: Mario Minardi <[email protected]>
2025-01-28 14:35:24 -07:00
James Tucker e8f1721147 syncs: add ShardedInt expvar.Var type
ShardedInt provides an int type expvar.Var that supports more efficient
writes at high frequencies (one order of magnigude on an M1 Max, much
more on NUMA systems).

There are two implementations of ShardValue, one that abuses sync.Pool
that will work on current public Go versions, and one that takes a
dependency on a runtime.TailscaleP function exposed in Tailscale's Go
fork. The sync.Pool variant has about 10x the throughput of a single
atomic integer on an M1 Max, and the runtime.TailscaleP variant is about
10x faster than the sync.Pool variant.

Neither variant have perfect distribution, or perfectly always avoid
cross-CPU sharing, as there is no locking or affinity to ensure that the
time of yield is on the same core as the time of core biasing, but in
the average case the distributions are enough to provide substantially
better performance.

See golang/go#18802 for a related upstream proposal.

Updates tailscale/go#109
Updates tailscale/corp#25450

Signed-off-by: James Tucker <[email protected]>
2024-12-19 14:58:28 -08:00