test: drop bookkeeping for GC-observation tests deleted in #35182 (+0 tests, cleanup only) - #35402
test: drop bookkeeping for GC-observation tests deleted in #35182 (+0 tests, cleanup only)#35402cirospaciari wants to merge 4 commits into
Conversation
The three tests were removed, but their expectations.txt FLAKY entry and expected-durations.json entries stayed behind.
|
Updated 10:17 PM PT - Aug 3rd, 2026
❌ @robobun, your commit 17f49b0 has 3 failures in
🧪 To try this PR locally: bunx bun-pr 35402That installs a local version of the PR into your bun-35402 --bun |
WalkthroughChangesTest metadata updates
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
Comment |
|
Found 1 issue this PR may fix:
🤖 Generated with Claude Code |
|
This PR may be a duplicate of:
🤖 Generated with Claude Code |
…d-gc-test-bookkeeping # Conflicts: # test/expectations.txt # test/expected-durations.json
There was a problem hiding this comment.
After merging main (057ac83), this PR now has zero net diff — the stale expectations.txt entry was removed on main by #36780 and the expected-durations.json entries by a00c4db, so there's nothing left to land here. The orphaned-comment issue I flagged earlier is moot. This can be closed.
Extended reasoning...
Overview
This PR originally removed stale bookkeeping (a FLAKY entry in test/expectations.txt and three test/expected-durations.json entries) for GC-observation tests deleted in #35182. My prior review on 2026-07-24 flagged that the expectations.txt hunk left an 11-line explanatory comment block orphaned mid-sentence.
Since then, commit 057ac83 merged origin/main into the branch. git diff e3368190..HEAD (main tip vs. PR HEAD) is now empty — no files differ. The cleanup this PR set out to do landed on main independently: #36780 ("test: prune stale entries from expectations.txt") removed the TLS-memleak FLAKY entry and its full comment block, and a00c4db ("Update test durations") regenerated expected-durations.json without the deleted tests. I also confirmed the three test files no longer exist and no stale references remain in expectations.txt or expected-durations.json.
Security risks
None — no code changes remain.
Level of scrutiny
Minimal; the PR is a no-op after the merge.
Other factors
I'm deferring rather than approving because merging an empty PR would add a merge commit with no effect; the author will likely want to close it instead. My earlier orphaned-comment finding no longer applies since the entire hunk is gone.
…d-gc-test-bookkeeping
There was a problem hiding this comment.
LGTM — after the latest merge from main this PR carries an empty diff. The cleanup it targeted (the test-tls-connect-memleak.js FLAKY entry + the three expected-durations.json entries) already landed on main via #36780 and a durations regen, so there is nothing left to merge here. My earlier note about the orphaned comment block is moot — that block is gone on main. This can be closed or merged as a no-op.
Extended reasoning...
Overview
This PR originally removed stale bookkeeping in test/expectations.txt and test/expected-durations.json for three GC-observation tests that #35182 deleted. Since my previous review it has merged origin/main twice (057ac83, 17f49b0). Comparing the branch HEAD against its main-side merge parent (git diff HEAD^2 HEAD) yields zero changes — main already picked up equivalent cleanup via #36780 (expectations prune) and a subsequent expected-durations.json regeneration.
Security risks
None. Test-metadata only, and the net diff is empty.
Level of scrutiny
Minimal. An empty diff cannot introduce a regression. I verified: the three test files (test-gc-http-client-connaborted.js, test-net-connect-memleak.js, test-tls-connect-memleak.js) do not exist on the branch, test/expectations.txt no longer references them or contains the orphaned FinalizationRegistry comment block I flagged on Jul 24, and grepping test/ for the three names finds only an unrelated comment in test/js/node/test/common/gc.js.
Other factors
My prior inline comment about the truncated comment block is marked resolved and is now moot — the whole block was removed on main. Since this PR contributes nothing beyond what main already has, approving is safe; the author can close it or let it merge as a no-op.
#35182 deleted
test-gc-http-client-connaborted.js,test-net-connect-memleak.jsandtest-tls-connect-memleak.js, but left their bookkeeping behind: theexpectations.txtFLAKY entry for the tls test and the threeexpected-durations.jsonentries. This removes the stale entries; no behavior change (the referenced tests no longer exist). Surfaced by review on #34654.