Skip to content

build: move to Go 1.27.1, refresh website dependencies, fix CI gates - #506

Merged
szibis merged 8 commits into
mainfrom
fix/toolchain-deps-ci
Sep 12, 2026
Merged

build: move to Go 1.27.1, refresh website dependencies, fix CI gates#506
szibis merged 8 commits into
mainfrom
fix/toolchain-deps-ci

Conversation

@szibis

@szibis szibis commented Sep 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

Main has been red since Go 1.26.5 picked up five stdlib advisories: every PR fails the test job on govulncheck, Security / static fails on Trivy's scan of the website lockfile, the nightly image scan fails on the same stdlib CVEs, and the changelog gate rejects every Dependabot website bump. This PR fixes all four causes in one change so the open Dependabot backlog can land and CI is green again.

What changed

Toolchain

Website dependencies (website/, not shipped in the binary or chart)

  • Docusaurus 3.10.0 → 3.10.2, plus a targeted refresh of postcss, fast-uri, brace-expansion, js-yaml, nanoid, browserslist, svgo, mermaid, dompurify, qs, @swc/html, baseline-browser-mapping, colord, joi, postcss-selector-parser.
  • mermaid pinned to 11.x via overrides — 12.0.0 pulls a vulnerable chevrotain/lodash-es chain. qs overridden to >=6.16.0.
  • gray-matter declared as a devDependency: Docusaurus 3.10.2 replaced it internally with @11ty/gray-matter, and the site config imports it directly.
  • npm audit now reports only the image-size chain, which has no upstream fix.

CI gates

  • Changelog gate: website/ is now a non-release path, so Dependabot website bumps and docs-site-only PRs no longer fail for a missing CHANGELOG entry. Two new unit tests.
  • Dependabot: new grouped npm entry for /website (weekly, 7-day cooldown; version updates and security updates each grouped into one PR).

CHANGELOG: Security and Changed entries under [Unreleased], including the CVE mapping for the Go advisories and the rationale for the two dispositions that are not upgrades (image-size, CodeQL request-log finding).

Security advisories closed

Advisory CVE Package
GO-2026-6218 CVE-2026-56860 net/url
GO-2026-6090 CVE-2026-56862 crypto/tls
GO-2026-6089 CVE-2026-56853 net/http
GO-2026-5972 CVE-2026-33818 encoding/asn1
GO-2026-5026 CVE-2026-39821 golang.org/x/net/idna

Plus the 16 Trivy image findings on stdlib (the CVEs above and CVE-2026-46600, CVE-2026-56858, CVE-2026-56859) and 33 of the 35 open Dependabot npm advisories.

Verification (local, Go 1.27.1)

Check Result
go build ./..., go vet ./..., gofmt -s -l clean
go test ./... all packages pass
golangci-lint run (v2.13.2) 0 issues
govulncheck ./... no vulnerabilities
Trivy fs with the CI arguments 0 findings (go.mod, bench/go.mod, website/package-lock.json)
docker build + Trivy image 0 findings in loki-vl-proxy and healthcheck binaries and the base layer
npm run typecheck, npm run build pass
scripts/ci/tests/test_check_changelog_pr.py 22 pass
scripts/ci/check_changelog_pr.py --base main --head HEAD ok

Supersedes

Folded in as cherry-picks: #485, #498, #499.
Superseded by the website refresh (Dependabot will close these once this merges): #484, #488, #489, #490, #491, #492, #496, #497, #500, #501, #502, #503, #504, #505.

dependabot Bot and others added 7 commits September 12, 2026 17:26
Bumps the go-minor group with 1 update: [github.com/klauspost/compress](https://github.com/klauspost/compress).

Updates `github.com/klauspost/compress` from 1.19.0 to 1.19.1
- [Release notes](https://github.com/klauspost/compress/releases)
- [Commits](klauspost/compress@v1.19.0...v1.19.1)

---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
  dependency-version: 1.19.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 0a7157d)
Bumps golang from 1.26.5-alpine3.24 to 1.27.1-alpine3.24.

---
updated-dependencies:
- dependency-name: golang
  dependency-version: 1.27.1-alpine3.24
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit c1ae0ee)
…pdates

Bumps the actions-minor group with 9 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `7.0.0` | `7.0.1` |
| [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) | `4.2.0` | `4.3.0` |
| [docker/login-action](https://github.com/docker/login-action) | `4.4.0` | `4.6.0` |
| [softprops/action-gh-release](https://github.com/softprops/action-gh-release) | `3.0.2` | `3.0.3` |
| [actions/setup-python](https://github.com/actions/setup-python) | `6.3.0` | `7.0.0` |
| [github/codeql-action/init](https://github.com/github/codeql-action) | `4.37.1` | `4.37.9` |
| [github/codeql-action/analyze](https://github.com/github/codeql-action) | `4.37.1` | `4.37.9` |
| [github/codeql-action/upload-sarif](https://github.com/github/codeql-action) | `4.37.1` | `4.37.9` |
| [anchore/sbom-action](https://github.com/anchore/sbom-action) | `0.24.0` | `0.24.2` |

Updates `actions/checkout` from 7.0.0 to 7.0.1
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v7...3d3c42e)

Updates `docker/setup-buildx-action` from 4.2.0 to 4.3.0
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@bb05f3f...37fe631)

Updates `docker/login-action` from 4.4.0 to 4.6.0
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@af1e73f...dbcb813)

Updates `softprops/action-gh-release` from 3.0.2 to 3.0.3
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](softprops/action-gh-release@3d0d988...efb3536)

Updates `actions/setup-python` from 6.3.0 to 7.0.0
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@ece7cb0...5fda3b9)

Updates `github/codeql-action/init` from 4.37.1 to 4.37.9
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@7188fc3...cdf488f)

Updates `github/codeql-action/analyze` from 4.37.1 to 4.37.9
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@7188fc3...cdf488f)

