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: add async context frame to AsyncResource #56082

Merged
merged 1 commit into from
Dec 1, 2024

Conversation

Flarna
Copy link
Member

@Flarna Flarna commented Nov 29, 2024

Add member to hold the async context frame to AsyncResource to avoid the need for the async_resource_context_frames_ map in env.

Semver major because it changes ABI.

Continuation of #54879.
Seems to be a good time now as AsyncContextFrame is now default for ALS (see #55552).

Add member to hold the async context frame to AsyncResource to avoid
the need for the async_resource_context_frames_ map in env.

Semver major because it changes ABI.
@Flarna Flarna added semver-major PRs that contain breaking changes and should be released in the next major version. async_local_storage AsyncLocalStorage labels Nov 29, 2024
@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 Nov 29, 2024
@Flarna Flarna added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 29, 2024
Copy link

codecov bot commented Nov 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.00%. Comparing base (4efb7ae) to head (554ec2c).
Report is 9 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #56082   +/-   ##
=======================================
  Coverage   87.99%   88.00%           
=======================================
  Files         656      656           
  Lines      188988   188970   -18     
  Branches    35988    35990    +2     
=======================================
- Hits       166302   166299    -3     
+ Misses      15848    15842    -6     
+ Partials     6838     6829    -9     
Files with missing lines Coverage Δ
src/api/async_resource.cc 95.23% <100.00%> (-0.60%) ⬇️
src/env-inl.h 97.20% <ø> (+0.34%) ⬆️
src/env.h 98.14% <ø> (ø)
src/node.h 92.00% <ø> (ø)

... and 19 files with indirect coverage changes

@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 29, 2024
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot
Copy link
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/63797/

@anonrig anonrig 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 Nov 30, 2024
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 1, 2024
@nodejs-github-bot nodejs-github-bot merged commit 58982d7 into nodejs:main Dec 1, 2024
80 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 58982d7

@Flarna Flarna deleted the async_resource_frame branch December 1, 2024 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
async_local_storage AsyncLocalStorage 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. semver-major PRs that contain breaking changes and should be released in the next major version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants