Repository navigation
test: Keep a pending leak warning a warning in the warn = 2 test - #654
Merged
Merged
Conversation
) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd5PUWgaCJzotWt9NhJ
Member
Author
Accepted limitationsThe clean review found nothing above Low. It confirmed three things. Calling handlers run before the
Generated by Claude Code |
This was referenced Nov 29, 2026
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.
Fixes the first item of #653.
test-deferred-warnings.R:55runsdbFetch()underoptions(warn = 2)and expects the "Use dbExecute()" error. If a connection from an earlier test has been garbage-collected, its queued leak warning surfaces with that same call, as designed in #632. Underwarn = 2the leak warning then becomes the error, and the test fails, as it did in the R 4.3 job of run 46293140156. A calling handler now muffles only that leak warning, so the warning under test still becomes the error. It is a test-only change.Tests: the handler was checked under
warn = 2with a stand-in function that warns with the leak message and then errors. The local database server is down, so the suite runs in CI only. The flake depends on garbage-collection timing, so a green run can't show it is gone.The second item of #653, finding the test that leaves a connection to the garbage collector, is still open.
Accepted limitations
https://claude.ai/code/session_01Hr1rd5PUWgaCJzotWt9NhJ
Generated by Claude Code