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

sea: add option to disable the experimental SEA warning #47588

Conversation

RaisinTen
Copy link
Contributor

@RaisinTen RaisinTen commented Apr 17, 2023

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/single-executable

@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 Apr 17, 2023
@RaisinTen RaisinTen force-pushed the sea-add-option-to-disable-experimental-sea-warning branch 2 times, most recently from 55d4642 to c10ae9b Compare April 17, 2023 08:58
src/json_parser.cc Outdated Show resolved Hide resolved
src/json_parser.h Outdated Show resolved Hide resolved
Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I agree that for some of the additional use cases discussed disabling only the SEA warning versus all warnings makes sense.

@nodejs-github-bot

This comment was marked as outdated.

@RaisinTen RaisinTen added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels Apr 18, 2023
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@RaisinTen RaisinTen added the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 20, 2023
@nodejs-github-bot nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Apr 20, 2023
@nodejs-github-bot

This comment was marked as outdated.

@RaisinTen RaisinTen removed the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Apr 24, 2023
src/node_sea.cc Outdated Show resolved Hide resolved
Copy link
Contributor

@bnb bnb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RSLGTM for the idea

RaisinTen added a commit to RaisinTen/node that referenced this pull request Apr 25, 2023
@RaisinTen RaisinTen removed the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Apr 25, 2023
@ovflowd
Copy link
Member

ovflowd commented Apr 25, 2023

ALSO SGTM for the idea. It honestly sounds fair.

doc/api/single-executable-applications.md Outdated Show resolved Hide resolved
doc/api/single-executable-applications.md Outdated Show resolved Hide resolved
lib/internal/main/embedding.js Outdated Show resolved Hide resolved
src/node_sea.cc Outdated Show resolved Hide resolved
src/node_sea.cc Outdated Show resolved Hide resolved
RaisinTen added a commit to RaisinTen/node that referenced this pull request Apr 26, 2023
RaisinTen added a commit to RaisinTen/node that referenced this pull request Apr 26, 2023
RaisinTen added a commit to RaisinTen/node that referenced this pull request Apr 26, 2023
Node.js uses UTF-8 for almost all things as the default internally, and
this method should not be an exception

Refs: nodejs#47588 (comment)
Signed-off-by: Darshan Sen <[email protected]>
It makes more sense to use a Maybe here because that conveys the meaning
that it is unsafe to call into V8 if an exception is pending. Using
std::optional does not make that obvious.

Refs: nodejs#47588 (comment)
Signed-off-by: Darshan Sen <[email protected]>
These became flaky on osx11-x64 Jenkins CI the moment we started running
multiple single-executable tests in parallel, so it makes sense to run
these sequentially for now.

Signed-off-by: Darshan Sen <[email protected]>
This reverts commit 4bd6caf.

Refs: nodejs#47588 (comment)
Signed-off-by: Darshan Sen <[email protected]>
@RaisinTen RaisinTen force-pushed the sea-add-option-to-disable-experimental-sea-warning branch from 4d19a45 to d6642b7 Compare May 3, 2023 15:12
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

Copy link
Member

@joyeecheung joyeecheung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@nodejs-github-bot
Copy link
Collaborator

@RaisinTen RaisinTen added the commit-queue Add this label to land a pull request using GitHub Actions. label May 4, 2023
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label May 4, 2023
@nodejs-github-bot nodejs-github-bot merged commit 2de10f5 into nodejs:main May 4, 2023
@nodejs-github-bot
Copy link
Collaborator

Landed in 2de10f5

@RaisinTen RaisinTen deleted the sea-add-option-to-disable-experimental-sea-warning branch May 4, 2023 15:28
targos pushed a commit that referenced this pull request May 12, 2023
Refs: nodejs/single-executable#60
Signed-off-by: Darshan Sen <[email protected]>
PR-URL: #47588
Fixes: #47741
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Tierney Cyren <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
@targos targos added the semver-minor PRs that contain new features and should be released in the next minor version. label May 15, 2023
targos added a commit that referenced this pull request May 15, 2023
Notable changes:

doc:
  * add ovflowd to collaborators (Claudio Wunder) #47844
http:
  * (SEMVER-MINOR) prevent writing to the body when not allowed by HTTP spec (Gerrard Lindsay) #47732
sea:
  * (SEMVER-MINOR) add option to disable the experimental SEA warning (Darshan Sen) #47588
test_runner:
  * (SEMVER-MINOR) add `skip`, `todo`, and `only` shorthands to `test` (Chemi Atlow) #47909
url:
  * (SEMVER-MINOR) add value argument to `URLSearchParams` `has` and `delete` methods (Sankalp Shubham) #47885

PR-URL: #48020
targos added a commit that referenced this pull request May 16, 2023
Notable changes:

doc:
  * add ovflowd to collaborators (Claudio Wunder) #47844
http:
  * (SEMVER-MINOR) prevent writing to the body when not allowed by HTTP spec (Gerrard Lindsay) #47732
sea:
  * (SEMVER-MINOR) add option to disable the experimental SEA warning (Darshan Sen) #47588
test_runner:
  * (SEMVER-MINOR) add `skip`, `todo`, and `only` shorthands to `test` (Chemi Atlow) #47909
url:
  * (SEMVER-MINOR) add value argument to `URLSearchParams` `has` and `delete` methods (Sankalp Shubham) #47885

PR-URL: #48020
@danielleadams danielleadams added the backport-blocked-v18.x PRs that should land on the v18.x-staging branch but are blocked by another PR's pending backport. label Jul 3, 2023
@danielleadams
Copy link
Member

Blocked by #47125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. backport-blocked-v18.x PRs that should land on the v18.x-staging branch but are blocked by another PR's pending backport. c++ Issues and PRs that require attention from people who are familiar with C++. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. needs-ci PRs that need a full CI run. semver-minor PRs that contain new features and should be released in the next minor version. single-executable Issues and PRs related to single-executable applications
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flaky test-single-executable-application