Repository navigation
chore(deps): update go-dependencies to v2 (8.19) - #8020
elastic-renovate-prod[bot] wants to merge 2 commits into
Conversation
Dependency Update AnalysisSummary: This PR updates Go dependencies ( Dependency 1:
|
| Check | Result |
|---|---|
| Breaking changes | internal/pkg/cache/impl_ristretto.go:16: cannot use generic type ristretto.Config[K ristretto.Key, V any] without instantiation) |
| Testable in PR | ✅ Yes — PR validation paths exist (.github/workflows/pre-commit.yml on pull_request; Buildkite PR pipeline enabled in .buildkite/pull-requests.json with build_on_commit: true) |
Changelog highlights (v0.2.0 → v2.4.2)
- v2 series introduces API evolution and ongoing cache internals changes; latest
v2.4.2reverts eagersampledLFU.keyCostspre-allocation to address high RSS regression. - No CVE/GHSA identifiers were called out in upstream release notes for this bump.
- Security/CVE-focused readout: changes appear reliability/performance-oriented (memory behavior), with no explicit authn/authz/crypto/input-validation surface change noted.
Usage in this repository
- Direct runtime usage is in cache implementation:
internal/pkg/cache/impl_ristretto.go:10importsgithub.com/dgraph-io/ristretto/v2internal/pkg/cache/impl_ristretto.go:16constructsristretto.Configand now fails compile against v2 generics API.
- Module bump is in
go.mod:7. - Transitive update also bumps
github.com/dgryski/go-farmingo.sum.
Compatibility assessment
- This is a Go major-version migration (
v0path →/v2module path). - Current code change updates import path but does not complete required v2 API adaptation for
ristretto.Config, producing a compile-time failure. - Verified locally via
go test ./internal/pkg/cache -count=1(fails atimpl_ristretto.go:16).
Dependency 2: github.com/jstemmer/go-junit-report v1.0.0 → github.com/jstemmer/go-junit-report/v2 v2.1.0 (dev-tools)
Ecosystem: Go (dev/CI tooling)
| Check | Result |
|---|---|
| Breaking changes | /v2 checksum entries in dev-tools/go.sum, and tool invocation errors (missing go.sum entry for .../v2) |
| Testable in PR | ✅ Yes — this tool is used by CI scripts in PR paths (.buildkite/scripts/unit_test.sh:18, integration_test.sh:16, unit_test_fipsonly.sh:18) |
Changelog highlights (v1.0.0 → v2.1.0)
- v2 adds/changes parser and XML-report behavior (including
go test -jsonsupport, parser package changes, output structure improvements). - v2.1.0 contains parser/output correctness fixes (timestamps, XML escaping, race-flag JSON parsing handling).
- No CVE/GHSA identifiers were called out in upstream release notes.
- Security/CVE-focused readout: upstream changes are parser/output correctness; no explicit crypto/authn/authz or permission-scope broadening noted.
Usage in this repository
- Invoked in Mage:
magefile.go:1708viago tool -modfile dev-tools/go.mod github.com/jstemmer/go-junit-report. - Used by CI scripts:
.buildkite/scripts/unit_test.sh:18.buildkite/scripts/integration_test.sh:16.buildkite/scripts/unit_test_fipsonly.sh:18
- Dependency bump appears in
dev-tools/go.mod(.../v2 v2.1.0), whiledev-tools/go.sumstill shows onlyv1.0.0entries (dev-tools/go.sum:54-55).
Compatibility assessment
- This is a major version migration for a CI/dev tool.
- The current PR state is internally inconsistent for module metadata (v2 required, v1-only sum entries), which causes immediate tool-resolution error in local verification.
- Even though production runtime impact is indirect, this affects test/report generation in CI and should be fixed before merge.
Labels Applied
No labels applied. oblt-aw/ai/merge-ready was not applied because overall risk is high with confirmed compatibility failures in current PR content.
What is this? | From workflow: Observability Agentic Workflow — Pull Request
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
This comment has been minimized.
This comment has been minimized.
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
|
This pull request is now in conflicts. Could you fix it @elastic-renovate-prod[bot]? 🙏 |
93055b0 to
23341bf
Compare
There was a problem hiding this comment.
🟡 Changes recommended
The Ristretto upgrade leaves non-integration builds broken, JUnit tooling references inconsistent with the v2 dependency, and generated notices stale, causing a CI consistency failure once compilation is fixed.
3 open issues
What changed in this PR
Updates Fleet Server’s cache dependency and JUnit reporting tool to their v2 modules on the 8.19 branch.
Changes:
- Upgrades Ristretto from v0.2.0 to v2.4.2 and changes the cache import.
- Upgrades the go-junit-report requirement from v1.0.0 to v2.1.0.
- Refreshes root-module checksums for Ristretto and go-farm.
| File | Description |
|---|---|
internal/pkg/cache/impl_ristretto.go |
Switches the Ristretto import to /v2. |
go.sum |
Updates Ristretto and go-farm checksums. |
go.mod |
Requires Ristretto v2.4.2. |
dev-tools/go.mod |
Requires go-junit-report v2.1.0. |
Review effort: Balanced
| require ( | ||
| github.com/Pallinder/go-randomdata v1.2.0 | ||
| github.com/dgraph-io/ristretto v0.2.0 | ||
| github.com/dgraph-io/ristretto/v2 v2.4.2 |
|
|
||
| import ( | ||
| "github.com/dgraph-io/ristretto" | ||
| "github.com/dgraph-io/ristretto/v2" |
| github.com/google/licenseclassifier v0.0.0-20250213175939-b5d1a3369749 // indirect | ||
| github.com/josharian/intern v1.0.0 // indirect | ||
| github.com/jstemmer/go-junit-report v1.0.0 // indirect | ||
| github.com/jstemmer/go-junit-report/v2 v2.1.0 // indirect |
This comment has been minimized.
This comment has been minimized.
Dependency Update AnalysisSummary: This PR updates two Go dependencies, but the github.com/dgraph-io/ristretto v0.2.0 → github.com/dgraph-io/ristretto/v2 v2.4.2Ecosystem: Go
Changelog highlights (v0.2.0 → v2.4.2)
Usage in this repository
Compatibility assessment
github.com/jstemmer/go-junit-report v1.0.0 → github.com/jstemmer/go-junit-report/v2 v2.1.0Ecosystem: Go (dev/CI tooling)
Changelog highlights (v1.0.0 → v2.1.0)
Usage in this repository
Compatibility assessment
Labels AppliedNo labels applied (overall risk high; breaking compatibility observed). What is this? | From workflow: Observability Agentic Workflow — Pull Request Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. |
TL;DRBuildkite build 17935 is failing for two non-flaky reasons: the Remediation
Investigation detailsRoot Cause
Evidence
Verification
Follow-up
What is this? | From workflow: Observability Agentic Workflow — Status Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. |


This PR contains the following updates:
v0.2.0→v2.4.2v1.0.0→v2.1.0Release Notes
dgraph-io/ristretto (github.com/dgraph-io/ristretto)
v2.4.2Compare Source
Fixed
sampledLFUkeyCostsmap (#482), which allocatedNumCounters/10map buckets at boot and caused a large RSS regression for caches with highNumCountersFull Changelog: dgraph-io/ristretto@v2.4.1...v2.4.2
v2.4.1Compare Source
Fixed
sampledLFUkeyCostsmap (#482), which allocatedNumCounters/10map buckets at boot and caused a large RSS regression for caches with highNumCountersFull Changelog: dgraph-io/ristretto@v2.4.1...v2.4.2
v2.4.0Compare Source
Changed
keyCostsmap insampledLFU(#482)Fixed
Full Changelog: dgraph-io/ristretto@v2.4.0...v2.4.1
v2.3.0Compare Source
Added
Cache.IterValues()method (#475)Fixed
Full Changelog: dgraph-io/ristretto@v2.3.0...v2.4.0
v2.2.0Compare Source
Added
Cache.RemainingCost()method (#448)Fixed
Full Changelog: dgraph-io/ristretto@v2.2.0...v2.3.0
v2.1.0Compare Source
Changed
Fixed
Full Changelog: dgraph-io/ristretto@v2.1.0...v2.2.0
v2.0.1Compare Source
Added
ShouldUpdate()function in config (#427)Fixed
m.Unlockin defer in store.go (#425)Full Changelog: dgraph-io/ristretto@v2.0.1...v2.1.0
v2.0.0Compare Source
Fixed
Full Changelog: dgraph-io/ristretto@v2.0.0...v2.0.1
v1.0.1Compare Source
This release is deprecated
v1.0.0Compare Source
This release is deprecated
jstemmer/go-junit-report (github.com/jstemmer/go-junit-report)
v2.1.0: Version 2.1.0Compare Source
v2.1.0 changelog
_testsuffix.-raceflag ingo test.=== NAMElines introduced in Go1.20testsuite.Testsuites.WriteXMLconvenience method.v2.0.0: Version 2.0.0Compare Source
Changes since v1.0.0
go test -jsonoutput.-subtest-modeflag to exclude or ignore results of subtest parent tests.-inand-outflags for specifying input and output files respectively.-iocopyflag to copy stdin directly to stdout.-propflags to set key/value properties in generated report.-parserflag to switch between regulargo test(default) andgo test -jsonparsing.<![CDATA[]]>tags for improved readability.hostname,timestampandidattributes to JUnit XML.formatterandparserpackages have been replaced withjunitandparser/gotestpackages respectively.-go-versionflag.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate CLI.