Skip to content

test: add more goleak checks#3175

Merged
miparnisari merged 2 commits into
mainfrom
test-add-goleak
Jun 11, 2026
Merged

test: add more goleak checks#3175
miparnisari merged 2 commits into
mainfrom
test-add-goleak

Conversation

@miparnisari

@miparnisari miparnisari commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Followup to #3171 since there are more goroutine leaks.

I am pretty sure that the leak is that we made telemetry ON by default

https://github.com/authzed/spicedb/blame/87482ed4fbeabd57ae4e896e1b4674958e6b16ba/pkg/cmd/server/server.go#L162

and now we are leaking its connection. The fix is in internal/telemetry/reporter.go.

@github-actions github-actions Bot added area/api v1 Affects the v1 API area/tooling Affects the dev or user toolchain (e.g. tests, ci, build tools) labels Jun 11, 2026
@codecov

codecov Bot commented Jun 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

github-actions[bot]

This comment was marked as off-topic.

@miparnisari miparnisari marked this pull request as ready for review June 11, 2026 19:23
@miparnisari miparnisari requested a review from a team as a code owner June 11, 2026 19:23
@miparnisari miparnisari force-pushed the test-add-goleak branch 3 times, most recently from fa26ccf to c254ae1 Compare June 11, 2026 19:42
miparnisari and others added 2 commits June 11, 2026 12:44
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…defaults

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@josephschorr josephschorr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@miparnisari miparnisari enabled auto-merge (squash) June 11, 2026 19:47
@miparnisari miparnisari merged commit 25f4e68 into main Jun 11, 2026
44 checks passed
@miparnisari miparnisari deleted the test-add-goleak branch June 11, 2026 20:06
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area/api v1 Affects the v1 API area/tooling Affects the dev or user toolchain (e.g. tests, ci, build tools) Skip-Changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants