Bartek Iwańczuk
11e9e073d9
fix(ext/node): support for inspector.url() ( #31705 )
...
ci / pre-build (push) Has been cancelled
ci / test release macos-aarch64 (push) Has been cancelled
ci / bench release linux-x86_64 (push) Has been cancelled
ci / test debug linux-x86_64 (push) Has been cancelled
ci / test release linux-x86_64 (push) Has been cancelled
ci / test debug macos-x86_64 (push) Has been cancelled
ci / test release macos-x86_64 (push) Has been cancelled
ci / test debug windows-x86_64 (push) Has been cancelled
ci / test release windows-x86_64 (push) Has been cancelled
ci / test debug linux-aarch64 (push) Has been cancelled
ci / test release linux-aarch64 (push) Has been cancelled
ci / test debug macos-aarch64 (push) Has been cancelled
ci / lint debug linux-x86_64 (push) Has been cancelled
ci / lint debug macos-x86_64 (push) Has been cancelled
ci / lint debug windows-x86_64 (push) Has been cancelled
ci / build libs (push) Has been cancelled
ci / publish canary (push) Has been cancelled
Closes https://github.com/denoland/deno/issues/31700
2025-12-22 23:42:06 +00:00
David Sherret
1ce0e55d78
fix(compile): make compile work with --unstable-npm-lazy-caching ( #31704 )
...
Closes https://github.com/denoland/deno/issues/31703
2025-12-22 14:28:45 -05:00
David Sherret
0a162aaecc
ci: upload test results as artifacts ( #31686 )
...
This will allow us to track slow and flaky tests.
2025-12-22 12:49:29 -05:00
David Sherret
6aaed850b8
fix(check): improve node types handling ( #31677 )
...
1. Always injects node types when someone has a `node:` import (like
before, so this isn't dependent on the lib setting... which fixes the
linked issue)
2. Handles someone doing `/// <reference lib="node" />`. Previously this
was slightly broken.
*
c5cb3b27ac
* https://github.com/denoland/typescript-go/pull/18
Closes https://github.com/denoland/deno/issues/31649
2025-12-20 11:17:45 +01:00
David Sherret
d3668555dc
Revert "fix(ext/node): stub out Module.register and Module.registerHooks" ( #31684 )
...
Reverts denoland/deno#31666
2025-12-20 10:53:17 +01:00
Bartek Iwańczuk
bd7b0a8f3a
fix(ext/node): stub out Module.register and Module.registerHooks ( #31666 )
...
Stubs out `Module.register` and `Module.registerHooks` functions that
are meant to be used for Module Loader hooks as per
https://nodejs.org/api/module.html#customization-hooks .
This is a follow up to https://github.com/denoland/deno/pull/24965
Ref https://github.com/denoland/deno/issues/31665 .
Improves error message from
https://github.com/denoland/deno/issues/30538#issuecomment-3658925471 .
2025-12-19 13:28:29 +01:00
Divy
d9a8d18a0b
fix(audit): fix deserde for transitive npm audit actions ( #31671 )
...
Fixes https://github.com/denoland/deno/issues/31613
2025-12-19 08:22:26 +00:00
Felipe Cardozo
dd47e25a30
feat: support named pipe listen, connect and open ( #31624 )
...
Co-authored-by: Cyan Changes <contact@cyans.me>
Add support to Pipe.prototype.listen, Pipe.prototype.connect for windows
with named pipes.
Also support to Pipe.prototype.open for unix.
Alternative of https://github.com/denoland/deno/pull/29308 , but without
`Deno:pipe`.
Only with node compatibilities.
Solution for:
https://github.com/denoland/deno/issues/25867
https://github.com/denoland/deno/issues/28332
https://github.com/denoland/deno/issues/31032
Maybe related:
https://github.com/denoland/deno/issues/10244
I tested the Nuxt and Nx, they are working fine on Windows now.
I also tested node-pty, and it's working on Unix.
Co-authored-by: Cyan Changes <contact@cyans.me>
2025-12-19 09:18:48 +01:00
David Sherret
e76aa96376
fix(check): handle workspace members having different jsx import sources and importing each other ( #31654 )
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
2025-12-18 21:54:21 -05:00
lif
1d77081cc3
fix(fetch): fix SOCKS5 proxy URL validation logic ( #31604 )
...
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Closes #31356
2025-12-18 15:53:11 +01:00
Mert Can Altin
719132d265
fix(ext/node): add error handling functions and tests for UV bindings ( #31639 )
2025-12-18 13:14:47 +01:00
Nathan Whitaker
8a00009a83
fix(x): fix shim script when use custom alias name, re-enable alias tests ( #31653 )
2025-12-18 10:06:35 +01:00
David Sherret
baf02f935a
chore: remove error-prone wildcard_match function ( #31650 )
...
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
This function was error-prone. In one place it was causing output where
it shouldn't and in another place it wasn't asserting the test.
2025-12-17 16:49:36 +00:00
David Sherret
15f9fe2f92
chore: add pty reporter for tests ( #31644 )
...
Adds a PTY reporter for local development that gives a summary of the
longest running pending tests and also recent failures.
This can be disabled by setting `DENO_TEST_UTIL_REPORTER=log`
2025-12-17 11:21:26 -05:00
Bartek Iwańczuk
3df3f275df
fix(ext/node): fix hot loop in setImmediate with a pending timer ( #31643 )
...
Contains fix from https://github.com/denoland/deno_core/pull/1263 .
This effectively reopens https://github.com/denoland/deno/issues/28016
for the time being as we're regressing one of the Node.js compat tests
and the interaction between `setTimeout` and `setImmediate` is a bit
broken, but it unblocks `puppeteer` usage for the time being.
Fixes https://github.com/denoland/deno/issues/31642
Fixes https://github.com/denoland/deno/issues/31595
Fixes https://github.com/denoland/deno/issues/30960
2025-12-17 17:13:54 +01:00
Bartek Iwańczuk
8aead9bf10
chore: upgrade Rust to 1.92 ( #31592 )
2025-12-17 17:06:52 +01:00
Leo Kettmeir
26fdc29fe0
fix: update glob implementation to match with latest node ( #31627 )
...
Fixes #31625
2025-12-17 17:05:08 +01:00
Bartek Iwańczuk
3dac3dfc6d
chore: update Node.js test suite to 24.12.0 ( #31628 )
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
2025-12-16 13:59:36 -08:00
David Sherret
70384a652d
ci: run flaky tests in isolation on failure then restore parallelism ( #31626 )
...
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
If a test is flaky on the CI, it will now force the flaky test to run
all by itself. Once it passes or fails in isolation, it will then
restore having tests run in parallel.
2025-12-16 16:39:22 -05:00
Felipe Cardozo
32d5a305ec
feat: worker debugging support via CDP ( #31527 )
2025-12-16 14:47:28 -03:00
Luca Casonato
4c08a08a4e
fix(ext/telemetry): otel baggage propagation ( #31620 )
...
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
There were three bugs in baggage propagation:
- `BaggageImpl` was not reading items from the map passsed in, instead
always creating an empty baggage
- `Deno.serve` was reading out baggage and storing it in a context, but
then not starting the callback in that context, but in the parent
context, meaning the user did not have access to the baggage.
- The baggage was stored on the context with the wrong key.
The gist of it is that `propagation.getActiveBaggage()` works now.
Secondly, this adds a composite propagator into the global OTEL context,
so that `propagation.extract()` and `propagation.inject()` start
working.
Fixes #28085 and fixes #30064 , towards #28082
2025-12-16 12:12:29 +00:00
Daniel Osvaldo Rahmanto
2ec057b3e0
fix(ext/node): sqlite:backup compatibility ( #31610 )
...
Notable changes:
- Respect progress callback function option.
- Set default backup rate to 100 to follow Node's implementation.
- Various validation and error handling.
Note that the op implementation in this PR is still sync.
Given this code:
```js
import { backup, DatabaseSync } from "node:sqlite";
const populate = (database, rows) => {
database.exec("CREATE TABLE test (id INTEGER PRIMARY KEY, name TEXT);");
let values = "";
for (let i = 0; i < rows; i++) {
values += `(${i}, 'Name ${i}'),`;
}
values = values.slice(0, -1);
database.exec(`INSERT INTO test (id, name) VALUES ${values}`);
};
const backupPath = "backup.sqlite";
const database = new DatabaseSync(":memory:");
populate(database, 1000);
const t0 = performance.now();
await backup(database, backupPath, { rate: 1 });
const t1 = performance.now();
database.close();
console.log(`Backup completed in ${(t1 - t0).toFixed(2)} ms`);
```
Results:
```bash
# Node.js v25.2.1
➜ node ./backup-benchmark.js
Backup completed in 0.71 ms
# This PR (debug build mode)
➜ ddeno -A ./backup-benchmark.js
Backup completed in 0.71 ms
# Deno v2.6.0
➜ deno -A ./backup-benchmark.js
Backup completed in 1272.16 ms
```
The current implementation is slow because it sleeps 250ms after each
`sqlite3_backup_step` call.
2025-12-16 15:26:12 +07:00
David Sherret
5396fed4f9
fix(check): regression with tsgo and node globals ( #31621 )
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
2025-12-15 18:30:00 -05:00
Felipe Cardozo
efea61e1bc
tests: update sourcemap tests for npm-only source existence check ( #31601 )
...
Update the sourcemap_nonexistent_source test expectation to reflect that
source file existence is only checked for npm packages (for
performance).
Add sourcemap_npm_nonexistent_source test to cover the npm package case
where source maps reference non-existent files and should fall back to
showing the bundle file path in stack traces.
2025-12-15 19:21:01 -03:00
Nathan Whitaker
783829a882
fix(x): cache on demand when running, resolve packages with only one binary, don't fail on node-gyp if not present ( #31619 )
...
Fixes #31591 .
Fixes #31583 .
2025-12-15 14:19:17 -08:00
denobot
abf630fb20
2.6.1 ( #31615 )
...
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Bumped versions for 2.6.1
---------
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-12-15 13:45:57 +01:00
Divy
a97997b8e5
fix(compile): sentinal conflict with strtab on intel mac ( #31587 )
2025-12-15 15:06:35 +05:30
David Sherret
d17ae8ca9b
chore: fix spec tests not checking test result ( #31594 )
...
ci / pre-build (push) Has been cancelled
ci / test debug linux-aarch64 (push) Has been cancelled
ci / test release linux-aarch64 (push) Has been cancelled
ci / test debug macos-aarch64 (push) Has been cancelled
ci / test release macos-aarch64 (push) Has been cancelled
ci / bench release linux-x86_64 (push) Has been cancelled
ci / test debug linux-x86_64 (push) Has been cancelled
ci / test release linux-x86_64 (push) Has been cancelled
ci / test debug macos-x86_64 (push) Has been cancelled
ci / test release macos-x86_64 (push) Has been cancelled
ci / test debug windows-x86_64 (push) Has been cancelled
ci / test release windows-x86_64 (push) Has been cancelled
ci / lint debug linux-x86_64 (push) Has been cancelled
ci / lint debug macos-x86_64 (push) Has been cancelled
ci / lint debug windows-x86_64 (push) Has been cancelled
ci / build libs (push) Has been cancelled
ci / publish canary (push) Has been cancelled
There's also a bug fix for source maps. See:
5795522967
2025-12-13 23:27:46 +00:00
David Sherret
ee7c483df4
ci: more stability for integration tests ( #31578 )
...
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
1. Marks all integration tests as flaky on the CI and outputs when
they're flaky so we can track it.
2. Uses a custom test runner for integration tests, giving us full
control over how they're run.
3. Runs watcher tests sequentially for more stability.
2025-12-12 16:19:07 -05:00
Felipe Cardozo
952963cb42
fix: source map file names to non-existent paths ( #31564 )
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
2025-12-12 15:13:44 -03:00
Nathan Whitaker
4178a57a68
revert: Revert "test: disable more tests on Mac Intel ( #31541 )" ( #31580 )
...
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
This reverts commit dd80d7575f .
<!--
Before submitting a PR, please read
https://docs.deno.com/runtime/manual/references/contributing
1. Give the PR a descriptive title.
Examples of good title:
- fix(std/http): Fix race condition in server
- docs(console): Update docstrings
- feat(doc): Handle nested reexports
Examples of bad title:
- fix #7123
- update docs
- fix bugs
2. Ensure there is a related issue and it is referenced in the PR text.
3. Ensure there are tests that cover the changes.
4. Ensure `cargo test` passes.
5. Ensure `./tools/format.js` passes without changing files.
6. Ensure `./tools/lint.js` passes.
7. Open as a draft PR if your work is still in progress. The CI won't
run
all steps, but you can add '[ci]' to a commit message to force it to.
8. If you would like to run the benchmarks on the CI, add the 'ci-bench'
label.
-->
2025-12-12 02:05:07 +00:00
Nathan Whitaker
e8a725f5e9
ci: deflake some watch_env_file tests ( #31577 )
...
Debugged and fixed by claude, mostly
2025-12-11 23:25:58 +00:00
Nathan Whitaker
5a51219a66
fix(compile): intel mac compile fix ( #31575 )
2025-12-11 15:05:09 -08:00
Christian Svensson
9d9f355e28
fix(x): correct alias deno command location for Windows ( #31573 )
...
I'm not familiar with Rust or Windows CMD syntax. But I tried both the
current option and just plain `deno.exe` locally by changing `dx.cmd`,
which solved the issue for me.
Closes #31572
Signed-off-by: Christian Svensson <csvn.dev@gmail.com>
2025-12-11 20:57:40 +00:00
David Sherret
67ad37af78
ci: attempt to improve test stability ( #31563 )
...
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
1. Moves `unit` and `unit_node` tests to use file_test_runner.
1. Marks all spec, unit, and node_unit tests as flaky on the CI and
outputs when they're flaky so we can track it.
1. Reduces CI concurrency to 1 on 3 flaky test failures (for now...
would be more ideal to lower it slowly maybe, which is easily possible
with this pr)
1. Adds a 100ms delay between flaky test failures.
2025-12-11 11:42:47 -05:00
Daniel Osvaldo Rahmanto
80e36fc36a
fix(ext/node): DatabaseSync compatibility ( #31515 )
...
Closes #29439
Notable changes:
- `DatabaseSync`:
- accept Buffer and URL paths.
- implement `.location()` method.
- add `isTransaction` and `isOpen` getters.
- respect timeout option.
- `backup`: accept Buffer and URL paths.
Allows
https://github.com/nodejs/node/blob/v24.2.0/test/parallel/test-sqlite-database-sync.js
test to pass.
2025-12-11 20:04:20 +07:00
Nayeem Rahman
ad54330f39
fix(add): include type-only imports when building graph ( #31552 )
...
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Fixes #31550
2025-12-11 09:29:47 +00:00
Nathan Whitaker
56e196b517
fix(x): fix executing native binary on windows + some cleanup ( #31551 )
...
Addressing some todos from the original PR. For instance, this allows
things like `dx supabase` (which is a native bin) to work on windows
2025-12-11 09:33:20 +01:00
Bartek Iwańczuk
ed55de83b7
test: deflake stat_test.ts ( #31555 )
...
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Closes https://github.com/denoland/deno/issues/31554
2025-12-10 17:05:50 +00:00
Bartek Iwańczuk
6b81dc58d3
fix(ext/node): fix sqlite extension used for testing; ensure related tests are actually meaningful ( #31547 )
...
Reland of https://github.com/denoland/deno/pull/31455 which was reverted
in https://github.com/denoland/deno/pull/31539 .
2025-12-10 14:06:05 +01:00
Bartek Iwańczuk
556eb71469
Revert "chore: Rust 1.91.1 ( #31165 )" ( #31548 )
...
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
This reverts commit e5f9b441ef .
Trying to revert this because we started getting a lot of seemingly
random failures after this upgrade.
2025-12-10 00:36:30 +00:00
Nathan Whitaker
861f62a4ec
feat: add deno x (alias dx) for conveniently running binaries from packages ( #31138 )
...
an equivalent to npx, for conveniently running binaries from packages
available as `deno x`, and you can install an alias via `deno x
--install-alias` (defaults to dx but can be specified)
Used like `deno x rolldown`, or `dx rolldown` with the alias
- defaults to allow-all, unless another permission flag is passed
- prompts when you first run a package
- runs lifecycle scripts if you accept the prompt
- defaults to npm: unless otherwise specified
- errors if you try to use it to run a file
---------
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-12-09 15:06:36 -08:00
Bartek Iwańczuk
dd80d7575f
test: disable more tests on Mac Intel ( #31541 )
...
These tests are now flaky on CI
2025-12-09 19:41:15 +00:00
Bartek Iwańczuk
6d55117b82
Revert "fix(ext/node): fix sqlite extension used for testing; ensure … ( #31539 )
...
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
…related tests are actually meaningful (#31455 )"
This reverts commit 40cf41275b .
Started getting random kills on linux arm after this PR landed.
Reverting to see if it will help.
2025-12-09 15:35:50 +00:00
Nayeem Rahman
5f2a56ff5f
feat: wasm source phase imports ( #31486 )
2025-12-09 14:36:32 +00:00
Nathan Whitaker
55a2c7d28b
fix(install): report installed npm packages when not using node_modules, fix double counting ( #31536 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-12-09 12:20:03 +00:00
Bartek Iwańczuk
05dac153b6
test: ignore flaky wpt test ( #31535 )
2025-12-09 13:19:31 +01:00
David Sherret
a49fdb52cd
feat: include @types/node type declarations out of the box ( #31502 )
...
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
This adds a new "node" lib that's included by default and can be
excluded by providing a custom `"lib": [...]` typescript compiler option
without the `"node"` value.
If it detects a `@types/node` package in the files being type checked it
will skip injecting the `lib.node.d.ts` file.
* Uses `npm:@types/node@24.2.0`
* See tools/update_types_node.ts for the build script.
* https://github.com/denoland/deno_npm/pull/127 (will integrate this one
later)
* https://github.com/denoland/typescript-go/pull/16
* https://github.com/denoland/TypeScript/pull/19 (last two commits)
Closes https://github.com/denoland/deno/issues/30963
2025-12-09 11:58:00 +01:00
Divy
0bc213b15b
fix(ext/node): prevent cipher operations after finalize ( #31533 )
...
Throw a state error for operations if the cipher is already finalized.
2025-12-09 16:03:37 +05:30
Bartek Iwańczuk
63fe08925d
ci: increase node compat test timeout on Mac Intel ( #31538 )
...
It appears that Mac Intel runners are slower than before and multiple
tests fail to complete in 10s. This PR increases timeout on Mac Intel to 20s.
2025-12-09 09:23:37 +00:00