-
Notifications
You must be signed in to change notification settings - Fork 5k
process/worker: env descriptor validation, worker execArgv policy table with per-worker --expose-gc (+3 tests, worker 74%→76%) #34654
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
Open
cirospaciari
wants to merge
67
commits into
ciro/worker-threads-node-tests
Choose a base branch
from
claude/process-env-descriptor-validation
base: ciro/worker-threads-node-tests
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,299
−164
Open
Changes from all commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
f8734c7
process: reject partial property descriptors on process.env
cirospaciari 5c8028f
test: quarantine worker-terminate ASAN crashes, matching main
cirospaciari 7ef097b
worker: hold an exception scope while populating process.env
cirospaciari 19227b9
worker: validate execArgv against a real flag policy table (+2 tests)
cirospaciari 608e06c
[autofix.ci] apply automated fixes
autofix-ci[bot] 6c0412a
worker: allow Bun run-surface flags in execArgv and NODE_OPTIONS
cirospaciari 4d05af1
ci: keep the binary size allowance on the stack tip [allow size]
cirospaciari a2c7d8d
Merge ciro/worker-threads-node-tests into claude/process-env-descript…
cirospaciari 6a6c7d2
ci: keep the binary size allowance on the stack tip [allow size]
cirospaciari 2fdb75a
worker: take the JSLock before installing globalThis.gc
cirospaciari 54baff8
[autofix.ci] apply automated fixes
autofix-ci[bot] 52f6889
worker: cover the full process.execArgv surface in the execArgv policy
cirospaciari 7f26d4d
ci: rebuild [allow size]
cirospaciari 0bd590d
worker: split glued short-flag values in execArgv like the CLI parser
cirospaciari b07212e
worker/env: chain short execArgv flags like the CLI parser; no phanto…
cirospaciari 7ce8a68
[autofix.ci] apply automated fixes
autofix-ci[bot] 5c7c5b3
worker: chain short flags in NODE_OPTIONS validation too
cirospaciari 4698960
process.env: reject valueless data descriptors and symbol keys like n…
cirospaciari 5798e87
process: normalize glued short flags when building process.execArgv
cirospaciari 11bb858
[autofix.ci] apply automated fixes
autofix-ci[bot] e2ba2d4
process: scope execArgv short-flag normalization to the bun/node entr…
cirospaciari 12b617a
[autofix.ci] apply automated fixes
autofix-ci[bot] 31b3953
Delete flaky GC-observation node tests (#35182)
Jarred-Sumner c545cec
process: close the -br/run gaps in execArgv short-flag normalization
robobun f359442
[autofix.ci] apply automated fixes
autofix-ci[bot] 5e87cc7
clippy: use ? now that push_normalized_short_token returns Option
robobun d1b410e
worker: share the process.execArgv token builder with the inherit-pat…
robobun ebcb030
worker: honor prev_takes_value before short-chain normalization; acce…
robobun 6068f57
test: pin the -pe execArgv round-trip
cirospaciari b1010fb
process.env: stringify defineProperty values like node; isolate SHARE…
robobun 490b699
process.env: coerce defined values to strings; fail preventExtensions…
cirospaciari f9ac6f4
[autofix.ci] apply automated fixes
autofix-ci[bot] 7a8bf0c
worker: only One/Many flags consume the next argv token
cirospaciari 12d92a7
[autofix.ci] apply automated fixes
autofix-ci[bot] 4f1552f
windowsEnv: fix defineProperty bookkeeping for always-present accesso…
cirospaciari 1fce00b
test: pin windowsEnv defineProperty bookkeeping for always-present ac…
robobun 01d9f03
[autofix.ci] apply automated fixes
autofix-ci[bot] e8a82b8
test: drop stale bookkeeping for the GC-observation tests deleted by …
robobun cec7675
test: run the windowsEnv special-accessor defineProperty check in a p…
robobun f38b64b
[autofix.ci] apply automated fixes
autofix-ci[bot] 409d44d
test: drop the orphaned comment block for the deleted tls memleak entry
robobun 42233c1
Merge remote-tracking branch 'origin/ciro/worker-threads-node-tests' …
robobun d7b446a
worker: use AUTO_PARAMS directly in table_map after #36184 made the s…
robobun bdfa422
Worker.cpp: guard WebWorker__dispatchError/dispatchErrorWithValue aga…
robobun cb25e5d
web_worker: clear the pending TerminationException (not just the requ…
robobun 9f100bf
trim comments to <=3 lines, cite spec/node source
robobun 4da9c57
Revert the shutdown clear_termination_exception swap
robobun 9c8c3a4
Merge remote-tracking branch 'origin/ciro/worker-threads-node-tests' …
robobun 462ca19
Merge remote-tracking branch 'origin/ciro/worker-threads-node-tests' …
robobun e623e6c
Merge remote-tracking branch 'origin/ciro/worker-threads-node-tests' …
robobun af68afa
clippy: SAFETY comment for us_loop_idle_ns raw call from 388af0e9
robobun 1ade7f3
Merge remote-tracking branch 'origin/ciro/worker-threads-node-tests' …
robobun 21c5d62
Merge branch 'main' into claude/process-env-descriptor-validation
cirospaciari bd9ab18
Merge branch 'ciro/worker-threads-node-tests' into claude/process-env…
cirospaciari 3bb4d69
Merge branch 'main' into claude/process-env-descriptor-validation
robobun e75f5ab
Merge branch 'ciro/worker-threads-node-tests' into claude/process-env…
cirospaciari 451b70a
worker_exec_argv: route the = split through strings::index_of_char_usize
cirospaciari 846e516
windows: wrap a worker's env snapshot in the windowsEnv proxy
robobun 8ce6a4c
process.env: refuse preventExtensions on the main-thread map and the …
robobun dae59d4
retitle the Windows accessor test for the post-merge reject semantics…
robobun 80485f4
Merge branch 'ciro/worker-threads-node-tests' into claude/process-env…
cirospaciari 80f9d48
Merge branch 'ciro/worker-threads-node-tests' into claude/process-env…
cirospaciari 945f6c3
env maps: align symbol-key handling across put/defineProperty and pla…
robobun c198cfe
Trim comments to node-source/spec references
robobun 18dfe4a
Merge branch 'ciro/worker-threads-node-tests' into claude/process-env…
robobun bb2f2c4
NODE_OPTIONS: consume a required flag's next token unconditionally
robobun c52ec62
env: match node's Symbol conversion message on the regular map's put …
robobun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.