Skip to content

chore(deps): rollup renovate dependency updates#288

Merged
jamestelfer merged 10 commits into
mainfrom
renovate-rollup
Apr 7, 2026
Merged

chore(deps): rollup renovate dependency updates#288
jamestelfer merged 10 commits into
mainfrom
renovate-rollup

Conversation

@jamestelfer
Copy link
Copy Markdown
Collaborator

@jamestelfer jamestelfer commented Mar 31, 2026

Purpose

Batch dependency update to reduce PR noise and keep the dependency graph current.

Context

Rolls up 9 Renovate PRs into a single merge, skipping golangci-lint and tink updates which need separate handling.

Merged PRs

Skipped PRs

Summary by CodeRabbit

  • Chores

    • Updated Go module dependencies to newer versions (including AWS SDK, GitHub API client, and system-related packages) for improved compatibility and security.
    • Bumped tooling config to a newer linter/tool version.
  • Tests

    • Updated test setup to use request contexts and aligned test imports with updated client libraries to keep test suite current and reliable.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 31, 2026

Caution

Review failed

Pull request was closed or merged during review

Walkthrough

This PR updates multiple Go module versions in go.mod, bumps github.com/google/go-github from v82→v84 and updates corresponding imports across internal GitHub client and test files, plus small test helpers/context changes and linter/tool-version updates. No exported APIs were changed.

Changes

Cohort / File(s) Summary
Go module manifest
go.mod
Bumped numerous direct and indirect dependencies (AWS SDK v2 modules, Docker/moby, testing libs, system/CPU packages, etc.) to newer patch/minor versions.
GitHub client imports
internal/github/token.go, internal/github/token_internal_test.go, internal/github/token_test.go, internal/testhelpers/mockservers.go
Updated imports from github.com/google/go-github/v82/githubgithub.com/google/go-github/v84/github; types referenced updated via import change only.
Tests: request context updates
handlers_test.go, internal/audit/log_test.go, internal/jwt/jwt_test.go
Switched to creating HTTP requests with test context (httptest.NewRequestWithContext(...)) and updated helper signature for requestSetup(t *testing.T).
Linting & tooling
.golangci.yaml, .tool-versions
Added targeted linter rule exclusions and bumped golangci-lint version from 2.9.02.11.4.

Sequence Diagram(s)

(omitted)

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • liamstevens

Poem

"I hopped from v82 to v84 with glee,
Dependencies rustled like leaves on a tree,
Tests now carry contexts snug and tight,
Linters nod — the rabbit's delight! 🐇✨"

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately describes the main objective: rolling up multiple Renovate dependency updates into a single batch changeset.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate-rollup

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Flag Coverage Δ
integration 12.95% <ø> (ø)
unit 88.73% <ø> (ø)

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

Files with missing lines Coverage Δ
internal/github/token.go 95.10% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@go.mod`:
- Line 66: The dependency entry for module github.com/docker/docker is pinned to
v28.5.2+incompatible which is vulnerable; update the version string for
github.com/docker/docker to v29.3.1 or a later patched release in the go.mod,
then run go mod tidy (and rerun your build/tests) to ensure the new version and
transitive changes are resolved; reference the module name
github.com/docker/docker in go.mod and ensure the version token is changed to
v29.3.1+incompatible (or later) before merging.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e17ace5d-e076-477b-8d7b-e6af5d12bfe5

📥 Commits

Reviewing files that changed from the base of the PR and between 4d1a1a3 and 3e1906f.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (5)
  • go.mod
  • internal/github/token.go
  • internal/github/token_internal_test.go
  • internal/github/token_test.go
  • internal/testhelpers/mockservers.go

Comment thread go.mod
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0 // indirect
github.com/distribution/reference v0.6.0 // indirect
github.com/docker/docker v28.5.1+incompatible // indirect
github.com/docker/docker v28.5.2+incompatible // indirect
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

What is the first patched version of github.com/docker/docker for GHSA-pxq6-2prw-chj9 and GHSA-x744-4wpc-v9h2, and is v28.5.2 affected?

💡 Result:

The first patched version of github.com/docker/docker (Moby project) for both GHSA-pxq6-2prw-chj9 and GHSA-x744-4wpc-v9h2 is v29.3.1. Docker Engine v28.5.2 is affected by both vulnerabilities.

Citations:


Upgrade github.com/docker/docker to v29.3.1 or later before merge.

v28.5.2+incompatible is affected by two HIGH severity vulnerabilities (GHSA-pxq6-2prw-chj9, GHSA-x744-4wpc-v9h2) related to AuthZ and plugin validation. Upgrade to v29.3.1, the first patched version that remediates both issues.

🧰 Tools
🪛 OSV Scanner (2.3.5)

[HIGH] 66-66: github.com/docker/docker 28.5.2+incompatible: Moby has an Off-by-one error in its plugin privilege validation

(GHSA-pxq6-2prw-chj9)


[HIGH] 66-66: github.com/docker/docker 28.5.2+incompatible: Moby has AuthZ plugin bypass when provided oversized request bodies

(GHSA-x744-4wpc-v9h2)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@go.mod` at line 66, The dependency entry for module github.com/docker/docker
is pinned to v28.5.2+incompatible which is vulnerable; update the version string
for github.com/docker/docker to v29.3.1 or a later patched release in the
go.mod, then run go mod tidy (and rerun your build/tests) to ensure the new
version and transitive changes are resolved; reference the module name
github.com/docker/docker in go.mod and ensure the version token is changed to
v29.3.1+incompatible (or later) before merging.

* chore(deps): update dependency golangci-lint to v2.11.4

* fix(lint): resolve golangci-lint v2.11.4 failures

New and updated linter rules introduced failures:

- noctx now flags httptest.NewRequest without context; replaced with
  NewRequestWithContext in audit and jwt tests. requestSetup gains t.Helper()
  and t.Context() as it now accepts *testing.T.

- staticcheck SA5008 fires on unexported fields with json tags in
  fieldmapper_test.go; suppressed as intentional test fixtures.

- gosec G101 fires on "test-github-token" in test helpers; suppressed
  as non-credential test data.

- gosec G118 fires on loopCancel in refresh.go; suppressed as false
  positive: the cancel func is stored in the struct and called via Close().

* fix(lint): fix remaining noctx violations in handlers_test.go

Three more httptest.NewRequest calls flagged by the updated noctx rule
(v2.11.0 extended detection to httptest.NewRequest). Replaced with
NewRequestWithContext using t.Context().

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: James Telfer <792299+jamestelfer@users.noreply.github.com>
@jamestelfer jamestelfer merged commit 8411f43 into main Apr 7, 2026
8 of 9 checks passed
@jamestelfer jamestelfer deleted the renovate-rollup branch April 7, 2026 06:18
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