Skip to content

test: close FileHandle objects in tests explicitly - #58615

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
jasnell:jasnell/explicitly-close-filehandle-in-tests
Jun 9, 2025
Merged

test: close FileHandle objects in tests explicitly#58615
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
jasnell:jasnell/explicitly-close-filehandle-in-tests

Conversation

@jasnell

@jasnelljasnell commented Jun 7, 2025

Copy link
Copy Markdown
Member

Separated out from #58536. Specifically not using using so the test changes can be backported.

This is in preparation for moving the close-filehandle-on-gc to EOL.

@nodejs-github-botnodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Jun 7, 2025
@nodejs-github-bot

This comment was marked as outdated.

@codecov

codecovBot commented Jun 7, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.22%. Comparing base (f58613a) to head (ae8fcd0).
Report is 9 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@## main #58615 +/- ##
==========================================
+ Coverage 90.20% 90.22% +0.01% 
==========================================
Files 636 636 Lines 187718 187718 Branches 36855 36870 +15 ==========================================
+ Hits 169331 169360 +29 + Misses 11153 11123 -30 - Partials 7234 7235 +1 

see 37 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jasnelljasnell added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jun 7, 2025
@nodejs-github-bot

nodejs-github-bot commented Jun 8, 2025

Copy link
Copy Markdown
Collaborator

@jasnelljasnell added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. and removed commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels Jun 8, 2025
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jun 9, 2025
@nodejs-github-bot
nodejs-github-bot merged commit 2eeb65f into nodejs:mainJun 9, 2025
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 2eeb65f

seriousme pushed a commit to seriousme/node that referenced this pull request Jun 10, 2025
PR-URL: nodejs#58615
Reviewed-By: LiviaMedeiros <livia@cirno.name>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
targos pushed a commit that referenced this pull request Jun 16, 2025
PR-URL: #58615
Reviewed-By: LiviaMedeiros <livia@cirno.name>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
aduh95 pushed a commit that referenced this pull request Jul 21, 2025
PR-URL: #58615
Reviewed-By: LiviaMedeiros <livia@cirno.name>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
aduh95 pushed a commit that referenced this pull request Jul 24, 2025
PR-URL: #58615
Reviewed-By: LiviaMedeiros <livia@cirno.name>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.needs-ciPRs that need a full CI run.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@jasnell@nodejs-github-bot@lpinca@LiviaMedeiros