Repository navigation
chore/deps: update Go to 1.27.3 and all dependencies to latest - #1386
Open
marcleblanc2 wants to merge 4 commits into
Open
marcleblanc2 wants to merge 4 commits into
marcleblanc2 wants to merge 4 commits into
Conversation
- Go 1.27.3 in mise.toml, go.mod, lib/go.mod, dev/vendor-lib.sh and the
Docker builder images; Alpine 3.24 runtime images.
- go get -u ./... and go mod tidy in both modules. Pins:
- derision-test/glock v1.1.4: v1.1.5 MockTicker delivers duplicate
ticks (see go.mod comment), which breaks the watchdog test.
- gobwas/glob v0.2.3: v1 is a rewrite with different matching
semantics, and lib/ mirrors the monorepo's pin.
- k8s.io/kube-openapi at the version apimachinery v0.37.2 requires;
newer pulls conflicting structured-merge-diff majors.
- go fix ./... run twice in both modules (Go 1.27 modernizers), with
the two leftovers lint flags cleaned up: fmt.Fprintf in curlCmd and
the inlined boolPtr helper removed.
- GitHub Actions: checkout v7, setup-node v7,
setup-qemu v4, setup-buildx v4, Node 26.13.0 for npm publish.
goreleaser-action stays on v5: v6+ installs goreleaser v2, which
rejects .goreleaser-patch.yml (tap/folder removed in v2) and fails
check on the v1 config. Migrating to v2 is a separate change.
- golangci-lint 2.15.0, shfmt 3.14.1, shellcheck 0.11.0.
Co-authored-by: Amp <[email protected]>
Amp-Thread-ID: https://ampcode.com/threads/T-01a18b16-df86-7399-a300-979289761a30
Per DEVELOPMENT.md step 2, move the unreleased entries under 8.1.2687 and leave an empty Unreleased section. Note that later 8.1.x patch numbers must stay above 2687 so the Build and Release action and sourcegraph.com's release cache agree on which 8.1 release is newest. Amp-Thread-ID: https://ampcode.com/threads/T-01a18b16-df86-7399-a300-979289761a30 Co-authored-by: Amp <[email protected]>
Amp-Thread-ID: https://ampcode.com/threads/T-01a18b16-df86-7399-a300-979289761a30 Co-authored-by: Amp <[email protected]>
… Docker image Amp-Thread-ID: https://ampcode.com/threads/T-01a18b16-df86-7399-a300-979289761a30 Co-authored-by: Amp <[email protected]>
marcleblanc2
force-pushed
the
marc/update-all-deps
branch
from
October 30, 2026 08:27
42795d8 to
231d302
Compare
marcleblanc2
enabled stacked auto-merge (squash)
October 30, 2026 08:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #1383. Brings the toolchain and every dependency current ahead of the 8.1.2687 release, and cuts the changelog section for it.
Changes
mise.toml, bothgo.mod,dev/vendor-lib.sh, Docker builder images); Alpine 3.24 runtime images.go get -u ./...+go mod tidyin the root andlib/modules, same approach as Bump Go dependencies to latest #1354. Three deliberate pins:github.com/derision-test/glockv1.1.4: v1.1.5'sMockTickercan deliver two ticks for oneBlockingAdvance, which panicsinternal/batches/watchdogtests (sync: negative WaitGroup counter). Same pin and comment as Bump Go dependencies to latest #1354.github.com/gobwas/globv0.2.3: v1 is a rewrite with different matching semantics;lib/mirrors the monorepo's pin and batch spec globs are user-facing.k8s.io/kube-openapiat the revisionk8s.io/apimachineryv0.37.2 requires; the newest pulls conflictingstructured-merge-diffmajors.src snapshot uploadusesoption.WithAuthCredentialsFile(option.ServiceAccount, …); the oldWithCredentialsFileis deprecated. The credentials file Sourcegraph issues is a service account key, so no change for customers.go fix ./...run twice in both modules (Go 1.27 modernizers), same approach as go: upgrade to Go 1.26 and modernize #1348 / go: upgrade to Go 1.26 and modernize #1349, plus the two leftovers lint flags:fmt.FprintfincurlCmdand the inlinedboolPtrtest helper removed.checkoutv7,setup-nodev7 with Node 26.13.0,setup-qemuv4,setup-buildxv4.goreleaser-actionstays on v5 on purpose: v6+ installs goreleaser v2, which rejects.goreleaser-patch.yml(tap/folderwere removed in v2) and failscheckon the v1 config. Migrating to goreleaser v2 is a separate change.go install github.com/scip-code/scip-go/cmd/[email protected]with the job's Go toolchain, replacingcontainer: sourcegraph/scip-go. That Docker Hub image stopped at v0.1.26 (built with Go 1.26) and fails on Go 1.27 builds withnil module for userland package: uuid, becausedatabase/sqlnow imports the new stdlibuuidpackage. The newerghcr.io/scip-code/scip-gonix image can't host JS actions (actions/checkoutfails withexec /__e/node24/bin/node: no such file or directory), so the indexer is installed into the runner instead, the same waysourcegraph/scip-go-action@v2does.CHANGELOG.md: unreleased entries moved under## 8.1.2687.DEVELOPMENT.md: later 8.1.x patch numbers must stay above 2687.Tested
go build,go vet,./dev/go-lint.sh(0 issues), Trivy exit 0 at all severities.go test -race ./...andgo test ./...green in both modules.goreleaser checkpasses under goreleaser 1.26.2 (what the action installs).srcfrommainand from this branch: everysrc <cmd> -hpage (45) and everysrc docfile (76) are byte-identical, so the generated reference docs do not change.version,login,search(text and-json),repos list/get,orgs list,users list,extsvc list,search-jobs list,config get,api(including-get-curl),batch validate,batch repositories.snapshot uploadagainst a real bucket.