Skip to content

deps: upgrade all dependencies to latest#119

Merged
jongio merged 5 commits into
mainfrom
deps/upgrade
Jun 25, 2026
Merged

deps: upgrade all dependencies to latest#119
jongio merged 5 commits into
mainfrom
deps/upgrade

Conversation

@jongio

@jongio jongio commented Jun 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Upgrades Go toolchain directive from 1.26.1 to 1.26.4
  • Upgrades Go module dependencies to latest tidy-selected versions, including Azure SDKs, x/* modules, gopsutil, MSAL, notify, and Prometheus common
  • Refreshes go.sum

Validation

  • go build ./... passes
  • go mod tidy -diff passes
  • go test ./... still fails with pre-existing main-branch compile errors in cmdutil and keyvault tests (verified before upgrades)

No GitHub Actions workflow files were changed.

- Upgrade Go toolchain directive and Go module dependencies to latest tidy selections
- Refresh go.sum after dependency upgrades
- Build passes; go test retains pre-existing cmdutil/keyvault test compile failures from main

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jongio jongio self-assigned this Jun 25, 2026
jongio and others added 4 commits June 25, 2026 15:39
go.mod requires go >= 1.26.4 after the dependency upgrade, but CI pinned 1.26.1 with GOTOOLCHAIN=local, breaking go vet/test on all OSes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…yvault

These tests were stale against current source signatures and never compiled
on main, so CI has been red since May. With the package now building, a
masked functional mismatch in isScriptFilePath also surfaced.

- cmdutil: update prepareHookCommand/ExecuteHook test calls to current
  signatures (context.Context + HookConfig); make isScriptFilePath detect
  by script extension to match TestIsScriptFilePath.
- keyvault: rename duplicate TestValidateVaultName in coverage test; pass
  version arg to resolveByVaultNameAndSecret.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Repo had accumulated lint debt that kept CI red. Now that the package
builds, the lint step runs and these surface:

- gofmt: reformat 8 files (auth, cache, env, fileutil, healthcheck x2,
  httpclient, registry).
- gosec G115: drop unnecessary int->uint conversion in retry backoff;
  shift is already bounded to [0,30].
- revive: add missing doc comment on httpclient.NewClient.

golangci-lint v2.9.0 now reports 0 issues.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 79.62963% with 33 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.36%. Comparing base (a410150) to head (adae1ff).
⚠️ Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
auth/auth.go 77.11% 15 Missing and 12 partials ⚠️
httpclient/client.go 82.85% 3 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #119      +/-   ##
==========================================
- Coverage   81.36%   79.36%   -2.00%     
==========================================
  Files          41       44       +3     
  Lines        3815     3960     +145     
==========================================
+ Hits         3104     3143      +39     
- Misses        507      610     +103     
- Partials      204      207       +3     
Flag Coverage Δ
unittests 79.36% <79.62%> (-2.00%) ⬇️

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.

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