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

src: reject per-process isolate flags in workers #53780

Closed
wants to merge 1 commit into from

Conversation

legendecas
Copy link
Member

@legendecas legendecas commented Jul 9, 2024

V8 flags are saved in a per-process storage and are not effective in the
Worker constructor options (not applied with V8::SetFlagsFromString).
Reject V8 flags in the Worker constructor proactively to indicate these
options should be set at process level.

Refs: #53596

@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. labels Jul 9, 2024
@legendecas legendecas force-pushed the env/isolate-flags branch from 3f44cb6 to 77adc06 Compare July 9, 2024 11:14
@legendecas legendecas added the worker Issues and PRs related to Worker support. label Jul 9, 2024
V8 flags are saved in a per-process storages and were ignored in the
Worker constructor options. Reject V8 flags in the Worker constructor
proactively to indicate these options should be set at process level.
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. worker Issues and PRs related to Worker support.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants