Skip to content

feat: Add CI checks to ensure system-agent dependencies match#323

Open
HarrisonWAffel wants to merge 1 commit intorancher:mainfrom
HarrisonWAffel:better-ci-checks
Open

feat: Add CI checks to ensure system-agent dependencies match#323
HarrisonWAffel wants to merge 1 commit intorancher:mainfrom
HarrisonWAffel:better-ci-checks

Conversation

@HarrisonWAffel
Copy link
Contributor

Since the primary purpose of rancher-wins is to embed the system-agent, it's important that the dependencies defined for a given version of the system-agent are not overridden by the wins go.mod file. This helps ensure that CVE's are resolved in the wins binary, and can potentially prevent unexpected behavior differences. However, this requirement / expectation is not well documented.

This PR adds an explicit CI check to ensure that any overlapping dependencies between rancher-wins and the system-agent are set at the same version, or newer. This should help new contributors / first mates understand this expectation and identify when other dependencies need to be bumped in wins before a release.

@HarrisonWAffel HarrisonWAffel requested a review from a team November 20, 2025 20:15
Copy link
Member

@jiaqiluo jiaqiluo left a comment

Choose a reason for hiding this comment

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

LGTM

@jiaqiluo jiaqiluo requested a review from a team November 21, 2025 19:11
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