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

Bumping go dependencies #259

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

Conversation

niclasheun
Copy link
Contributor

@niclasheun niclasheun commented Mar 12, 2025

This pull request includes updates to the dependencies in the go.mod files for the servers/core and servers/intro_course directories. The changes primarily focus on upgrading the versions of various indirect dependencies.

Dependency updates in servers/core/go.mod:

  • Upgraded github.com/bytedance/sonic to v1.13.1 and github.com/bytedance/sonic/loader to v0.2.4.
  • Upgraded github.com/lufia/plan9stats to v0.0.0-20250303091104-876f3ea5145d.
  • Upgraded github.com/opencontainers/image-spec to v1.1.1.
  • Upgraded multiple go.opentelemetry.io packages to v1.35.0.
  • Upgraded multiple golang.org/x packages to their latest versions.

Dependency updates in servers/intro_course/go.mod:

  • Upgraded github.com/bytedance/sonic to v1.13.1 and github.com/bytedance/sonic/loader to v0.2.4.
  • Upgraded multiple golang.org/x packages to their latest versions.

Summary by CodeRabbit

  • Chores
    • Updated a range of underlying libraries and dependencies to the latest versions, enhancing overall performance, stability, and compatibility.

Copy link

coderabbitai bot commented Mar 12, 2025

Walkthrough

This pull request updates dependency versions in two go.mod files located under the servers directory. Both modules update core dependencies such as github.com/bytedance/sonic and its loader, as well as several golang.org/x libraries. Additionally, the servers/core/go.mod file includes extra updates for telemetry components, plan9stats, and related packages. The modifications consist solely of dependency version bumps without altering application logic.

Changes

File(s) Change Summary
servers/core/go.mod, servers/intro_course/go.mod Updated github.com/bytedance/sonic (from v1.12.9/v1.12.10 to v1.13.1) and github.com/bytedance/sonic/loader (from v0.2.3 to v0.2.4)
servers/core/go.mod, servers/intro_course/go.mod Updated various golang.org/x packages (arch, crypto, net, oauth2, sync, sys, text) to newer versions (e.g., arch v0.14.0→v0.15.0, crypto v0.35.0→v0.36.0, etc.)
servers/core/go.mod Updated additional dependencies: github.com/lufia/plan9stats (v0.0.0-20250224150550-a661cff19cfb→v0.0.0-20250303091104-876f3ea5145d), github.com/opencontainers/image-spec (v1.1.0→v1.1.1),
github.com/tklauser/go-sysconf (v0.3.14→v0.3.15), github.com/tklauser/numcpus (v0.9.0→v0.10.0), and multiple OpenTelemetry packages (otelhttp, otel, otel/metric, otel/sdk, otel/trace)

Poem

I'm a rabbit with a coding hop so light,
Bumping dependencies from morning to night.
Carrots in the garden, versions in play,
Each update a leap toward a brighter day.
With whiskers twitching, I celebrate the refresh—
A merry code stroll with every version mesh!


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7c2e037 and 3e5d873.

⛔ Files ignored due to path filters (2)
  • servers/core/go.sum is excluded by !**/*.sum
  • servers/intro_course/go.sum is excluded by !**/*.sum
📒 Files selected for processing (2)
  • servers/core/go.mod (3 hunks)
  • servers/intro_course/go.mod (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (6)
  • GitHub Check: build-servers / intro-course / Build Docker Image for ghcr.io/ls1intum/prompt2/prompt-server-intro-course
  • GitHub Check: build-servers / intro-course / Build Docker Image for ghcr.io/ls1intum/prompt2/prompt-server-intro-course
  • GitHub Check: build-clients / clients-base / Build Docker Image for ghcr.io/ls1intum/prompt2/prompt-clients-base
  • GitHub Check: build-servers / core / Build Docker Image for ghcr.io/ls1intum/prompt2/prompt-server-core
  • GitHub Check: build-servers / core / Build Docker Image for ghcr.io/ls1intum/prompt2/prompt-server-core
  • GitHub Check: build-clients / clients-base / Build Docker Image for ghcr.io/ls1intum/prompt2/prompt-clients-base
🔇 Additional comments (8)
servers/intro_course/go.mod (2)

14-15: Bytedance Sonic Dependencies Update
The versions for github.com/bytedance/sonic and its loader have been bumped to v1.13.1 and v0.2.4 respectively. This update is aligned with the PR objectives. Please verify these upgrades with your integration tests to ensure there are no compatibility issues.


38-44: Golang.org/x Packages Updated
The versions for the golang.org/x packages (arch, crypto, net, oauth2, sync, sys, text) have been updated to their latest releases. This should improve performance and security; however, kindly ensure that all transitive dependencies and integrations are properly tested against these new versions.

servers/core/go.mod (6)

24-25: Bytedance Sonic Dependencies Update
The dependencies github.com/bytedance/sonic and github.com/bytedance/sonic/loader are updated to v1.13.1 and v0.2.4 respectively. This change ensures consistency with the updates in the intro_course module. Please confirm that there’s no break in functionality.


58-58: Plan9stats Dependency Version Bump
The update of github.com/lufia/plan9stats to version v0.0.0-20250303091104-876f3ea5145d is observed. Verify that this newer version is compatible with its consumers in the project.


71-71: Opencontainers Image-Spec Update
The dependency github.com/opencontainers/image-spec has been updated to v1.1.1. Please review the change notes of this upgrade to ensure that no breaking changes affect the image handling components.


79-80: Sysconf and Numcpus Version Updates
The updates for github.com/tklauser/go-sysconf (v0.3.15) and github.com/tklauser/numcpus (v0.10.0) are in line with the latest releases. Ensure that their new behavior, if any, is thoroughly tested in the environment.


85-90: Opentelemetry Dependencies Upgraded
The opentelemetry components (otelhttp, otel, otel/metric, otel/sdk, and otel/trace) have been upgraded to versions v0.60.0 and v1.35.0. These upgrades are crucial for improving telemetry performance and compatibility. Please run your end-to-end tests to confirm that telemetry reporting remains accurate.


91-97: Golang.org/x Dependencies Update
All the golang.org/x dependencies (arch, crypto, net, oauth2, sync, sys, text) have been updated to newer versions. This coordinated update helps with overall security and performance. Verify that these upgrades do not disrupt any build processes.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ 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>, please review it.
    • 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 gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @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 using 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 generate docstrings to generate docstrings for this 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.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review
1 participant