Skip to content

build: upgrade Go and resolve security findings - #94

Merged
appleboy merged 4 commits into
masterfrom
chore/upgrade-go-1.26.10
Oct 31, 2026
Merged

appleboy merged 4 commits into
masterfrom
chore/upgrade-go-1.26.10

Conversation

@appleboy

@appleboy appleboy commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Summary

Upgrade Go module minimums to 1.26.10 and select the latest patch releases for the quoted Go 1.26/1.27 CI matrix. Upgrade vulnerable golang.org/x/net dependencies to v0.60.0 in affected main, example, and tool modules, with required transitive dependency updates.

AI authorship

  • AI was used: Codex (GPT-6).
  • AI-authored files: .github/workflows/go.yml, _example/example01/go.mod, _example/example01/go.sum, _example/example02/go.mod, _example/example02/go.sum, _example/example03/go.mod, _example/example03/go.sum, _example/example04/go.mod, _example/example04/go.sum, go.mod, go.sum, go.tools.mod, go.tools.sum.
  • Human line-by-line reviewed: None — not yet reviewed by a human.

Change classification

Core: dependency/runtime compatibility affects downstream users. Two reviewers including a module owner are recommended.

Plan and related issues

Upgrade Go to 1.26.10, resolve security findings, and verify every CI check. No issue references supplied.

Verification

Checkout chore/upgrade-go-1.26.10 at 3bbf0a47db6752cf313fa6af8d02a31fd97bf782. Use Go 1.26.10 and network access for module downloads; run the commands below from the listed directory relative to the repository root.

Command / directory Expected result Observed result
go test -mod=readonly -timeout=180s ./... in _example/example01 Exit 0 Passed locally
go test -mod=readonly -timeout=180s ./... in _example/example02 Exit 0 Passed locally
go test -mod=readonly -timeout=180s ./... in _example/example03 Exit 0 Passed locally
go test -mod=readonly -timeout=180s ./... in _example/example04 Exit 0 Passed locally
go test -mod=readonly -timeout=180s ./... in . Exit 0 Passed locally
go tool -modfile=go.tools.mod golangci-lint run --allow-serial-runners in . Exit 0 Passed locally
actionlint -shellcheck= -pyflakes= .github/workflows/codeql.yml .github/workflows/go.yml .github/workflows/goreleaser.yml .github/workflows/trivy-scan.yml in . Exit 0 Passed locally
trivy fs --scanners vuln,secret,misconfig --severity CRITICAL,HIGH,MEDIUM --ignore-unfixed --exit-code 1 . in a clean checkout No fixable medium/high/critical findings Passed on clean tracked-file snapshot, zero findings
git diff --check and git diff --staged --check No whitespace errors Passed

Acceptance scenarios

  1. Inspect module go directives: minimum remains 1.26.10. Inspect CI: Go matrix values are strings, and setup-go checks for the latest matching patch release.
  2. Run the tests/lint above. Existing behavior must pass with the updated dependencies.
  3. Run the security scan above from a clean checkout; expect zero fixable findings at the workflow severity threshold.

Status: Passed locally. Hosted CI is being monitored on this commit; local results do not imply human security approval. Remove disposable integration test containers when finished.

Risk and rollback

Dependency changes can affect compatibility. Older Go toolchains must upgrade. No production data is modified; revert the commits to restore prior versions. Do not disable security checks to bypass failures.

Reviewer guide

Review dependency/module changes and any explicit behavior fixes above; spot-check regenerated checksums and CI configuration.

- Require Go 1.26.10 across tracked modules
- Test the minimum supported patch release in CI
- Select Go 1.26 in workflow matrices and setup steps
- Keep module minimum requirements at Go 1.26.10
- Represent both Go 1.26 and Go 1.27 as strings
- Resolve reported vulnerabilities in affected dependencies
- Keep Go version matrices on current patch releases
@appleboy appleboy changed the title build(go): upgrade to Go 1.26.10 build: upgrade Go and resolve security findings Oct 29, 2026
@appleboy
appleboy merged commit 13e16c1 into master Oct 31, 2026
9 checks passed
@appleboy
appleboy deleted the chore/upgrade-go-1.26.10 branch October 31, 2026 01:55
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.

1 participant