Updates `github/codeql-action/upload-sarif` from 4.37.1 to 4.37.9
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@7188fc3...cdf488f)

Updates `anchore/sbom-action` from 0.24.0 to 0.24.2
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Changelog](https://github.com/anchore/sbom-action/blob/main/RELEASE.md)
- [Commits](anchore/sbom-action@e22c389...3ad7283)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-minor
- dependency-name: docker/setup-buildx-action
  dependency-version: 4.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor
- dependency-name: docker/login-action
  dependency-version: 4.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor
- dependency-name: softprops/action-gh-release
  dependency-version: 3.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-minor
- dependency-name: actions/setup-python
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-minor
- dependency-name: github/codeql-action/init
  dependency-version: 4.37.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-minor
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.37.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-minor
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.37.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-minor
- dependency-name: anchore/sbom-action
  dependency-version: 0.24.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 743ccb7)
Go 1.26.5 carries five reachable stdlib advisories (GO-2026-6218, GO-2026-6090,
GO-2026-6089, GO-2026-5972, GO-2026-5026) that govulncheck flags on every PR.
Move go.mod, bench/go.mod, all workflow setup-go pins and the getting-started
doc to 1.27.1 (the Docker builder image is bumped in the preceding commit).
golangci-lint built against Go 1.26 refuses a Go 1.27 go.mod, so the lint
action moves to v2.13.2; it reports zero issues on the current tree.
Docusaurus 3.10.0 -> 3.10.2 and a targeted refresh of the transitive tree:
postcss, fast-uri, brace-expansion, js-yaml, nanoid, browserslist, svgo,
mermaid, dompurify, qs, @swc/html, baseline-browser-mapping, colord, joi and
postcss-selector-parser. mermaid is pinned to 11.x via overrides because 12.0.0
pulls a vulnerable chevrotain/lodash-es chain; qs is overridden to >=6.16.0.
gray-matter becomes a declared devDependency because Docusaurus 3.10.2 replaced
it internally with @11ty/gray-matter and the site config imports it directly.

npm audit now reports only the image-size chain, which has no upstream fix.
Site typechecks and builds.
…bot updates

The changelog gate treated website/ as release-impacting, so every Dependabot
bump of the website lockfile failed for lacking a CHANGELOG entry. website/ is
now a non-release path (docs site is published independently of the proxy
binary and chart). Two unit tests cover the dependency-only and website-only
cases.

Dependabot gains an npm entry for /website with grouped version and security
updates so future website bumps arrive as one PR instead of one per package.
@github-actions github-actions Bot added size/XL Extra large change scope/ci CI/CD scope/docs Documentation labels Sep 12, 2026
…t-rule exclusions

gosec v2.22.7 cannot type-check Go 1.27 (internal error: package log/slog
without types). Every Go-1.27-capable release also ships the newer taint
rules G118/G704/G705, whose nine hits here are not applicable: the healthcheck
fetches loopback only, the flagged writes are cached JSON bodies with an
application/json content type, and the field-batcher goroutine intentionally
outlives a single request. Excluded with the rationale inline; zero findings
with the new version and exclusion list.
@github-actions github-actions Bot added size/XL Extra large change and removed size/XL Extra large change labels Sep 12, 2026
@github-actions

github-actions Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

PR Quality Report

Compared against base branch main.

Coverage and tests

Signal Base PR Delta
Test count 4795 4795 0
Coverage 89.1% 89.1% 0.0% (stable)

Compatibility

Track Base PR Delta
Loki API 100.0% 11/11 (100.0%) 0.0% (stable)
Logs Drilldown 100.0% 17/17 (100.0%) 0.0% (stable)
VictoriaLogs 100.0% 11/11 (100.0%) 0.0% (stable)

Performance smoke

Lower CPU cost (ns/op) is better. Lower benchmark memory cost (B/op, allocs/op) is better. Higher throughput is better. Lower load-test memory growth is better. Benchmark rows are medians from repeated samples.

Signal Base PR Delta
QueryRange cache-hit CPU cost 2873.0 ns/op 2904.0 ns/op +1.1% (stable)
QueryRange cache-hit memory 1184.0 B/op 1184.0 B/op 0.0% (stable)
QueryRange cache-hit allocations 29.0 allocs/op 29.0 allocs/op 0.0% (stable)
QueryRange cache-bypass CPU cost 3150.0 ns/op 3173.0 ns/op +0.7% (stable)
QueryRange cache-bypass memory 1245.0 B/op 1245.0 B/op 0.0% (stable)
QueryRange cache-bypass allocations 30.0 allocs/op 30.0 allocs/op 0.0% (stable)
Labels cache-hit CPU cost 670.8 ns/op 665.2 ns/op -0.8% (stable)
Labels cache-hit memory 48.0 B/op 48.0 B/op 0.0% (stable)
Labels cache-hit allocations 3.0 allocs/op 3.0 allocs/op 0.0% (stable)
Labels cache-bypass CPU cost 1152.0 ns/op 1171.0 ns/op +1.6% (stable)
Labels cache-bypass memory 391.0 B/op 391.0 B/op 0.0% (stable)
Labels cache-bypass allocations 14.0 allocs/op 14.0 allocs/op 0.0% (stable)

State

  • Coverage, compatibility, and sampled performance are reported here from the same PR workflow.
  • This is a delta report, not a release gate by itself. Required checks still decide merge safety.
  • Performance is a smoke comparison, not a full benchmark lab run.
  • Delta states use the same noise guards as the quality gate (percent + absolute + low-baseline checks), so report labels match merge-gate behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/ci CI/CD scope/docs Documentation size/XL Extra large change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant