Skip to content

chore(deps): upgrade xxhash and backoff#19290

Open
janisz wants to merge 3 commits intomasterfrom
update_hash
Open

chore(deps): upgrade xxhash and backoff#19290
janisz wants to merge 3 commits intomasterfrom
update_hash

Conversation

@janisz
Copy link
Contributor

@janisz janisz commented Mar 4, 2026

Description

v1 is not maintained we need to upgrade: cespare/xxhash@v1.1.0...v2.3.0

User-facing documentation

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

CI

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've left some high level feedback:

  • Since xxhash is used in several core paths (process filtering, baselines, networkflow keys), please confirm that the v2 implementation produces identical hashes for your current usage (e.g., same algorithm/seed/endianness) wherever those hashes are persisted, used as identifiers, or exchanged between services, to avoid subtle compatibility issues.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Since xxhash is used in several core paths (process filtering, baselines, networkflow keys), please confirm that the v2 implementation produces identical hashes for your current usage (e.g., same algorithm/seed/endianness) wherever those hashes are persisted, used as identifiers, or exchanged between services, to avoid subtle compatibility issues.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@janisz janisz requested a review from a team as a code owner March 4, 2026 14:26
@janisz janisz changed the title chore(deps): upgrade xxhash to v2 chore(deps): upgrade xxhash and backoff Mar 4, 2026
@rhacs-bot
Copy link
Contributor

rhacs-bot commented Mar 4, 2026

Images are ready for the commit at 6bec766.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.11.x-250-g6bec766b36.

janisz added 2 commits March 4, 2026 18:00
Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
@vikin91
Copy link
Contributor

vikin91 commented Mar 5, 2026

  • Since xxhash is used in several core paths (process filtering, baselines, networkflow keys), please confirm that the v2 implementation produces identical hashes for your current usage

For Sensor's netflow keys - this is safe as this data is kept in memory and is gone after restart.

Copy link
Contributor

@vikin91 vikin91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but let's make the CI happy regarding the jwt changes.

@codecov
Copy link

codecov bot commented Mar 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.62%. Comparing base (d3c2252) to head (6bec766).
⚠️ Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #19290      +/-   ##
==========================================
- Coverage   49.62%   49.62%   -0.01%     
==========================================
  Files        2680     2680              
  Lines      202231   202231              
==========================================
- Hits       100358   100353       -5     
- Misses      94386    94390       +4     
- Partials     7487     7488       +1     
Flag Coverage Δ
go-unit-tests 49.62% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@janisz janisz requested a review from vikin91 March 6, 2026 08:09
@janisz
Copy link
Contributor Author

janisz commented Mar 6, 2026

Looks good, but let's make the CI happy regarding the jwt changes.

@vikin91 I removed jwt it deserves a separated PR as there are some breaking changes

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants