node icon indicating copy to clipboard operation
node copied to clipboard

sea: avoid dangling CLI option pointers

Open Archkon opened this issue 4 months ago β€’ 2 comments

Reserve exec argv storage before inserting configured and CLI-expanded arguments so vector reallocation cannot invalidate pointers in argv.

Archkon avatar Jul 26 '26 11:07 Archkon

Review requested:

  • [ ] @nodejs/single-executable

nodejs-github-bot avatar Jul 26 '26 11:07 nodejs-github-bot

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 90.15%. Comparing base (4a5eb1c) to head (b043f5e). :warning: Report is 224 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #64755   +/-   ##
=======================================
  Coverage   90.15%   90.15%           
=======================================
  Files         744      744           
  Lines      242517   242517           
  Branches    45688    45693    +5     
=======================================
+ Hits       218642   218648    +6     
- Misses      15358    15360    +2     
+ Partials     8517     8509    -8     
Files with missing lines Coverage Ξ”
src/node_sea.cc 89.53% <100.00%> (ΓΈ)

... and 23 files with indirect coverage changes

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

codecov[bot] avatar Jul 26 '26 12:07 codecov[bot]

@avivkeller Could you apply request-ci for this ?

Archkon avatar Aug 02 '26 06:08 Archkon

@anonrig @jasnell Could you apply request-ci fot this ?

Archkon avatar Aug 04 '26 14:08 Archkon

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

nodejs-github-bot avatar Aug 05 '26 03:08 nodejs-github-bot

@avivkeller Please take a look at these failed tests

Archkon avatar Aug 06 '26 06:08 Archkon

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

nodejs-github-bot avatar Aug 07 '26 03:08 nodejs-github-bot

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

nodejs-github-bot avatar Aug 08 '26 14:08 nodejs-github-bot

Landed in 8f518788f9c46b5e96a05f26d77a9a59ce3da596

nodejs-github-bot avatar Aug 09 '26 19:08 nodejs-github-bot