Skip to content

Conversation

@dnwe
Copy link
Collaborator

@dnwe dnwe commented Aug 14, 2023

Whilst this isn't as helpful as a per test defer goleak.VerifyNone in terms of showing which test was responsible for the leak, it's still worth having as a baseline check in PRs and CI to prevent new leaks being introduced now that we're all cleaned up. If a PR fails we can subsequently run tests individually in order to determine which one is the leaker.

See https://github.com/uber-go/goleak#quick-start and https://github.com/uber-go/goleak#determine-source-of-package-leaks

@dnwe dnwe added the ci label Aug 14, 2023
@dnwe dnwe force-pushed the dnwe/goleak branch 2 times, most recently from d36c6b1 to a785e30 Compare August 14, 2023 10:38
Whilst this isn't as helpful as a per test `defer goleak.VerifyNone` in
terms of showing _which_ test was responsible for the leak, it's still
worth having as a baseline check in PRs and CI to prevent new leaks
being introduced now that we're all cleaned up. If a PR fails we can
subsequently run tests individually in order to determine which one is
the leaker.

See https://github.com/uber-go/goleak#quick-start and
https://github.com/uber-go/goleak#determine-source-of-package-leaks

Signed-off-by: Dominic Evans <[email protected]>
@dnwe dnwe closed this Aug 22, 2023
@dnwe dnwe reopened this Sep 11, 2025
@dnwe dnwe marked this pull request as draft September 11, 2025 08:44
@github-actions
Copy link

Thank you for your contribution! However, this pull request has not had any activity in the past 90 days and will be closed in 30 days if no updates occur.
If you believe the changes are still valid then please verify your branch has no conflicts with main and rebase if needed. If you are awaiting a (re-)review then please let us know.

@github-actions github-actions bot added the stale Issues and pull requests without any recent activity label Dec 10, 2025
@github-actions github-actions bot closed this Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci stale Issues and pull requests without any recent activity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants