Skip to content

chore: update abseil to 20260107.1#16054

Open
scotthart wants to merge 1 commit intogoogleapis:mainfrom
scotthart:deps_abseil_202601
Open

chore: update abseil to 20260107.1#16054
scotthart wants to merge 1 commit intogoogleapis:mainfrom
scotthart:deps_abseil_202601

Conversation

@scotthart
Copy link
Member

No description provided.

@scotthart scotthart requested a review from a team as a code owner March 25, 2026 14:17
@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 systematically updates the project's dependency on the Abseil C++ library to version 20260107.1. This change is propagated across the Bazel build system, various Dockerfiles used for continuous integration and demonstration setups, and the project's packaging documentation. The update ensures that all components consistently utilize the most current stable version of Abseil, potentially incorporating recent bug fixes, performance enhancements, or new features from the library.

Highlights

  • Abseil C++ Library Update: The abseil-cpp dependency has been updated to version 20260107.1 in the MODULE.bazel file, ensuring the project uses the latest specified version for Bazel builds.
  • Dockerfile Updates: Ten Dockerfiles across various CI/CD and demo environments have been modified to reference the new abseil-cpp version 20260107.1 in their download URLs.
  • Documentation Alignment: The doc/packaging.md file was updated to reflect the new abseil-cpp version 20260107.1 in its installation and build instructions.
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.

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 the abseil-cpp dependency version from 20250814.2 to 20260107.1 across MODULE.bazel, various Dockerfiles, and the doc/packaging.md file. The review comments suggest improving maintainability by avoiding hardcoded and duplicated version strings in Dockerfiles by using ARG and in documentation by using common references or variables where possible.

# ```bash
WORKDIR /var/tmp/build/abseil-cpp
RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250814.2.tar.gz | \
RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20260107.1.tar.gz | \

Choose a reason for hiding this comment

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

medium

The Abseil version "20260107.1" is hardcoded in this RUN curl command. This version string is duplicated across multiple Dockerfiles. To improve maintainability, consider defining this version as an ARG at the top of the Dockerfile and referencing it here.

References
  1. In Dockerfiles, use ARG to define version strings that are duplicated across multiple files to improve maintainability.

# ```bash
WORKDIR /var/tmp/build/abseil-cpp
RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250814.2.tar.gz | \
RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20260107.1.tar.gz | \

Choose a reason for hiding this comment

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

medium

The Abseil version "20260107.1" is hardcoded in this RUN curl command. This version string is duplicated across multiple Dockerfiles. To improve maintainability, consider defining this version as an ARG at the top of the Dockerfile and referencing it here.

References
  1. In Dockerfiles, use ARG to define version strings that are duplicated across multiple files to improve maintainability.

# ```bash
WORKDIR /var/tmp/build/abseil-cpp
RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250814.2.tar.gz | \
RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20260107.1.tar.gz | \

Choose a reason for hiding this comment

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

medium

The Abseil version "20260107.1" is hardcoded in this RUN curl command. This version string is duplicated across multiple Dockerfiles. To improve maintainability, consider defining this version as an ARG at the top of the Dockerfile and referencing it here.

References
  1. In Dockerfiles, use ARG to define version strings that are duplicated across multiple files to improve maintainability.

# ```bash
WORKDIR /var/tmp/build/abseil-cpp
RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250814.2.tar.gz | \
RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20260107.1.tar.gz | \

Choose a reason for hiding this comment

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

medium

The Abseil version "20260107.1" is hardcoded in this RUN curl command. This version string is duplicated across multiple Dockerfiles. To improve maintainability, consider defining this version as an ARG at the top of the Dockerfile and referencing it here.

References
  1. In Dockerfiles, use ARG to define version strings that are duplicated across multiple files to improve maintainability.

# ```bash
WORKDIR /var/tmp/build/abseil-cpp
RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250814.2.tar.gz | \
RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20260107.1.tar.gz | \

Choose a reason for hiding this comment

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

medium

The Abseil version "20260107.1" is hardcoded in this RUN curl command. This version string is duplicated across multiple Dockerfiles. To improve maintainability, consider defining this version as an ARG at the top of the Dockerfile and referencing it here.

References
  1. In Dockerfiles, use ARG to define version strings that are duplicated across multiple files to improve maintainability.

```bash
mkdir -p $HOME/Downloads/abseil-cpp && cd $HOME/Downloads/abseil-cpp
curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250814.2.tar.gz | \
curl -fsSL https://github.com/abseil/abseil-cpp/archive/20260107.1.tar.gz | \

Choose a reason for hiding this comment

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

medium

The Abseil version "20260107.1" is hardcoded here and duplicated in other sections of this document. While not a Dockerfile, the principle of avoiding hardcoded duplicated values applies to documentation as well to improve maintainability. Consider using a common reference or variable if the markdown syntax allows for it, to avoid repetition.

```bash
mkdir -p $HOME/Downloads/abseil-cpp && cd $HOME/Downloads/abseil-cpp
curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250814.2.tar.gz | \
curl -fsSL https://github.com/abseil/abseil-cpp/archive/20260107.1.tar.gz | \

Choose a reason for hiding this comment

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

medium

The Abseil version "20260107.1" is hardcoded here and duplicated in other sections of this document. While not a Dockerfile, the principle of avoiding hardcoded duplicated values applies to documentation as well to improve maintainability. Consider using a common reference or variable if the markdown syntax allows for it, to avoid repetition.

```bash
mkdir -p $HOME/Downloads/abseil-cpp && cd $HOME/Downloads/abseil-cpp
curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250814.2.tar.gz | \
curl -fsSL https://github.com/abseil/abseil-cpp/archive/20260107.1.tar.gz | \

Choose a reason for hiding this comment

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

medium

The Abseil version "20260107.1" is hardcoded here and duplicated in other sections of this document. While not a Dockerfile, the principle of avoiding hardcoded duplicated values applies to documentation as well to improve maintainability. Consider using a common reference or variable if the markdown syntax allows for it, to avoid repetition.

```bash
mkdir -p $HOME/Downloads/abseil-cpp && cd $HOME/Downloads/abseil-cpp
curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250814.2.tar.gz | \
curl -fsSL https://github.com/abseil/abseil-cpp/archive/20260107.1.tar.gz | \

Choose a reason for hiding this comment

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

medium

The Abseil version "20260107.1" is hardcoded here and duplicated in other sections of this document. While not a Dockerfile, the principle of avoiding hardcoded duplicated values applies to documentation as well to improve maintainability. Consider using a common reference or variable if the markdown syntax allows for it, to avoid repetition.

```bash
mkdir -p $HOME/Downloads/abseil-cpp && cd $HOME/Downloads/abseil-cpp
curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250814.2.tar.gz | \
curl -fsSL https://github.com/abseil/abseil-cpp/archive/20260107.1.tar.gz | \

Choose a reason for hiding this comment

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

medium

The Abseil version "20260107.1" is hardcoded here and duplicated in other sections of this document. While not a Dockerfile, the principle of avoiding hardcoded duplicated values applies to documentation as well to improve maintainability. Consider using a common reference or variable if the markdown syntax allows for it, to avoid repetition.

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.

2 participants