You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
143695: tree: include gist into enum comparison assertion r=yuzefovich a=yuzefovich
In theory, the plan gist should already be included in all ~assertion failures~sentry reports, but it doesn't happen in practice. Let's include it explicitly (if it is present in the context) into the enum mismatched version comparison error to help with tracking it down.
Informs: #143571
Epic: None
Release note: None
143749: build/README: add step to upgrade golang.org/x packages r=jlinder a=rickystewart
[Internal discussion](https://cockroachlabs.slack.com/archives/CJ0H8Q97C/p1743193919914069)
Epic: none
Release note: None
Co-authored-by: Yahor Yuzefovich <[email protected]>
Co-authored-by: Ricky Stewart <[email protected]>
Copy file name to clipboardExpand all lines: build/README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,6 +75,10 @@ do so:
75
75
76
76
# Updating the golang version
77
77
78
+
The Go upgrade process is documented [here](https://cockroachlabs.atlassian.net/wiki/spaces/devinf/pages/4193714322/CockroachDB+Go+upgrade+policy+and+process).
79
+
This checklist is meant to be followed by the dev-inf team member that
80
+
performs the upgrade and constructs the draft PR.
81
+
78
82
Please copy this checklist into the relevant commit message and perform these
79
83
steps:
80
84
@@ -87,7 +91,8 @@ steps:
87
91
* [ ] Adjust `--@io_bazel_rules_go//go/toolchain:sdk_version` in [.bazelrc](../.bazelrc).
88
92
* [ ] Bump the version in `WORKSPACE` under `go_download_sdk`. You may need to bump [rules_go](https://github.com/bazelbuild/rules_go/releases). Also edit the filenames listed in `sdks` and update all the hashes to match what you built in the step above.
89
93
* [ ] Bump the version in `WORKSPACE` under `go_download_sdk` for the FIPS version of Go (`go_sdk_fips`).
90
-
* [ ] Run `./dev generate bazel` to refresh `distdir_files.bzl`, then `bazel fetch @distdir//:archives` to ensure you've updated all hashes to the correct value.
94
+
* [ ] Upgrade golang.org/x packages; these are maintained by the Go project and it's reasonable to upgrade them when doing our Go upgrade. Run `grep -e '^\tgolang.org/x' go.mod | grep -v vcs | grep -v image | grep -v typeparams | cut -w -f2 | sed 's/$/@latest/'| xargs go get`. (Note: we don't upgrade certain libraries that are not linked into CRDB, hence the `grep -v`.)
95
+
* [ ] Run `./dev generate bazel --mirror`, then `bazel fetch @distdir//:archives` to ensure you've updated all hashes to the correct value.
91
96
* [ ] Bump the go version in`go.mod`.
92
97
* [ ] Bump the default installed version of Go in`bootstrap-debian.sh` ([source](./bootstrap/bootstrap-debian.sh)).
93
98
* [ ] Replace other mentions of the older version of go (grep for`golang:<old_version>` and `go<old_version>`).
0 commit comments