Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update cespare/xxhash to v2 version #6714

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Juneezee
Copy link
Contributor

@Juneezee Juneezee commented Dec 25, 2024

Summary

github.com/cespare/xxhash/v2 is the latest version with bug fixes and improvements.

No breaking changes. See https://go.dev/play/p/q35yQ6UUE5A

Related Issues / PR's

Screenshots

NA

Affected Areas and Manually Tested Areas


Important

Update cespare/xxhash to version 2.3.0 and adjust import paths accordingly.

  • Dependencies:
    • Update cespare/xxhash to v2.3.0 in go.mod.
    • Remove redundant cespare/xxhash/v2 indirect dependency in go.mod.
    • Update go.sum to reflect changes in cespare/xxhash version.
  • Imports:
    • Update import path to github.com/cespare/xxhash/v2 in labels.go.

This description was created by Ellipsis for 1a2801a. It will automatically update as commits are pushed.

@Juneezee Juneezee changed the title Update to cespare/xxhash to v2 version Update cespare/xxhash to v2 version Dec 25, 2024
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot 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 to me! Reviewed everything up to 1a2801a in 20 seconds

More details
  • Looked at 68 lines of code in 3 files
  • Skipped 0 files when reviewing.
  • Skipped posting 2 drafted comments based on config settings.
1. pkg/query-service/utils/labels/labels.go:10
  • Draft comment:
    Ensure that the usage of xxhash functions is compatible with the v2 version. The import path has been updated correctly, but verify that the function calls (e.g., xxhash.Sum64) are still valid and behave as expected.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The PR updates the import path for the xxhash package to v2, which is correct. However, the PR description mentions that there are no breaking changes, but it's always good to verify if the usage of the package in the code is compatible with the new version.
2. pkg/query-service/utils/labels/labels.go:10
  • Draft comment:
    Ensure that the xxhash package is used only for hashing purposes related to ClickHouse. If there are non-ClickHouse related functions, consider using the DAO in the telemetry instance instead.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The code uses the xxhash package correctly, and there are no violations of the rules provided.

Workflow ID: wflow_da7Y8IPQzub5VCOG


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

`github.com/cespare/xxhash/v2` is the latest version with bug fixes and
improvements.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
@Juneezee Juneezee changed the title Update cespare/xxhash to v2 version chore(deps): update cespare/xxhash to v2 version Dec 25, 2024
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