Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: cleanup per env handles directly without a list #54993

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

legendecas
Copy link
Member

Environment handles are deterministic and can be cleaned up directly
without saving the references in a list and iterate the list.

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. labels Sep 18, 2024
@legendecas
Copy link
Member Author

legendecas commented Sep 18, 2024

The format-cpp is producing incomplete output files. Might be related to recent update #53957.

Copy link

codecov bot commented Sep 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.03%. Comparing base (c42d846) to head (5c8d0df).
Report is 35 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #54993   +/-   ##
=======================================
  Coverage   88.03%   88.03%           
=======================================
  Files         652      652           
  Lines      183759   183753    -6     
  Branches    35861    35855    -6     
=======================================
+ Hits       161770   161775    +5     
+ Misses      15239    15235    -4     
+ Partials     6750     6743    -7     
Files with missing lines Coverage Δ
src/env-inl.h 96.79% <ø> (-0.02%) ⬇️
src/env.cc 85.71% <100.00%> (+0.19%) ⬆️
src/env.h 98.00% <ø> (ø)

... and 34 files with indirect coverage changes

Environment handles can be cleaned up directly without saving the
references in a list and iterate the list.
@legendecas legendecas added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 19, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 19, 2024
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@legendecas legendecas added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Sep 20, 2024
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 20, 2024
@nodejs-github-bot nodejs-github-bot merged commit 8b8fc53 into nodejs:main Sep 20, 2024
58 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 8b8fc53

@legendecas legendecas deleted the env/handle-cleanup branch September 20, 2024 20:08
targos pushed a commit that referenced this pull request Oct 4, 2024
Environment handles can be cleaned up directly without saving the
references in a list and iterate the list.

PR-URL: #54993
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
@aduh95 aduh95 mentioned this pull request Oct 9, 2024
louwers pushed a commit to louwers/node that referenced this pull request Nov 2, 2024
Environment handles can be cleaned up directly without saving the
references in a list and iterate the list.

PR-URL: nodejs#54993
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants