sea: avoid dangling CLI option pointers
Reserve exec argv storage before inserting configured and CLI-expanded arguments so vector reallocation cannot invalidate pointers in argv.
Review requested:
- [ ] @nodejs/single-executable
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%> (ΓΈ) |
: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.
@avivkeller Could you apply request-ci for this ?
@anonrig @jasnell Could you apply request-ci fot this ?
CI: https://ci.nodejs.org/job/node-test-pull-request/75500/
@avivkeller Please take a look at these failed tests
CI: https://ci.nodejs.org/job/node-test-pull-request/75596/
CI: https://ci.nodejs.org/job/node-test-pull-request/75650/
Landed in 8f518788f9c46b5e96a05f26d77a9a59ce3da596