Skip to content

build: otel/sdk 1.38.0 -> 1.40.0#1081

Merged
starius merged 1 commit intolightninglabs:masterfrom
starius:dep-up
Mar 2, 2026
Merged

build: otel/sdk 1.38.0 -> 1.40.0#1081
starius merged 1 commit intolightninglabs:masterfrom
starius:dep-up

Conversation

@starius
Copy link
Collaborator

@starius starius commented Mar 2, 2026

Pull Request Checklist

  • Update release_notes.md if your PR contains major features, breaking changes or bugfixes

@gemini-code-assist
Copy link

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on a series of dependency updates to ensure the project leverages the latest versions of critical Go modules. The primary change involves upgrading the OpenTelemetry SDK and its related components to v1.40.0, which brings the benefits of recent features, bug fixes, and performance enhancements. Additionally, the golang.org/x/sys module has been updated, along with other minor dependency bumps and a removal within the looprpc module, contributing to overall project stability and maintainability.

Highlights

  • OpenTelemetry SDK Update: Updated OpenTelemetry SDK and its core components (otel, otel/metric, otel/sdk, otel/trace) to version 1.40.0 across the project, including go.opentelemetry.io/auto/sdk to v1.2.1.
  • Go System Library Update: Upgraded the golang.org/x/sys dependency to v0.40.0.
  • looprpc Module Dependency Updates: Updated github.com/cespare/xxhash/v2 to v2.3.0 and github.com/stretchr/testify to v1.11.1 within the looprpc module.
  • Dependency Removal: Removed the github.com/rogpeppe/go-internal dependency from looprpc/go.mod.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • go.mod
    • Updated go.opentelemetry.io/auto/sdk from v1.1.0 to v1.2.1.
    • Updated go.opentelemetry.io/otel from v1.38.0 to v1.40.0.
    • Updated go.opentelemetry.io/otel/metric from v1.38.0 to v1.40.0.
    • Updated go.opentelemetry.io/otel/sdk from v1.38.0 to v1.40.0.
    • Updated go.opentelemetry.io/otel/trace from v1.38.0 to v1.40.0.
    • Updated golang.org/x/sys from v0.38.0 to v0.40.0.
  • go.sum
    • Updated checksums for go.opentelemetry.io/auto/sdk, go.opentelemetry.io/otel, go.opentelemetry.io/otel/metric, go.opentelemetry.io/otel/sdk, go.opentelemetry.io/otel/sdk/metric, go.opentelemetry.io/otel/trace.
    • Updated checksums for golang.org/x/sys.
  • looprpc/go.mod
    • Updated github.com/cespare/xxhash/v2 from v2.2.0 to v2.3.0.
    • Removed github.com/rogpeppe/go-internal v1.14.1.
    • Updated github.com/stretchr/testify from v1.10.0 to v1.11.1.
    • Updated go.opentelemetry.io/auto/sdk from v1.1.0 to v1.2.1.
    • Updated go.opentelemetry.io/otel from v1.35.0 to v1.40.0.
    • Updated go.opentelemetry.io/otel/metric from v1.35.0 to v1.40.0.
    • Updated go.opentelemetry.io/otel/sdk from v1.35.0 to v1.40.0.
    • Updated go.opentelemetry.io/otel/trace from v1.35.0 to v1.40.0.
    • Updated golang.org/x/sys from v0.38.0 to v0.40.0.
  • looprpc/go.sum
    • Updated checksums for github.com/cespare/xxhash/v2 and github.com/stretchr/testify.
    • Removed checksums for github.com/rogpeppe/go-internal.
    • Updated checksums for go.opentelemetry.io/auto/sdk, go.opentelemetry.io/otel, go.opentelemetry.io/otel/metric, go.opentelemetry.io/otel/sdk, go.opentelemetry.io/otel/sdk/metric, go.opentelemetry.io/otel/trace.
    • Updated checksums for golang.org/x/sys.
Activity
  • The pull request author included a checklist item for release_notes.md, indicating awareness of potential release impacts. No other specific activity was provided.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates OpenTelemetry dependencies, primarily from version 1.38.0 to 1.40.0, along with other transitive dependencies in both the root and looprpc modules. The changes are confined to go.mod and go.sum files. I've reviewed the release notes for the key dependency updates, and they mainly consist of bug fixes and minor, non-breaking feature additions. The updates appear safe and align with good practice for maintaining dependency hygiene.

@starius starius marked this pull request as ready for review March 2, 2026 03:52
@hieblmi hieblmi requested review from bhandras and sputn1ck March 2, 2026 16:18
@starius starius merged commit bfaacb1 into lightninglabs:master Mar 2, 2026
9 checks passed
@starius starius deleted the dep-up branch March 2, 2026 17:31
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.

3 participants