update dependencies and go version#656
Merged
bosesuneha merged 4 commits intoAzure:mainfrom Jan 5, 2026
Merged
Conversation
ReinierCC
approved these changes
Jan 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request upgrades the project to Go 1.25 and updates several dependencies to their latest versions, including major libraries such as the Azure SDK, Helm, Kubernetes, and Open Policy Agent. It also improves error handling in the
pkg/safeguards/helpers.gofile by adding checks for a nil constraint client. These changes ensure compatibility with the latest version of tooling and libraries.Dependency and environment upgrades:
Dockerfile,go.mod, and all GitHub Actions workflow files to ensure the project builds and tests against the latest Go release. [1] [2] [3] [4] [5] [6] [7] [8]go.mod, including Azure SDK, Helm, Kubernetes libraries, Open Policy Agent, and many others, to their latest versions for improved features, security, and compatibility.Code robustness and error handling:
pkg/safeguards/helpers.gofunctions (loadConstraintTemplates,loadConstraints,loadManifestObjects, andgetObjectViolations) to prevent potential runtime panics. [1] [2] [3] [4]Supersedes open Dependabot PRs for these packages.
Fixes # (issue)
Feature # (details)
Type of change
How Has This Been Tested?
Provide instructions so we can reproduce, and list any relevant details for your test configuration. Please mention if this is a breaking change which will impact consuming tool(s).
Checklist: