-
Notifications
You must be signed in to change notification settings - Fork 801
Move ginkgo tool usage to the main go.mod from tools/go.mod #4328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
CI logs were reporting that the version of the ginkgo CLI was divergent from the version used by our test suites. Since most of ginkgo's dependencies are already represented in the main module, the risk of unwanted dependency pollution is low and managing ginkgo only in the main module avoids having to synchronize the version across the 2 modules.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR moves ginkgo tool management from tools/go.mod to the main go.mod to address CI issues with version divergence between the ginkgo CLI and test suite dependencies.
- Removed ginkgo tool dependency from tools/go.mod
- Added ginkgo as a tool dependency in the main go.mod
- Updated the ginkgo execution script to use
go tool ginkgo
instead of the tools module approach
Reviewed Changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
tools/go.mod | Removed ginkgo tool and related indirect dependencies |
go.mod | Added ginkgo as a tool dependency and updated related dependency versions |
scripts/run_ginkgo.sh | Modified to use go tool ginkgo directly from main module |
.github/CODEOWNERS | Added ownership rule for tools directory |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
/tests/ @joshua-kim @maru-ava | ||
/tests/*.md @joshua-kim @maru-ava @meaghanfitzgerald | ||
/tests/reexecute/ @aaronbuchwald | ||
/tools/* @joshua-kim @maru-ava |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgot to add this in the PR moving CLI tooling to go tool
.
6ed57c9
to
598d441
Compare
Why this should be merged
CI logs were reporting that the version of the ginkgo CLI was divergent from the version used by our test suites. Since most of ginkgo's dependencies are already represented in the main module, the risk of unwanted dependency pollution is low and managing ginkgo only in the main module avoids having to synchronize the version across the 2 modules.
How this was tested
CI
Need to be documented in RELEASES.md?
N/A