Skip to content

Conversation

maru-ava
Copy link
Contributor

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

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.
@maru-ava maru-ava self-assigned this Sep 24, 2025
@Copilot Copilot AI review requested due to automatic review settings September 24, 2025 06:00
@maru-ava maru-ava added the tooling Build, test and development tooling label Sep 24, 2025
@maru-ava maru-ava moved this to In Review 🔎 in avalanchego Sep 24, 2025
Copy link
Contributor

@Copilot Copilot AI left a 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
Copy link
Contributor Author

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.

@maru-ava maru-ava force-pushed the marun/main-module-ginkgo branch from 6ed57c9 to 598d441 Compare September 24, 2025 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tooling Build, test and development tooling
Projects
Status: In Review 🔎
Development

Successfully merging this pull request may close these issues.

3 participants