Skip to content

buffer: define global v8::CFunction objects as const - #57676

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
mertcanaltin:mert/fix/const-global-cfunctions
Apr 6, 2025
Merged

buffer: define global v8::CFunction objects as const#57676
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
mertcanaltin:mert/fix/const-global-cfunctions

Conversation

@mertcanaltin

@mertcanaltinmertcanaltin commented Mar 29, 2025

Copy link
Copy Markdown
Member

objects I defined them as const so that they cannot be changed.

@nodejs-github-botnodejs-github-bot added buffer Issues and PRs related to the buffer subsystem. c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. labels Mar 29, 2025
@codecov

codecovBot commented Mar 29, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.23%. Comparing base (af75d04) to head (c4540be).
Report is 59 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@## main #57676 +/- ##
==========================================
- Coverage 90.23% 90.23% -0.01% 
==========================================
Files 630 630 Lines 185055 185055 Branches 36221 36226 +5 ==========================================
- Hits 166984 166983 -1 + Misses 11043 11040 -3 - Partials 7028 7032 +4 
Files with missing linesCoverage Δ
src/node_buffer.cc67.13% <ø> (ø)

... and 25 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.

@RaisinTenRaisinTen added the request-ci Add this label to start a Jenkins CI on a PR. label Apr 1, 2025
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Apr 1, 2025
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Collaborator

@RaisinTenRaisinTen added the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 6, 2025
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 6, 2025
@nodejs-github-bot
nodejs-github-bot merged commit 74722a5 into nodejs:mainApr 6, 2025
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 74722a5

RafaelGSS pushed a commit that referenced this pull request May 1, 2025
PR-URL: #57676
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
RafaelGSS pushed a commit that referenced this pull request May 2, 2025
PR-URL: #57676
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
aduh95 pushed a commit that referenced this pull request May 6, 2025
PR-URL: #57676
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
RafaelGSS pushed a commit that referenced this pull request May 14, 2025
PR-URL: #57676
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
aduh95 pushed a commit that referenced this pull request May 16, 2025
PR-URL: #57676
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
aduh95 pushed a commit that referenced this pull request May 17, 2025
PR-URL: #57676
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
aduh95 pushed a commit that referenced this pull request May 19, 2025
PR-URL: #57676
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
codebytere added a commit to electron/electron that referenced this pull request May 23, 2025
codebytere added a commit to electron/electron that referenced this pull request May 26, 2025
codebytere added a commit to electron/electron that referenced this pull request May 29, 2025
codebytere added a commit to electron/electron that referenced this pull request Jun 2, 2025
jkleinsc pushed a commit to electron/electron that referenced this pull request Jun 2, 2025
* chore: bump node in DEPS to v22.16.0
* crypto: remove BoringSSL dh-primes addition
nodejs/node#57023
* tools: enable linter in test/fixtures/test\-runner/output
nodejs/node#57698
* src: improve thread safety of TaskQueue
nodejs/node#57910
* buffer: define global v8::CFunction objects as const
nodejs/node#57676
* src: disable abseil deadlock detection
nodejs/node#57582
* zlib: fix pointer alignment
nodejs/node#57727
* chore: fixup patch indices
* src: set default config as node.config.json
nodejs/node#57171
* src: update std::vector<v8::Local<T>> to use v8::LocalVector<T>
nodejs/node#57578
* test: disable chmod tests failing in Docker
nodejs/node#58326
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
codebytere added a commit to electron/electron that referenced this pull request Jun 3, 2025
codebytere added a commit to electron/electron that referenced this pull request Jun 3, 2025
codebytere added a commit to electron/electron that referenced this pull request Jun 3, 2025
codebytere added a commit to electron/electron that referenced this pull request Jun 3, 2025
codebytere added a commit to electron/electron that referenced this pull request Jun 3, 2025
codebytere added a commit to electron/electron that referenced this pull request Jun 3, 2025
codebytere added a commit to electron/electron that referenced this pull request Jun 4, 2025
* chore: bump node in DEPS to v22.16.0
* crypto: remove BoringSSL dh-primes addition
nodejs/node#57023
* tools: enable linter in test/fixtures/test\-runner/output
nodejs/node#57698
* src: improve thread safety of TaskQueue
nodejs/node#57910
* buffer: define global v8::CFunction objects as const
nodejs/node#57676
* src: disable abseil deadlock detection
nodejs/node#57582
* zlib: fix pointer alignment
nodejs/node#57727
* chore: fixup patch indices
* src: set default config as node.config.json
nodejs/node#57171
* src: update std::vector<v8::Local<T>> to use v8::LocalVector<T>
nodejs/node#57578
* test: disable chmod tests failing in Docker
nodejs/node#58326
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
codebytere added a commit to electron/electron that referenced this pull request Jun 6, 2025
@ghostghost mentioned this pull request Jun 8, 2025
codebytere added a commit to electron/electron that referenced this pull request Jun 18, 2025
codebytere added a commit to electron/electron that referenced this pull request Jun 30, 2025
* chore: bump node in DEPS to v22.16.0
* crypto: remove BoringSSL dh-primes addition
nodejs/node#57023
* tools: enable linter in test/fixtures/test\-runner/output
nodejs/node#57698
* src: improve thread safety of TaskQueue
nodejs/node#57910
* buffer: define global v8::CFunction objects as const
nodejs/node#57676
* zlib: fix pointer alignment
nodejs/node#57727
* chore: fixup patch indices
* src: set default config as node.config.json
nodejs/node#57171
* src: update std::vector<v8::Local<T>> to use v8::LocalVector<T>
nodejs/node#57578
* test: disable chmod tests failing in Docker
nodejs/node#58326
* chore: fix out of date patch
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
kigh-ota pushed a commit to kigh-ota/electron that referenced this pull request Sep 30, 2025
* chore: bump node in DEPS to v22.16.0
* crypto: remove BoringSSL dh-primes addition
nodejs/node#57023
* tools: enable linter in test/fixtures/test\-runner/output
nodejs/node#57698
* src: improve thread safety of TaskQueue
nodejs/node#57910
* buffer: define global v8::CFunction objects as const
nodejs/node#57676
* src: disable abseil deadlock detection
nodejs/node#57582
* zlib: fix pointer alignment
nodejs/node#57727
* chore: fixup patch indices
* src: set default config as node.config.json
nodejs/node#57171
* src: update std::vector<v8::Local<T>> to use v8::LocalVector<T>
nodejs/node#57578
* test: disable chmod tests failing in Docker
nodejs/node#58326
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@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.bufferIssues and PRs related to the buffer subsystem.c++Issues and PRs that require attention from people who are familiar with C++.needs-ciPRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@mertcanaltin@nodejs-github-bot@jasnell@addaleax@RaisinTen