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

bulk update dependencies #2696

Merged
merged 1 commit into from
Jun 10, 2024
Merged

bulk update dependencies #2696

merged 1 commit into from
Jun 10, 2024

Conversation

trajan0x
Copy link
Contributor

@trajan0x trajan0x commented Jun 10, 2024

Description

Do a bulk update of all dependencies

Summary by CodeRabbit

  • Chores
    • Updated multiple dependencies across various services to ensure compatibility and security.

Copy link
Contributor

coderabbitai bot commented Jun 10, 2024

Walkthrough

The recent updates across multiple go.mod files in various services primarily involve upgrading the versions of numerous dependencies. This includes libraries for web frameworks, testing, telemetry, database drivers, and various utility packages. The goal is to ensure compatibility, improve performance, and leverage new features provided by these updated libraries.

Changes

File Path Change Summary
services/cctp-relayer/go.mod Updated versions for gin-gonic, testify, otel, gorm, brotli, sonic, xxhash, circl, base64x, iasm, go-crypto, validator, docker/cli, docker/docker, go-connections, go-diff, logrus, knownhosts, codec.
services/explorer/go.mod Updated versions for clickhouse-go, gin-gonic, otel, gorm/clickhouse, gorm, apimachinery, testify, go-crypto, brotli, sonic, xxhash, circl, base64x, iasm, docker/cli, docker/docker, go-connections, testify, ch-go, uuid.
services/omnirpc/go.mod Updated versions for gin-gonic, uuid, otel, exp, apimachinery, go-crypto, brotli, xxhash, circl, base64x, iasm, testify.
services/stiprelayer/go.mod Updated versions for gin-gonic, testify, otel, sync, gorm/mysql, gorm, brotli, sonic, circl, base64x, iasm, docker/cli, docker/docker, validator, go-git, prometheus/client_golang, prometheus/client_model, prometheus/common, logrus, knownhosts, codec.
tools/go.mod Updated versions for testify, mod, tools, go-crypto, circl, go-git, uuid, go-diff, knownhosts, wmi, crypto.

Poem

In the land of code, where updates flow,
Dependencies rise, and versions grow.
From gin-gonic to otel's might,
Our services gleam in the morning light.
With gorm and brotli, we take the ride,
In the realm of Go, we stride with pride.
🌟✨🐇🚀


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

Deploying sanguine-fe with  Cloudflare Pages  Cloudflare Pages

Latest commit: 59ef94c
Status:🚫  Build failed.

View logs

Copy link

codecov bot commented Jun 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.78470%. Comparing base (2f45287) to head (59ef94c).

Additional details and impacted files
@@                 Coverage Diff                 @@
##              master       #2696         +/-   ##
===================================================
- Coverage   47.96785%   47.78470%   -0.18315%     
===================================================
  Files            304         317         +13     
  Lines          21898       23112       +1214     
  Branches         119          80         -39     
===================================================
+ Hits           10504       11044        +540     
- Misses         10378       10986        +608     
- Partials        1016        1082         +66     
Flag Coverage Δ
cctp-relayer 44.68619% <ø> (?)
core 64.62830% <ø> (+0.19983%) ⬆️
git-changes-action 68.75000% <ø> (ø)
omnirpc 53.15110% <ø> (+0.07592%) ⬆️
promexporter 75.91241% <ø> (?)
rfq 31.07135% <ø> (-0.04647%) ⬇️
screener-api 66.97039% <ø> (ø)
solidity ?
stiprelayer 3.33333% <ø> (ø)
tools 39.03421% <ø> (ø)

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.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 2f45287 and 59ef94c.

Files ignored due to path filters (14)
  • agents/go.sum is excluded by !**/*.sum
  • contrib/git-changes-action/go.sum is excluded by !**/*.sum
  • contrib/promexporter/go.sum is excluded by !**/*.sum
  • contrib/screener-api/go.sum is excluded by !**/*.sum
  • core/go.sum is excluded by !**/*.sum
  • ethergo/go.sum is excluded by !**/*.sum
  • go.work.sum is excluded by !**/*.sum
  • services/cctp-relayer/go.sum is excluded by !**/*.sum
  • services/explorer/go.sum is excluded by !**/*.sum
  • services/omnirpc/go.sum is excluded by !**/*.sum
  • services/rfq/go.sum is excluded by !**/*.sum
  • services/scribe/go.sum is excluded by !**/*.sum
  • services/stiprelayer/go.sum is excluded by !**/*.sum
  • tools/go.sum is excluded by !**/*.sum
Files selected for processing (13)
  • agents/go.mod (12 hunks)
  • contrib/git-changes-action/go.mod (2 hunks)
  • contrib/promexporter/go.mod (8 hunks)
  • contrib/screener-api/go.mod (7 hunks)
  • core/go.mod (5 hunks)
  • ethergo/go.mod (11 hunks)
  • services/cctp-relayer/go.mod (12 hunks)
  • services/explorer/go.mod (9 hunks)
  • services/omnirpc/go.mod (10 hunks)
  • services/rfq/go.mod (13 hunks)
  • services/scribe/go.mod (13 hunks)
  • services/stiprelayer/go.mod (12 hunks)
  • tools/go.mod (4 hunks)
Additional comments not posted (102)
contrib/git-changes-action/go.mod (5)

15-15: Updated dependencies to newer versions.

Ensure that the updated versions are compatible with the existing codebase and do not introduce breaking changes.

Also applies to: 21-21, 25-27, 33-33, 35-35


60-60: Updated github.com/sergi/go-diff to a newer version.

Verify that this update does not affect the functionality where it is used, especially in diff-related operations.


62-62: Updated github.com/skeema/knownhosts to a newer version.

Check for any changes in the handling of known hosts that might affect security or connectivity.


67-72: Updated several golang.org/x/ packages to newer versions.

These updates often include security patches and performance improvements. Ensure they are tested thoroughly.


74-79: Updated Kubernetes-related dependencies to newer versions.

This is crucial for maintaining compatibility with newer Kubernetes versions. Ensure that integration with Kubernetes is fully tested.

tools/go.mod (4)

15-15: Updated dependencies to newer versions.

Ensure that the updated versions are compatible with the existing codebase and do not introduce breaking changes.

Also applies to: 19-20


27-27: Updated several dependencies to newer versions.

These updates often include security patches and performance improvements. Ensure they are tested thoroughly.

Also applies to: 32-32, 51-51, 60-60


83-83: Updated several golang.org/x/ packages and Kubernetes-related dependencies to newer versions.

This is crucial for maintaining compatibility with newer Kubernetes versions. Ensure that integration with Kubernetes is fully tested.

Also applies to: 91-91, 94-99


102-104: Updated Kubernetes-related dependencies to newer versions.

This is crucial for maintaining compatibility with newer Kubernetes versions. Ensure that integration with Kubernetes is fully tested.

core/go.mod (3)

21-21: Updated dependencies to newer versions.

Ensure that the updated versions are compatible with the existing codebase and do not introduce breaking changes.

Also applies to: 22-22, 25-25, 35-35, 38-38, 45-45, 47-56, 58-61


70-70: Updated several dependencies to newer versions.

These updates often include security patches and performance improvements. Ensure they are tested thoroughly.

Also applies to: 73-74, 76-76, 77-77, 78-79, 80-80, 86-88


101-101: Updated several golang.org/x/ packages and Kubernetes-related dependencies to newer versions.

This is crucial for maintaining compatibility with newer Kubernetes versions. Ensure that integration with Kubernetes is fully tested.

Also applies to: 118-120, 128-129, 134-143, 146-149, 154-158, 162-162, 165-172, 176-182

contrib/screener-api/go.mod (2)

14-14: Updated dependencies to newer versions.

Ensure that the updated versions are compatible with the existing codebase and do not introduce breaking changes.

Also applies to: 17-17, 20-20, 26-28, 30-32


42-42: Updated several dependencies to newer versions.

These updates often include security patches and performance improvements. Ensure they are tested thoroughly.

Also applies to: 44-45, 48-48, 49-51, 52-52, 58-59, 60-60, 73-73, 84-84, 107-109, 118-119, 123-123, 127-127, 132-135, 139-139, 142-143, 148-148, 154-154, 160-169, 173-179, 184-189

contrib/promexporter/go.mod (1)

24-24: Dependency updates appear correct and consistent with the PR's objectives.

Ensure that all updated dependencies are compatible with each other and that no deprecated versions are being used.

Also applies to: 30-30, 36-39, 46-46, 47-47, 53-53, 56-56, 67-67, 68-68, 71-71, 73-73, 74-74, 75-75, 106-106, 109-109, 116-116, 124-124, 147-147, 151-151, 165-165, 166-166, 167-167, 172-172, 173-173, 174-174, 175-175, 184-184, 187-187, 188-188, 199-199, 208-208, 211-211, 217-217, 218-218, 219-219, 223-223, 224-224, 225-225, 226-226, 227-227, 228-228, 229-229, 231-231, 235-235, 238-238, 239-239, 240-240, 241-241, 242-242

services/omnirpc/go.mod (1)

20-20: Dependency updates appear correct and consistent with the PR's objectives.

Ensure that all updated dependencies are compatible with each other and that no deprecated versions are being used.

Also applies to: 24-24, 37-37, 43-45, 47-47, 48-48, 50-50, 65-65, 67-67, 76-76, 77-77, 80-80, 82-82, 83-83, 84-84, 92-92, 102-102, 103-103, 104-104, 122-122, 130-130, 169-169, 173-173, 186-186, 191-191, 195-195, 201-201, 202-202, 203-203, 204-204, 212-212, 215-215, 216-216, 219-219, 227-227, 242-242, 248-248, 249-249, 250-250, 254-254, 255-255, 256-256, 257-257, 258-258, 259-259, 260-260, 262-262, 266-266, 271-271, 272-272, 273-273

ethergo/go.mod (8)

45-45: Updated github.com/prometheus/client_golang to v1.19.1. Verify that the new metrics and features are integrated properly in the application.


48-48: Updated github.com/sirupsen/logrus to v1.9.3. Check for any deprecated methods or changes in logging format that might affect the application's logging strategy.

Verification successful

The update to github.com/sirupsen/logrus to v1.9.3 does not introduce any deprecated methods or changes in logging format that affect the application's logging strategy. The methods used (log.Fatal, log.New, logger.SetLevel, logger.SetFormatter) are still valid and have not been deprecated in v1.9.3.

  • log.Fatal: No deprecations or changes.
  • log.New: No deprecations or changes.
  • logger.SetLevel: No deprecations or changes.
  • logger.SetFormatter: No deprecations or changes.
Scripts executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Check for deprecated methods or changes in logging format.

# Test: Search for Logrus usage in the repository.
rg --type go $'github.com/sirupsen/logrus'

Length of output: 233



Script:

#!/bin/bash
# Extract usage of logrus in the identified files

# Extract logrus usage in server_gen.go
echo "Usage in server_gen.go:"
rg 'log\.' ethergo/signer/signer/awssigner/kmsmock/internal/server_gen.go

# Extract logrus usage in init_gen.go
echo "Usage in init_gen.go:"
rg 'log\.' ethergo/signer/signer/awssigner/kmsmock/internal/init_gen.go

Length of output: 395


49-49: Updated github.com/stretchr/testify to v1.9.0. Ensure that all unit tests are still passing with the new version.


55-58: Bulk update to go.opentelemetry.io/otel packages to v1.27.0. Confirm that telemetry data is being correctly reported and there are no disruptions in tracing or metrics collection.


26-26: Updated github.com/google/uuid to v1.6.0. Ensure that this version is compatible with other dependencies and does not introduce breaking changes.


67-69: Updated gorm.io related packages. Verify that database interactions are stable and perform as expected with these new driver versions.


61-62: Updated golang.org/x/exp and golang.org/x/sync to newer versions. Check for any experimental features being used that might behave differently with these updates.


71-71: Updated k8s.io/apimachinery to v0.26.2. Ensure that this update does not affect the Kubernetes API interactions, especially if custom controllers or operators are used.

services/explorer/go.mod (17)

19-19: Dependency Update: github.com/ClickHouse/clickhouse-go/v2 from v2.8.3 to v2.23.2.

Ensure that this major version change does not introduce breaking changes or require additional code modifications.


27-27: Dependency Update: github.com/gin-gonic/gin from v1.9.1 to v1.10.0.

Verify that the new version of Gin framework is compatible with existing middleware and handlers.


38-38: Dependency Update: github.com/stretchr/testify from v1.8.4 to v1.9.0.

Check if there are any deprecated methods in the new version that might affect existing tests.


44-45: Dependency Update: go.opentelemetry.io/otel and go.opentelemetry.io/otel/metric from v1.23.1 to v1.27.0.

Confirm that the updated OpenTelemetry versions are compatible with the telemetry setup and do not require additional configuration changes.


47-47: Dependency Update: golang.org/x/sync from v0.6.0 to v0.7.0.

Ensure that the updated synchronization utilities are used correctly throughout the project.


49-50: Dependency Update: gorm.io/driver/clickhouse from v0.5.1 to v0.6.1 and gorm.io/gorm from v1.25.7 to v1.25.10.

Check for any changes in GORM's API that might affect database interactions, especially with ClickHouse.


51-51: Dependency Update: k8s.io/apimachinery from v0.25.5 to v0.26.2.

Verify compatibility with the Kubernetes cluster version used in production.


58-58: Dependency Update: github.com/ClickHouse/ch-go from v0.53.0 to v0.61.5.

Ensure that the updated ClickHouse Go client is compatible with the ClickHouse server version.


66-66: Dependency Update: github.com/ProtonMail/go-crypto from v0.0.0-20230828082145-3c4c8a2d2371 to v1.0.0.

Check for any changes in cryptographic functions that might affect security protocols.


72-72: Dependency Update: github.com/andybalholm/brotli from v1.0.5 to v1.1.0.

Confirm that the Brotli compression is still effective and compatible with the web servers used.


85-85: Dependency Update: github.com/cespare/xxhash/v2 from v2.2.0 to v2.3.0.

Ensure that the hash functions are used consistently and check for any performance implications.


89-91: Dependency Update: github.com/cloudflare/circl, github.com/cloudwego/base64x, and github.com/cloudwego/iasm from older versions to v1.3.7, v0.1.4, and v0.2.0 respectively.

Verify the integration of these libraries, especially in cryptographic and assembly implementations.


112-114: Dependency Update: Docker related libraries from older versions to v26.0.1+incompatible and v0.5.0.

Check Docker compatibility, especially in environments where Docker is heavily used for service deployment.


136-136: Dependency Update: github.com/go-git/go-git/v5 from v5.11.0 to v5.12.0.

Ensure that the updated Git library does not affect repository operations within the service.


143-143: Dependency Update: github.com/go-playground/validator/v10 from v10.15.3 to v10.20.0.

Check for any new validation tags or deprecated features that might affect data validation logic.


155-155: Dependency Update: github.com/google/uuid from v1.5.0 to v1.6.0.

Confirm that UUID generation and handling are consistent with previous implementations.


217-220: Dependency Update: Prometheus client libraries from older versions to newer versions.

Ensure that the metrics collection and monitoring are not disrupted by these updates.

services/stiprelayer/go.mod (6)

9-9: Updated github.com/gin-gonic/gin to v1.10.0.

Ensure that the application's middleware and route handling are compatible with this new version.


12-12: Updated github.com/stretchr/testify to v1.9.0.

Verify that all existing tests pass with the new version to ensure no breaking changes in assertions.


19-20: Updated go.opentelemetry.io/otel and go.opentelemetry.io/otel/trace to v1.27.0.

Check integration points with telemetry to confirm that new tracing features or changes are integrated properly.


21-21: Updated golang.org/x/sync to v0.7.0.

Ensure that there are no concurrency issues introduced with the new version, especially in critical sections of the code.


24-26: Updated gorm.io related packages to their latest versions.

Check all database interactions for potential regressions or optimizations due to the ORM updates.


42-42: Bulk update of various dependencies across different categories.

Ensure thorough testing across the system to verify that no integration issues arise due to these updates. Consider running a regression test suite to cover major functionalities.

Also applies to: 45-45, 69-70, 73-73, 75-75, 76-76, 77-77, 85-85, 96-98, 118-118, 125-125, 138-138, 172-172, 176-176, 190-190, 199-199, 206-209, 218-218, 221-222, 233-233, 243-243, 250-250, 256-259, 264-272, 279-279, 284-286

services/cctp-relayer/go.mod (17)

12-12: Updated github.com/gin-gonic/gin to v1.10.0.

Ensure that the application is tested with the new version as it might include breaking changes or new features that affect the existing code.


17-17: Updated github.com/stretchr/testify to v1.9.0.

This is a test library update. Verify that all tests pass with the new version to ensure there are no breaking changes in the assertions used across the tests.


23-24: Updated go.opentelemetry.io/otel and go.opentelemetry.io/otel/trace to v1.27.0.

Check the changelog for otel to ensure that there are no changes affecting the telemetry data collection or format that might impact monitoring or tracing capabilities.


25-25: Updated golang.org/x/sync to v0.7.0.

Ensure that there are no deprecated functions being used from this library that could affect synchronization features in the application.


28-30: Updated gorm.io related packages to newer versions.

It's crucial to run integration tests to ensure that database interactions, especially with MySQL as indicated by the driver update, are stable and perform as expected with the new ORM versions.


45-45: Updated github.com/ProtonMail/go-crypto to v1.0.0.

This update might include significant changes given the version bump to v1.0.0. Review the library's release notes for any security updates or breaking changes.


50-50: Updated github.com/andybalholm/brotli to v1.1.0.

Ensure compatibility with this new version, especially if used for HTTP response compression, to maintain or improve the performance and efficiency of data transfer.


73-74: Updated github.com/bytedance/sonic to v1.11.6 and added github.com/bytedance/sonic/loader.

Given the addition of a new module (sonic/loader), verify that it integrates well with the existing JSON handling in the application.


77-77: Updated github.com/cespare/xxhash/v2 to v2.3.0.

This is a minor version update. Check for any optimizations or bug fixes that could affect hash computations within the application.


81-83: Added new dependencies github.com/cloudflare/circl, github.com/cloudwego/base64x, and github.com/cloudwego/iasm.

These additions suggest new functionality related to security or performance optimizations. Confirm that these libraries are used appropriately and securely within the service.


101-103: Major version updates for github.com/docker related packages.

These updates are significant and could potentially break existing Docker integrations. Thorough testing is required to ensure that all Docker-related functionalities remain operational.


123-123: Updated github.com/go-git/go-git/v5 to v5.12.0.

This update should be checked for any changes in the Git functionalities used within the service, especially if the service interacts with Git repositories.


130-130: Updated github.com/go-playground/validator/v10 to v10.20.0.

This is a significant update for a validation library. Ensure that all data validation across the service adheres to the new library's rules and features.


143-143: Updated github.com/google/uuid to v1.6.0.

UUID generation is critical for unique identifiers across the service. Verify that the update does not affect the format or uniqueness of generated UUIDs.


226-227: Updated github.com/sirupsen/logrus to v1.9.3 and github.com/skeema/knownhosts to v1.2.2.

Logging and SSH known hosts handling are crucial for operational and security aspects. Ensure that these updates do not introduce any regressions in logging verbosity or SSH connectivity.


238-238: Updated github.com/ugorji/go/codec to v1.2.12.

This library is often used for encoding and decoding data structures. Test thoroughly to ensure that all data serialization and deserialization processes are compatible with the new version.


268-291: Bulk update of golang.org/x/* packages and k8s.io/* packages.

These updates are crucial for the underlying Go system and Kubernetes-related functionalities. Comprehensive testing is required to ensure that these updates do not affect the system's stability or performance.

services/scribe/go.mod (21)

30-30: Updated github.com/gin-gonic/gin to v1.10.0.

Ensure that the updated version does not introduce breaking changes that affect existing code.


45-45: Updated github.com/stretchr/testify to v1.9.0.

Verify that all existing tests pass with the new version to ensure no regressions.


54-56: Updated OpenTelemetry dependencies to v1.27.0.

Check for any required changes in the instrumentation code due to the update.


58-60: Updated golang.org/x/* packages.

These updates often include important fixes and optimizations. Ensure compatibility with the rest of the project.


63-63: Updated google.golang.org/protobuf to v1.34.1.

Confirm that all protobuf-related functionality operates as expected after this update.


67-67: Updated gorm.io/gorm to v1.25.10.

Check ORM-related code for any deprecations or breaking changes in the new GORM version.


68-68: Updated k8s.io/apimachinery to v0.26.2.

This is a critical dependency for Kubernetes interactions; ensure that all integrations are tested thoroughly.


81-81: Updated github.com/ProtonMail/go-crypto to v1.0.0.

This major version change could include breaking changes or new features that need to be integrated carefully.


87-87: Updated github.com/andybalholm/brotli to v1.1.0.

Ensure that compression and decompression work as expected with the new version.


96-97: Updated github.com/bytedance/sonic to v1.11.6 and added github.com/bytedance/sonic/loader at v0.1.1.

Check JSON operations for performance improvements or issues after this update.


100-100: Updated github.com/cespare/xxhash/v2 to v2.3.0.

This is a minor version update, likely safe, but verify hashing functionality.


104-106: Updated github.com/cloudflare/circl to v1.3.7 and added new dependencies github.com/cloudwego/base64x and github.com/cloudwego/iasm.

Review the usage of these cryptographic libraries to ensure they meet security standards.


127-129: Major version updates for Docker-related dependencies.

These updates can introduce significant changes. Test all Docker-related functionality extensively.


150-150: Updated github.com/go-git/go-git/v5 to v5.12.0.

Ensure that all Git operations within the application are functioning correctly after the update.


157-157: Updated github.com/go-playground/validator/v10 to v10.20.0.

Check for any new validation tags or deprecated features that might affect data validation logic.


233-236: Updated various Prometheus dependencies.

Ensure that metrics are being collected and reported correctly after these updates.


246-246: Updated github.com/sergi/go-diff to v1.3.2-0.20230802210424-5b0b94c5c0d3.

Verify that diff operations, particularly in tests or data comparisons, are accurate.


249-249: Updated github.com/sirupsen/logrus to v1.9.3.

Check logging output for any changes in format or performance issues.


250-250: Updated github.com/skeema/knownhosts to v1.2.2.

Ensure SSH operations, particularly in deployment scripts or integrations, are unaffected.


262-262: Updated github.com/ugorji/go/codec to v1.2.12.

Test serialization and deserialization functions to confirm no regressions.


276-276: Updated github.com/yusufpapurcu/wmi to v1.2.3.

This is specific to Windows management instrumentation; verify on Windows environments.

services/rfq/go.mod (8)

34-34: Updated golang.org/x/exp to a very recent version. This package is experimental; ensure that the update does not introduce instability.


10-10: Updated github.com/gin-gonic/gin to v1.10.0. Ensure that this major version change does not introduce breaking changes or require code modifications.


12-12: Updated github.com/google/uuid to v1.6.0. Verify that the new version is compatible with other dependencies and does not introduce breaking changes.

Verification successful

The updated version v1.6.0 of github.com/google/uuid appears to be compatible with the existing codebase. The primary usage of the uuid package involves generating new UUIDs with uuid.New().String(), which has not changed in a way that would introduce breaking changes.

  • Verified usage in the following files:
    • services/rfq/api/client/client.go
    • services/omnirpc/proxy/forward_test.go
    • ethergo/submitter/util_test.go
    • ethergo/submitter/submitter.go
    • ethergo/submitter/db_test.go
    • ethergo/backends/anvil/anvil.go
    • core/ginhelper/server_test.go
    • core/ginhelper/server.go
    • contrib/screener-api/client/client.go
Scripts executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Check for compatibility issues with the new version of google/uuid.
ast-grep --lang go --pattern $'import "github.com/google/uuid" { $$$ }'

Length of output: 534



Script:

#!/bin/bash
# Description: Correct the pattern to search for the import statement of github.com/google/uuid
ast-grep --lang go --pattern 'import "github.com/google/uuid"'

# Description: Search for usage of the uuid package in the codebase to verify compatibility
rg --glob '*.go' 'uuid\.' --context 5

Length of output: 20367


113-115: Significant version jump for Docker-related dependencies. Ensure that these updates are compatible with the project's Docker setup and do not affect containerization processes.


56-56: Updated github.com/ProtonMail/go-crypto to v1.0.0. This is a major version update, potentially introducing significant changes. Review the release notes and test for cryptographic compliance and security.


31-33: Updated OpenTelemetry dependencies to v1.27.0. Confirm that the new versions are compatible with the instrumentation setup in the project.


303-305: Updated Kubernetes-related dependencies. Given the scope of changes in Kubernetes APIs between minor versions, thoroughly test to ensure that these updates do not break any integrations or deployments.


20-20: Updated github.com/stretchr/testify to v1.9.0. This is a minor version update; ensure that there are no deprecations affecting existing tests.

agents/go.mod (9)

23-41: Updated dependency versions align with PR objectives.

Ensure that all updated dependencies are tested for compatibility with existing code, especially major version changes.


52-54: Addition of new indirect dependencies github.com/cloudwego/base64x and github.com/cloudwego/iasm.

Verify the necessity and usage of these new dependencies in the project to ensure they are justified.


174-174: Updated github.com/gin-gonic/gin to v1.10.0.

This is a minor version update. Check the release notes for any deprecated features or breaking changes.


177-177: Updated github.com/go-git/go-git/v5 to v5.12.0.

Minor version update. Ensure that all Git operations in the project are functioning as expected after this update.


184-184: Updated github.com/go-playground/validator/v10 to v10.20.0.

This is a significant version jump. Review the validation logic in the project to ensure compatibility.


197-197: Updated github.com/google/uuid to v1.6.0.

Minor version update. Verify UUID generation and parsing functionalities across the project.


254-257: Updated Prometheus client libraries.

- github.com/prometheus/client_golang v1.18.0
- github.com/prometheus/client_model v0.6.0
- github.com/prometheus/common v0.47.0
- github.com/prometheus/procfs v0.12.0
+ github.com/prometheus/client_golang v1.19.1
+ github.com/prometheus/client_model v0.6.1
+ github.com/prometheus/common v0.53.0
+ github.com/prometheus/procfs v0.15.0

Ensure that all metrics and monitoring functionalities are tested to confirm they are reporting correctly.


304-306: Updated OpenTelemetry SDK and metric libraries to v1.27.0.

Ensure integration with telemetry systems is functioning correctly, particularly in how metrics are collected and reported.


311-318: Significant updates to golang.org/x/* packages.

- golang.org/x/crypto v0.19.0
- golang.org/x/exp v0.0.0-20240213143201-ec583247a57a
- golang.org/x/mod v0.15.0
- golang.org/x/net v0.21.0
- golang.org/x/oauth2 v0.16.0
- golang.org/x/sys v0.17.0
- golang.org/x/term v0.17.0
- golang.org/x/text v0.14.0
+ golang.org/x/crypto v0.24.0
+ golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8
+ golang.org/x/mod v0.18.0
+ golang.org/x/net v0.26.0
+ golang.org/x/oauth2 v0.18.0
+ golang.org/x/sys v0.21.0
+ golang.org/x/term v0.21.0
+ golang.org/x/text v0.16.0

These updates may affect a wide range of functionalities. Comprehensive testing is recommended to ensure all system operations are stable.

Comment on lines +158 to +160
github.com/docker/cli v26.0.1+incompatible // indirect
github.com/docker/docker v26.0.1+incompatible // indirect
github.com/docker/go-connections v0.5.0 // indirect
Copy link
Contributor

Choose a reason for hiding this comment

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

Major version updates for Docker-related dependencies.

- github.com/docker/cli v20.10.17+incompatible
- github.com/docker/docker v24.0.5+incompatible
- github.com/docker/go-connections v0.4.0
+ github.com/docker/cli v26.0.1+incompatible
+ github.com/docker/docker v26.0.1+incompatible
+ github.com/docker/go-connections v0.5.0

These updates can introduce breaking changes. Thorough testing is required to ensure that all Docker-related functionality remains operational.

Committable suggestion was skipped due to low confidence.

@trajan0x trajan0x merged commit d79b82a into master Jun 10, 2024
76 of 77 checks passed
@trajan0x trajan0x deleted the fix/dep-update branch June 10, 2024 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant