Skip to content

sea: reject malformed --node-options values - #64803

Open
Archkon wants to merge 1 commit into
nodejs:mainfrom
Archkon:sea5
Open

sea: reject malformed --node-options values#64803
Archkon wants to merge 1 commit into
nodejs:mainfrom
Archkon:sea5

Conversation

@Archkon

@Archkon Archkon commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Propagate tokenization errors from ParseNodeOptionsEnvVar through FixupArgsForSEA and abort startup with an invalid command-line status instead of applying partially parsed options.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/single-executable
  • @nodejs/startup

@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. single-executable Issues and PRs related to single-executable applications labels Jul 28, 2026
Propagate tokenization errors from ParseNodeOptionsEnvVar through
FixupArgsForSEA and abort startup with an invalid command-line status
instead of applying partially parsed options.

Signed-off-by: Archkon <[email protected]>
@Archkon
Archkon force-pushed the sea5 branch 2 times, most recently from c7f25a5 to ee1ca50 Compare July 28, 2026 12:47
@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.14%. Comparing base (6a3d80f) to head (ee1ca50).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #64803      +/-   ##
==========================================
- Coverage   90.16%   90.14%   -0.03%     
==========================================
  Files         744      744              
  Lines      242518   242550      +32     
  Branches    45705    45699       -6     
==========================================
- Hits       218670   218635      -35     
- Misses      15357    15401      +44     
- Partials     8491     8514      +23     
Files with missing lines Coverage Δ
src/node.cc 77.10% <100.00%> (+0.17%) ⬆️
src/node_sea.cc 89.40% <100.00%> (-0.13%) ⬇️
src/node_sea.h 100.00% <ø> (ø)

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. single-executable Issues and PRs related to single-executable applications

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants