Skip to content

chore: Release 2.18 - #10010

Merged
Darien-Lin merged 1 commit into
mainfrom
new_release
Mar 12, 2026
Merged

chore: Release 2.18#10010
Darien-Lin merged 1 commit into
mainfrom
new_release

Conversation

@Darien-Lin

@Darien-Lin Darien-Lin commented Mar 12, 2026

Copy link
Copy Markdown
Contributor

There will be a linter failure from hack/check-samples.sh. This is because it checks for the latest schema version in the most recent release. Since you haven't released this schema version yet, it will incorrectly say that you're using the wrong version. You can ignore this failure.

@Darien-Lin
Darien-Lin requested a review from a team as a code owner March 12, 2026 17:46
@gemini-code-assist

Copy link
Copy Markdown
Contributor

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 prepares for the v2.18.0 release of Skaffold, focusing on essential maintenance and infrastructure updates. It incorporates significant Go version upgrades, addresses security concerns by updating the Docker CLI, and includes a broad range of dependency updates across the project. The changes also aim to improve CI/CD processes and enhance the stability of integration tests.

Highlights

  • Core Dependency Upgrades: The Go version was upgraded to 1.25.8, and the Docker CLI was bumped to address a security vulnerability (CVE-2025-15558).
  • Infrastructure and CI/CD Enhancements: Improvements were made to the CI/CD pipeline, including migration to Kokoro instances, updates to GitHub Actions, and fixes for the Bazel presubmit flow to support Bazel 9.0.0.
  • Extensive Dependency Bumps: Numerous dependencies across the project were updated, including various flask and rack versions, go.opentelemetry.io/otel/sdk, github.com/cloudflare/circl, golang.org/x/crypto, golang.org/x/oauth2, github.com/go-git/go-git/v5, github.com/theupdateframework/go-tuf/v2, github.com/sigstore components, and github.com/google/ko.
  • Stability and Maintenance: Measures were implemented to enhance stability, such as using mirrors in Dockerfiles for integration tests to prevent Docker Hub rate limits, updating the Node.js version to resolve errors, and temporarily disabling Kaniko integration tests due to permission issues.

🧠 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
  • CHANGELOG.md
    • Added new release notes for v2.18.0, including installation commands for various platforms (Linux, macOS, Windows) and the Docker image.
    • Included a comprehensive list of updates, fixes, and refactors categorized under 'Docs, Test, and Release Updates'.
  • examples/buildpacks-python/requirements.txt
    • Downgraded the Flask dependency from version 3.1.3 to 3.1.0.
  • examples/grpc-e2e-tests/cloud-spanner-bootstrap/Dockerfile
    • Updated the base Golang image version from 1.19 to 1.23.
  • examples/grpc-e2e-tests/service/Dockerfile
    • Updated the base Golang image version from 1.19 to 1.23.
    • Added go mod tidy to the build step to ensure consistent dependency management.
  • examples/grpc-e2e-tests/service/go.mod
    • Downgraded the Go module version from 1.23.0 to 1.19.
    • Updated various indirect dependencies, including cloud.google.com/go/compute and golang.org/x/oauth2.
  • examples/grpc-e2e-tests/service/go.sum
    • Updated dependency checksums to reflect the changes made in go.mod.
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.

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

Copy link
Copy Markdown
Contributor

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 appears to be for the v2.18.0 release. However, I've found a few changes that look like accidental reverts, resulting in downgrades of dependencies. Specifically, Flask is downgraded in one example, and in another, the Go version and several dependencies like golang.org/x/oauth2 are downgraded. These downgrades could reintroduce bugs or security vulnerabilities and contradict some of the updates listed in the CHANGELOG.md. Please review the specific comments for details.

go.opencensus.io v0.24.0 // indirect
golang.org/x/net v0.38.0 // indirect
golang.org/x/oauth2 v0.27.0 // indirect
golang.org/x/oauth2 v0.7.0 // indirect

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

critical

The golang.org/x/oauth2 dependency is being downgraded from v0.27.0 to v0.7.0. This is a significant downgrade that could reintroduce security vulnerabilities. The CHANGELOG.md entry for PR #9918 indicates this dependency was recently upgraded. This change appears to be an accidental revert.

Suggested change
golang.org/x/oauth2 v0.7.0 // indirect
golang.org/x/oauth2 v0.27.0 // indirect

@@ -1 +1 @@
Flask==3.1.3
Flask==3.1.0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

high

The Flask version is being downgraded from 3.1.3 to 3.1.0. This appears to be an accidental revert, as the CHANGELOG.md indicates an upgrade to 3.1.3 in PR #10006. Downgrading could reintroduce bugs or vulnerabilities. Please restore the version to 3.1.3.

Flask==3.1.3

module github.com/GoogleContainerTools/skaffold/v2/integration/examples/grpc-e2e-tests/service

go 1.23.0
go 1.19

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

high

The Go version is being downgraded to 1.19, but the corresponding Dockerfiles (examples/grpc-e2e-tests/cloud-spanner-bootstrap/Dockerfile and examples/grpc-e2e-tests/service/Dockerfile) are being upgraded to use golang:1.23. For consistency, the go.mod should also specify a 1.23 version.

Suggested change
go 1.19
go 1.23.0

@Darien-Lin
Darien-Lin merged commit fde4323 into main Mar 12, 2026
19 of 20 checks passed
@Darien-Lin
Darien-Lin deleted the new_release branch March 12, 2026 18:42
orospakr pushed a commit to orospakr/skaffold-spawnexec that referenced this pull request May 14, 2026
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.

2 participants