Skip to content

build(deps): bump go-github to v90.0.0 - #17

Merged
franzramadhan merged 2 commits into
mainfrom
chore/bump-go-deps
Aug 5, 2026
Merged

build(deps): bump go-github to v90.0.0#17
franzramadhan merged 2 commits into
mainfrom
chore/bump-go-deps

Conversation

@franzramadhan

Copy link
Copy Markdown
Contributor

Summary

  • Bumps github.com/google/go-github from v84.0.0 to v90.0.0 (other direct/indirect Go modules — jwt, cobra, yaml.v3, go-querystring, mousetrap, pflag — were already at latest stable).
  • Adapts to the resulting breaking API changes: NewClient's new options-func constructor (returns (*Client, error)), WithEnterpriseURLs moving from a client method to a ClientOptionsFunc, PullRequests.Create taking CreatePullRequest by value, Issues.Create/Issues.Update splitting into CreateIssueRequest/UpdateIssueRequest, and Repositories.GetRulesForBranch renamed to ListRulesForBranch.

Test plan

  • go build ./...
  • go vet ./...
  • go test -race -coverprofile=coverage.out -covermode=atomic ./... (matches CI) — all packages pass

Repository, jwt, cobra, and yaml.v3 modules were already at latest
stable; only go-github needed the jump from v84 to v90. Adapts to
the resulting API breaks: NewClient's options-func constructor,
WithEnterpriseURLs as a ClientOptionsFunc instead of a client method,
PullRequests.Create's CreatePullRequest type, Issues.Create/Update's
split Create/UpdateIssueRequest types, and Repositories.GetRulesForBranch
renamed to ListRulesForBranch.
@codecov-commenter

codecov-commenter commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 81.25000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.08%. Comparing base (bddbe1a) to head (d3ac99b).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
internal/github/auth.go 60.00% 1 Missing and 1 partial ⚠️
internal/notify/issues.go 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
+ Coverage   76.16%   78.08%   +1.91%     
==========================================
  Files          41       41              
  Lines        3151     3153       +2     
==========================================
+ Hits         2400     2462      +62     
+ Misses        616      549      -67     
- Partials      135      142       +7     
Flag Coverage Δ
unittests 78.08% <81.25%> (+1.91%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

auth.go and repos.go had no direct unit tests before this bump, so
the lines touched by the client-constructor and method-rename changes
showed up as uncovered patch lines. Adds direct tests for client
construction, GitHub App installation-token exchange, and the renamed
ListRulesForBranch call, plus an error-path test for issue creation
failure in findOrCreateIssueByTitle.
@franzramadhan
franzramadhan merged commit b185063 into main Aug 5, 2026
1 check passed
@franzramadhan
franzramadhan deleted the chore/bump-go-deps branch August 5, 2026 14:20
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