Skip to content

Sync version/0-48-2-RC1 with beta; fix CI blockers - #3865

Merged
icanhasmath merged 5 commits into
version/0-48-2-RC1from
marcg/0-48-2-RC1-sync-beta
Oct 23, 2026
Merged

icanhasmath merged 5 commits into
version/0-48-2-RC1from
marcg/0-48-2-RC1-sync-beta

Conversation

@icanhasmath

@icanhasmath icanhasmath commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Gets version/0-48-2-RC1 ready for #3864 (0.48.2-RC1 → beta).

  1. Merge beta in. beta has one commit the version branch lacks: the merge commit for Version/0 48 1 rc4 #3856 (0.48.1-RC4). It changes no files, but without it 0.48.2-RC1 #3864 is BEHIND. mitchell did the same for RC4 ("Merge branch 'beta' into version/0-48-1-RC4").

  2. check-format fix (CI only). When a PR into a branch other than master changes no files, grep -v exits 1 on the empty diff and set -e aborts the script with no output. This PR hit that on every OS. The fix is || true.

  3. Go 1.26.6 → 1.26.10 and golang.org/x/net v0.58.0 → v0.60.0. The Scan job (Trivy) failed on 14 CVEs published since the 0.48.1 scan: 13 in the Go standard library and 11 in x/net. Scan gates Deploy, so the push to beta would also fail to stage without this. It follows mitchell's last bump (d3c9869): the go line in go.mod, the build.yml matrix, go get and re-vendor. A Security line is added to the 0.48.2 changelog.

  4. Keypair tests compare keys by value. Go 1.26.10 made internal/keypairs tests fail intermittently on Linux. They compared a generated *rsa.PrivateKey with the same key parsed back from PEM using deep struct equality, which includes precomputed internals (a leading zero byte in dP differed). The tests now use rsa.PrivateKey.Equal. 20 consecutive runs pass on Go 1.26.10; before, it failed about 1 run in 3. This is a test-only change.

Verified locally: go build ./cmd/... passes with Go 1.26.10. Trivy 0.70.0 with CI's --ignore-unfixed reports 0 findings on the built state binary. Without --ignore-unfixed it reports one, GO-2026-5932 (x/crypto/openpgp is unmaintained), which has no fixed version.

Also on this PR: macos-latest failed once on the flaky pkg/sysinfo TestPerformance timing test and passed on re-run.

Merge with "Create a merge commit", not squash. A squash adds no ancestry, so #3864 would still be BEHIND.

@icanhasmath
icanhasmath requested a review from MDrakos October 23, 2026 16:17
icanhasmath and others added 2 commits October 23, 2026 11:21
With an empty diff, grep -v exits 1 and set -e aborts the script with no
output, so a PR that changes nothing (e.g. merging beta into a version
branch) fails Check Format on every OS.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The CI Trivy scan fails on 13 Go stdlib CVEs (fixed in 1.26.9/1.26.10)
and 11 golang.org/x/net findings (fixed in v0.60.0) published since the
0.48.1 scan. Re-vendored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@icanhasmath icanhasmath changed the title Merge beta into version/0-48-2-RC1 Sync version/0-48-2-RC1 with beta; fix CI blockers Oct 23, 2026
The tests compared a generated keypair with the same key parsed back from
PEM using deep struct equality, which also compares rsa.PrivateKey's
precomputed internals. Under Go 1.26.10 those can differ (e.g. a leading
zero byte in dP) even though the keys are identical, so the tests failed
intermittently. Compare with rsa.PrivateKey.Equal instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@icanhasmath
icanhasmath merged commit 1bdbcfb into version/0-48-2-RC1 Oct 23, 2026
14 checks passed
@icanhasmath
icanhasmath deleted the marcg/0-48-2-RC1-sync-beta branch October 23, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants