Skip to content

test(proxy): remove duplicate lockedLogBuffer helper - #273

Merged
ovaistariq merged 1 commit into
mainfrom
fix-duplicate-test-helper
Oct 21, 2026
Merged

ovaistariq merged 1 commit into
mainfrom
fix-duplicate-test-helper

Conversation

@ovaistariq

@ovaistariq ovaistariq commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

go test ./proxy fails to compile on main: #238 and #256 each added an identical lockedLogBuffer test helper to the proxy package (proxy/reinvalidation_test.go and the lifecycle tests), and both merged today without CI seeing the other.

Remove the copy in reinvalidation_test.go and its now-unused import. No production code changes.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NGTev5ePU5jHubGtdoUfK6

#238 and #256 each added an identical lockedLogBuffer to the proxy test
package, so it no longer compiles on main. Keep the copy in
lifecycle_test.go.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NGTev5ePU5jHubGtdoUfK6
(cherry picked from commit e2afe03)
@greptile-apps

greptile-apps Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This PR appears safe to merge.

Summary

Removes the duplicate lockedLogBuffer and unused bytes import from proxy/reinvalidation_test.go.

  • Proxy tests use one shared log buffer helper.

Reviews (1) · Last reviewed commit: "test(proxy): remove duplicate lockedLogB..." · Reviewed by Greptile

@ovaistariq
ovaistariq merged commit 0d67108 into main Oct 21, 2026
11 checks passed
@ovaistariq
ovaistariq deleted the fix-duplicate-test-helper branch October 21, 2026 22:32
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 21, 2026
@tigrisdata-argocd-bot

Copy link
Copy Markdown

🎉 This PR is included in version 1.22.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants