Meghan Denny
bbdc3ae055
node: sync updated tests ( #21147 )
2025-07-25 19:14:22 -07:00
Meghan Denny
81e08d45d4
node: fix test-worker-uncaught-exception-async.js ( #21150 )
2025-07-25 19:13:48 -07:00
190n
1ab76610cf
[STAB-861] Suppress known-benign core dumps in CI ( #21321 )
...
### What does this PR do?
- for these kinds of aborts which we test in CI, introduce a feature
flag to suppress core dumps and crash reporting only from that abort,
and set the flag when running the test:
- libuv stub functions
- Node-API abort (used in particular when calling illegal functions
during finalizers)
- passing `process.kill` its own PID
- core dumps are suppressed with `setrlimit`, and crash reporting with
the new `suppress_reporting` field. these suppressions are only engaged
right before crashing, so we won't ignore new kinds of crashes that come
up in these tests.
- for the test bindings used to test the crash handler in
`run-crash-handler.test.ts`, disables core dumps but does not disable
crash reporting (because crashes get reported to a server that the test
is running to make sure they are reported)
- fixes a panic when printing source code around an error containing
`\n\r`
- updates the code where we clone vendor tests to checkout the right tag
- adds `vendor/elysia/test/path/plugin.test.ts` to
no-validate-exceptions
- this failure was exposed by starting to test the version of elysia we
have been intending to test. the crash trace suggests it may be fixed by
#21307 .
- makes dumping core or uploading a crash report count as a failing test
- this ensures we don't realize a crash has occurred if it happened in a
subprocess and the main test doesn't adequately check the exit code. to
spawn a subprocess you expect to fail, prefer `expect(code).toBe(1)`
over `expect(code).not.toBe(0)`. if you really expect multiple possible
erroneous exit codes, you might try `expect(signal).toBeNull()` to still
disallow crashes.
### How did you verify your code works?
Running affected tests on a Linux machine with core dumps set up and
checking no new ones appear.
https://buildkite.com/bun/bun/builds/21465 has no core dumps.
2025-07-25 16:22:04 -07:00
Meghan Denny
72a6278b3f
Delete test/js/node/test/parallel/test-http-url.parse-https.request.js
...
flaky on macos ci atm
2025-07-24 19:06:38 -07:00
Meghan Denny
bd232189b4
node: fix test-http-server-keepalive-req-gc.js ( #21333 )
2025-07-24 13:46:50 -07:00
Meghan Denny
87df7527bb
node: fix test-http-url.parse-https.request.js ( #21335 )
2025-07-24 13:44:55 -07:00
190n
a1f756fea9
Fix running bun test on multiple node:test tests ( #19354 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-24 11:48:55 -07:00
Meghan Denny
6d2a0e30f5
test: node: revert the previous tmpdirName commit
2025-07-21 21:34:00 -07:00
Meghan Denny
d2a4fb8124
test: node: much more robust tmpdirName for use with --parallel
2025-07-21 15:56:32 -07:00
Meghan Denny
cc4f840e8b
test: remove accidental uses of test.only ( #20097 )
2025-07-16 23:07:23 -07:00
Michael H
15b7cd8c18
node:fs.glob support array of excludes and globs ( #20883 )
2025-07-16 03:08:54 -07:00
Meghan Denny
875604a42b
safety: a lot more exception checker progress ( #20956 )
2025-07-16 00:11:19 -07:00
Michael H
e8289cc3ab
fix os.networkInterfaces where scope_id should be scopeid ( #21026 )
2025-07-14 02:48:20 -07:00
Jarred Sumner
2e02d9de28
Use ReadableStream.prototype.* in tests instead of new Response(...).* ( #20937 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Alistair Smith <hi@alistair.sh >
Co-authored-by: Claude Bot <claude-bot@bun.sh >
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-14 00:47:53 -07:00
Meghan Denny
dbd577cde6
ci: download exact version of node specifed ( #20936 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-07-12 00:53:52 -07:00
190n
c49547cfa4
Fix #20972 ( #20974 )
2025-07-11 15:23:29 -07:00
Meghan Denny
72b5c0885a
test: fix process.test.js ( #20932 )
2025-07-09 23:02:43 -07:00
Jarred Sumner
454316ffc3
Implement "node:module"'s findSourceMap and SourceMap class ( #20863 )
...
Co-authored-by: Claude <claude@anthropic.ai >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-07-07 23:08:12 -07:00
Kai Tamkun
05e8a6dd4d
Add support for vm.constants.DONT_CONTEXTIFY ( #20088 )
2025-07-07 19:29:53 -07:00
Adam
7ba4b1d01e
Fix: deprecated goo.gl links in snapshots raised in issue #20086 ( #20424 )
2025-07-05 00:58:42 -07:00
Michael H
0612dc7bd9
Support process.features.typescript ( #20801 )
2025-07-03 16:26:32 -07:00
Meghan Denny
01e2cb25e3
test: bump zlib/leak.test.ts for asan
2025-07-02 21:48:24 -07:00
Jarred Sumner
5a7b5ceb33
Fix several missing async context tracking callbacks ( #20759 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-07-02 17:45:00 -07:00
Ben Grant
79284376ca
Delete test-net-bytes-stats.js
...
Mistakenly re-added in #20659 after prior revert in #20693
2025-07-02 17:32:19 -07:00
Alistair Smith
452000a2ce
Node.js test test-fs-watchfile.js ( #20773 )
2025-07-02 15:04:39 -07:00
190n
172aecb02e
[publish images] Upgrade self-reported Node.js version from 22.6.0 to 24.3.0 (v2) ( #20772 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Meghan Denny <meghan@bun.sh >
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
Co-authored-by: pfg <pfg@pfg.pw >
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com >
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-07-02 12:06:08 -07:00
Ben Grant
ea57037567
Revert "Upgrade self-reported Node.js version from 22.6.0 to 24.3.0 ( #20659 ) [publish images]"
...
This reverts commit 80309e4d59 . It breaks the Windows CI.
2025-07-02 09:40:32 -07:00
Jarred Sumner
80309e4d59
Upgrade self-reported Node.js version from 22.6.0 to 24.3.0 ( #20659 ) [publish images]
...
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Meghan Denny <meghan@bun.sh >
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
Co-authored-by: pfg <pfg@pfg.pw >
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com >
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Co-authored-by: Ben Grant <ben@bun.sh >
2025-07-02 00:03:05 -07:00
Jarred Sumner
fbe405fb89
Fail the test when no tests match the filter ( #20749 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-07-01 16:03:19 -07:00
Meghan Denny
ca59ed04bd
node: sync updated tests ( #20625 )
2025-06-30 14:52:50 -07:00
Jarred Sumner
034bcf2b57
Deflake
...
These tests should not have been marked as passing.
test/js/node/test/parallel/test-cluster-worker-kill-signal.js
test/js/node/test/parallel/test-child-process-prototype-tampering.mjs
2025-06-28 23:45:34 -07:00
Jarred Sumner
386743b508
Revert "node: fix test-net-bytes-stats.js" ( #20693 )
2025-06-27 17:38:18 -07:00
Meghan Denny
1789f92991
node: fix test-net-server-capture-rejection.js ( #20646 )
2025-06-27 14:42:52 -07:00
Meghan Denny
c863341bf4
node: fix test-net-connect-custom-lookup-non-string-address.mjs ( #20648 )
2025-06-27 14:42:25 -07:00
Meghan Denny
ea7068a531
node: fix test-net-bytes-stats.js ( #20629 )
2025-06-26 01:48:23 -07:00
Meghan Denny
4cf31f6a57
node: sync test-net-connect-options-invalid.js ( #20607 )
2025-06-24 22:46:56 -07:00
Meghan Denny
3f257a2905
node: fix test-timers-invalid-clear.js ( #20624 )
2025-06-24 22:39:20 -07:00
Jarred Sumner
90e3d6c898
Fix flushHeaders streaming ( #20577 )
...
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2025-06-24 18:48:23 -07:00
Meghan Denny
e8b652a5d9
node: fix test-net-better-error-messages-path.js ( #20609 )
2025-06-24 17:48:06 -07:00
Meghan Denny
354391a263
zig: socket: fix uaf in handleError, onOpen, onWritable ( #20604 )
2025-06-24 17:31:58 -07:00
Ciro Spaciari
17120cefdc
fix(http2) fix remoteSettings not emitting on default settings ( #20622 )
2025-06-24 17:31:19 -07:00
Meghan Denny
7d9dd67586
node: fix test-net-connect-keepalive.js ( #20610 )
2025-06-24 02:56:50 -07:00
Meghan Denny
ccb0ed13c2
node: fix test-net-listen-fd0.js ( #20611 )
2025-06-24 02:56:40 -07:00
Meghan Denny
050a9cecb7
node: sync test-net-connect-no-arg.js ( #20608 )
2025-06-24 01:02:38 -07:00
Jarred Sumner
c7b1e5c709
Fix fs.watchFile ignoring atime ( #20575 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-06-22 18:22:41 -07:00
Michael H
25dbe5cf3f
fs.glob set onlyFiles: false so it can match folders (#20510 )
2025-06-21 23:45:38 -07:00
Jarred Sumner
37505ad955
Deflake test/js/node/fs/abort-signal-leak-read-write-file-fixture.ts on Windows
2025-06-21 23:43:55 -07:00
Michael H
770c1c8327
fix test-child-process-fork-exec-argv.js ( #19639 )
...
Co-authored-by: 190n <ben@bun.sh >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-06-20 11:53:36 -07:00
Michael H
3aedf0692c
make options argument not required for fs.promises.glob ( #20480 )
2025-06-19 12:55:32 -07:00
Jarred Sumner
775c3b1987
Update WebKit ( #20413 )
...
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <Jarred-Sumner@users.noreply.github.com >
2025-06-16 14:01:58 -07:00