Repository navigation
fix: remove the root tools-tag package conflict - #561
Merged
Merged
Conversation
Pin gotestsum with a Go tool directive instead of a second root package. Guard package declarations and tools-tag builds without changing tool versions or consumer dependencies. Signed-off-by: Vu Anh Phung <[email protected]> Co-authored-by: Isaac <[email protected]>
Allow the tool-only indirect requirement without broadening other dependency updates. Clarify the tool version pin and the tools-tag Gazelle trigger. Signed-off-by: Vu Anh Phung <[email protected]> Co-authored-by: Isaac <[email protected]>
vuanhphung
marked this pull request as ready for review
November 14, 2026 03:28
vuanhphung
enabled auto-merge
November 16, 2026 03:50
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 16, 2026
vuanhphung
enabled auto-merge
November 16, 2026 05:31
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.
tools.godeclared a second package at the module root, breaking consumers that enable thetoolstag. Replace the placeholder import with a Gotooldirective, keeping gotestsum v1.8.2, golangci-lint v2.15.0, and existing Makefile/CI commands unchanged. This removes the placeholder rather than moving it tointernal/tools; consumer dependency versions stay identical and dependency tool directives are not inherited. Preserve Dependabot updates for the now-indirect gotestsum requirement with a targeted allow rule, retaining the existing direct-dependency policy.The independent package-clause regression ignores build tags, matching Gazelle's package discovery, and CI now runs tools-tag vet/build. The regression, tagged builds, and fresh consumer build fail on main and pass here. Vendored builds and Gazelle v0.47.0 also pass.
make testreports 1,510 tests (8 credential skips), lint reports 0 issues, and race, tools, coverage, and build checks pass. Separate live Thrift/kernel smoke tests pass in 0.61s/0.42s on the shared warehouse; runtime performance is unaffected because no runtime code changes.Baseline exceptions reproduced on main: three generated Thrift files are not gofmt-clean, tidy removes existing unused/security pins, and the kernel suite's
TestKernelCloudFetchDisabledPreservesUnsupportedServerErrorfails against bindings v1.4.0. With that existing test excluded, combined tools+kernel checks have 1,606 passes and 44 credential/platform skips. The new test is formatted, all selected module versions are unchanged, and an isolated tidy retains the tool.Cross-driver state
Not applicable to other drivers: this is Go-specific module layout.
tool, version pinned byrequireAn alternative fix is open in #452. This independently written change additionally checks tag-agnostic package clauses, consumer/vendored builds, and tools-tag CI.
Adversarial review: converged in round 1 with no high findings; fixed the Dependabot regression and wording nits, retaining the issue-scoped regression guard.
Fixes #162
This pull request and its description were written by Isaac.