Skip to content

upgrade go-github and go version fixes#107

Merged
BakerNet merged 1 commit intorenovate/github.com-google-go-github-v63-84.xfrom
update-go-github-v84
Mar 17, 2026
Merged

upgrade go-github and go version fixes#107
BakerNet merged 1 commit intorenovate/github.com-google-go-github-v63-84.xfrom
update-go-github-v84

Conversation

@BakerNet
Copy link
Collaborator

Related PR(s)

Related Issue(s)

Summary / Background

@BakerNet BakerNet merged commit 5b474b4 into renovate/github.com-google-go-github-v63-84.x Mar 17, 2026
@BakerNet BakerNet deleted the update-go-github-v84 branch March 17, 2026 18:23
@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 primarily focuses on updating core Go dependencies, most notably the go-github library, to ensure the project benefits from the latest API capabilities and stability improvements. Alongside this, minor code adjustments were made to accommodate the updated dependencies and improve debug output formatting.

Highlights

  • Dependency Upgrade: The go-github dependency has been upgraded from version v63 to v84, bringing in the latest features and bug fixes from the GitHub API client library.
  • Transitive Dependency Updates: Related Go modules, including github.com/google/go-cmp (from v0.6.0 to v0.7.0) and github.com/google/go-querystring (from v1.1.0 to v1.2.0), were also updated as part of the dependency resolution.
  • Code Formatting Fix: Calls to a.printDebug in internal/app/app.go were updated to explicitly use a format specifier (%s) for string arguments, ensuring correct output formatting.
  • Import Path Updates: All relevant Go files (internal/app/app_test.go, internal/github/gh.go, internal/github/gh_test.go) had their import paths for go-github updated to reflect the new v84 version.
Changelog
  • go.mod
    • Updated github.com/google/go-github from v63.0.0 to v84.0.0.
  • go.sum
    • Updated checksums for github.com/google/go-github, github.com/google/go-cmp, and github.com/google/go-querystring to reflect their new versions.
  • internal/app/app.go
    • Modified a.printDebug calls to include a %s format specifier for string arguments.
  • internal/app/app_test.go
    • Updated the import path for github.com/google/go-github to v84.
  • internal/github/gh.go
    • Updated the import path for github.com/google/go-github to v84.
  • internal/github/gh_test.go
    • Updated the import path for github.com/google/go-github to v84.
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 Generative AI Prohibited Use Policy, 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 primarily handles dependency upgrades. It correctly upgrades the go-github library to v84.0.0 and removes the obsolete v63.0.0 entry from go.mod, with corresponding updates to go.sum and import paths across the codebase. The PR also includes a valuable fix for a potential format string vulnerability in the debug logging within internal/app/app.go. The changes appear correct and improve the overall health of the repository.

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.

1 participant