Skip to content

chore(deps) replace go-test/deep with google/go-cmp#7296

Merged
stoewer merged 3 commits into
grafana:mainfrom
stoewer:cleanup-deps-go-test-deep
Jun 9, 2026
Merged

chore(deps) replace go-test/deep with google/go-cmp#7296
stoewer merged 3 commits into
grafana:mainfrom
stoewer:cleanup-deps-go-test-deep

Conversation

@stoewer

@stoewer stoewer commented May 28, 2026

Copy link
Copy Markdown
Contributor

What this PR does:
Replace go-test/deep with google/go-cmp

Which issue(s) this PR fixes:
Contributes to #7218

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Replaces the github.com/go-test/deep dependency with github.com/google/go-cmp/cmp for trace comparison diffs in tempo-vulture, removing the vendored go-test/deep module to reduce the dependency surface area (part of dependency cleanup work in #7218).

Changes:

  • Drop github.com/go-test/deep from go.mod, go.sum, and vendor/, and remove its vendored sources.
  • Switch tempo-vulture mismatch diff reporting from deep.Equal(...) to cmp.Diff(...) in both runtime logging and the fixture test.
  • Update vendor/modules.txt accordingly.

Reviewed changes

Copilot reviewed 3 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
go.mod Removes the direct requirement on github.com/go-test/deep.
go.sum Removes checksums for github.com/go-test/deep.
vendor/modules.txt Removes the vendored module entry for github.com/go-test/deep.
cmd/tempo-vulture/main.go Replaces per-diff logging from deep.Equal with a single cmp.Diff string.
cmd/tempo-vulture/main_test.go Replaces fixture diff reporting from deep.Equal with cmp.Diff.
vendor/github.com/go-test/deep/deep.go Removed vendored go-test/deep implementation.
vendor/github.com/go-test/deep/README.md Removed vendored documentation.
vendor/github.com/go-test/deep/SECURITY.md Removed vendored security policy doc.
vendor/github.com/go-test/deep/LICENSE Removed vendored license file.
vendor/github.com/go-test/deep/CHANGES.md Removed vendored changelog.
vendor/github.com/go-test/deep/.gitignore Removed vendored ignore file.

Comment thread cmd/tempo-vulture/main.go
electron0zero
electron0zero previously approved these changes May 29, 2026
Copilot AI review requested due to automatic review settings June 8, 2026 09:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 11 changed files in this pull request and generated no new comments.

@stoewer stoewer merged commit 782af42 into grafana:main Jun 9, 2026
31 checks passed
@stoewer stoewer deleted the cleanup-deps-go-test-deep branch June 9, 2026 14:25
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.

4 participants