summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2023-05-17fix(ext/node): fix whatwg url formatting (#19146)Yoshiya Hinosawa
2023-05-17refactor(node): reimplement http client (#19122)Leo Kettmeir
This commit reimplements most of "node:http" client APIs using "ext/fetch". There is some duplicated code and two removed Node compat tests that will be fixed in follow up PRs. --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-05-16feat(node/crypto): Builtin Diffie-Hellman Groups (#19137)Levente Kurusa
Towards #18455
2023-05-15feat(node/crypto): Diffie Hellman Support (#18943)Levente Kurusa
Support crypto.DiffieHellman class in ext/node/crypto
2023-05-15chore: check node_compat config diff in CI (#19119)Yoshiya Hinosawa
2023-05-14refactor(core): bake single-thread assumptions into spawn/spawn_blocking ↵Matt Mastracci
(#19056) Partially supersedes #19016. This migrates `spawn` and `spawn_blocking` to `deno_core`, and removes the requirement for `spawn` tasks to be `Send` given our single-threaded executor. While we don't need to technically do anything w/`spawn_blocking`, this allows us to have a single `JoinHandle` type that works for both cases, and allows us to more easily experiment with alternative `spawn_blocking` implementations that do not require tokio (ie: rayon). Async ops (+~35%): Before: ``` time 1310 ms rate 763358 time 1267 ms rate 789265 time 1259 ms rate 794281 time 1266 ms rate 789889 ``` After: ``` time 956 ms rate 1046025 time 954 ms rate 1048218 time 924 ms rate 1082251 time 920 ms rate 1086956 ``` HTTP serve (+~4.4%): Before: ``` Running 10s test @ http://localhost:4500 2 threads and 10 connections Thread Stats Avg Stdev Max +/- Stdev Latency 68.78us 19.77us 1.43ms 86.84% Req/Sec 68.78k 5.00k 73.84k 91.58% 1381833 requests in 10.10s, 167.36MB read Requests/sec: 136823.29 Transfer/sec: 16.57MB ``` After: ``` Running 10s test @ http://localhost:4500 2 threads and 10 connections Thread Stats Avg Stdev Max +/- Stdev Latency 63.12us 17.43us 1.11ms 85.13% Req/Sec 71.82k 3.71k 77.02k 79.21% 1443195 requests in 10.10s, 174.79MB read Requests/sec: 142921.99 Transfer/sec: 17.31MB ``` Suggested-By: alice@ryhl.io Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-05-13chore: upgrade rusty_v8 to 0.71.2 (#19116)Bartek Iwańczuk
Closes https://github.com/denoland/deno/issues/19021
2023-05-13chore(ext/node): removed skipped compat test cases (#19109)Yoshiya Hinosawa
2023-05-13chore: fix & update node compat config (#19106)Yoshiya Hinosawa
2023-05-10chore(core): Parallelize all WPT tests and reduce timeouts for expected ↵Matt Mastracci
failures (#19061) This speeds up WPT tests in two ways: 1. The `WebCryptoAPI` tests are slow, so create a parallel bucket for each individual test instead of one for all the `WebCryptoAPI` tests. 2. If a test is expected to fail, use a shorter timeout (1 minute rather than 4).
2023-05-03chore: update release doc template (#18974)Bartek Iwańczuk
2023-04-28chore: forward v1.33.1 release commit to main (#18897)denobot
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-04-27chore: upgrade rusty_v8 to 0.71.0 (#18868)Bartek Iwańczuk
2023-04-26ci: switch release doc to mention dotcom (#18845)Leo Kettmeir
2023-04-25fix(ext/node): fix hash.flush (#18818)Yoshiya Hinosawa
2023-04-19chore(tools/release): make things a bit more obvious (#18753)Levente Kurusa
2023-04-19fix(ext/node): improve vm.runInThisContext (#18767)Yoshiya Hinosawa
2023-04-18fix(ext/node): add req.socket.remoteAddress (#18733)Yoshiya Hinosawa
2023-04-18chore: update node compat config (#18736)Yoshiya Hinosawa
2023-04-13chore: add test duration to WPT (#18680)Bartek Iwańczuk
To make it easier to debug which tests are slowing us down. Tests taking more than 5s have duration printed in red, taking more than 1s in yellow and less than 1s are printed without color.
2023-04-04feat(ext/url): `URL.canParse` (#18286)Kenta Moriuchi
2023-04-02ci: improve release docs (#18562)David Sherret
2023-04-02chore: Turn back on dlintPreferPrimordials (#17715)Kenta Moriuchi
Closes #17709
2023-04-01chore(release): improve merge commit back to main for patch releases (#18554)David Sherret
This change commits with conflicts that can then be resolved manually.
2023-03-30Revert "refactor(ext/node): Use Deno.inspect (#17960)" (#18491)Bartek Iwańczuk
This reverts commit a3529d02329e0d2127ad2a5bb78b4c476ddd6984. This change made debugging Node tests very hard - `AssertionError` is now printed as `[Circular *1]` giving no visibility what failed. We need to align two implementations together and remove this one then.
2023-03-26chore: document Node.js compat test setup script (#18381)Yoshiya Hinosawa
2023-03-25chore: update wpt again (#18384)Kenta Moriuchi
This reverts commit 4c2269d64a7dda1397d49bd235e5546470a683ea. > This update introduced more flakiness to the tests on CI, we are going > to investigate and reland this update after Deno 1.32.0 is released.
2023-03-23refactor(ext/node): Use Deno.inspect (#17960)Ryan Dahl
No need for two almost identical implementations of the same thing --------- Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com> Co-authored-by: Aapo Alasuutari <aapo.alasuutari@gmail.com>
2023-03-22Revert "chore: update wpt (#18335)" (#18355)Bartek Iwańczuk
This reverts commit 29fb7709ed41b644825f7f9e362314bb37b588e7. This update introduced more flakiness to the tests on CI, we are going to investigate and reland this update after Deno 1.32.0 is released.
2023-03-22chore: update wpt (#18335)Kenta Moriuchi
2023-03-22feat(cli): --ext parameter for run, compile, and bundle (#17172)Cre3per
Adds `--ext` to `deno run`, closes #5088 Additionally - Adds `--ext` to `deno compile` and `deno bundle`
2023-03-21chore(tools): Copyright checker had a bad interpolation (#18328)Matt Mastracci
The copyright checker was erroring out with a bad interpolation if errors existed.
2023-03-21docs(release): update to include deno_docker release workflow (#18323)David Sherret
2023-03-21chore(tools): restore node compat test setup script (#18290)Yoshiya Hinosawa
2023-03-18chore(ci): allow 'Reland' PR title prefix (#18273)Bartek Iwańczuk
2023-03-17BREAKING(unstable): remove WebGPU (#18094)Leo Kettmeir
This PR _**temporarily**_ removes WebGPU (which has behind the `--unstable` flag in Deno), due to performance complications due to its presence. It will be brought back in the future; as a point of reference, Chrome will ship WebGPU to stable on 26/04/2023. --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-03-16chore(ci): allow 'BREAKING' PR title prefix (#18238)Bartek Iwańczuk
So that we can land PRs like https://github.com/denoland/deno/pull/18237 or https://github.com/denoland/deno/pull/18094
2023-03-16chore: upgrade deno_automation to 0.19.0 (#18213)David Sherret
I updated the lockfile with: ``` deno cache --lock=tools/deno.lock.json --lock-write ./tools/wpt.ts ./tools/upload_wptfyi.js ./tools/release/deps.ts ```
2023-03-15test: ignore global-immutable-prototype.any.worker.html (#18208)Bartek Iwańczuk
This test is very flaky on CI, ignoring it for now. https://github.com/denoland/deno/issues/17405
2023-03-15chore: parallelize lint steps (#18214)David Sherret
2023-03-15fix(wpt): set META_TITLE on global for the testharness (#18193)Filip Skokan
Fixes hopefully the last mismatch of reported test titles. - [redirect-schemes.any.html](https://wpt.fyi/results/fetch/api/redirect/redirect-schemes.any.html?run_id=5139017526411264&run_id=5093839906275328) - [redirect-schemes.any.worker.html](https://wpt.fyi/results/fetch/api/redirect/redirect-schemes.any.worker.html?run_id=5139017526411264&run_id=5093839906275328) - https://github.com/web-platform-tests/wpt/blob/ebf6814ebdf36a551563a34a4396f4f2b3b1f617/resources/testharness.js#L4754-L4756
2023-03-14feat(ext/url): URLSearchParams.size (#17884)Lino Le Van
2023-03-13chore(ci): verify the PR title as part of linting (#18163)David Sherret
This verifies the PR title as part of the lint step.
2023-03-13wpt: only tag daily runs as master (#18155)Filip Skokan
This PR updates the WPT upload script so that it only labels runs that come from the daily WPT job as "master". This is so that only the daily synchronized runs get selected when viewing dashboards such as [this](https://wpt.fyi/results/?label=master&label=experimental&product=deno&product=node.js&product=chrome&product=edge&product=firefox&product=safari&aligned&view=subtest&q=deno%3A%21missing).
2023-03-10build: run clippy with --all-features (#18115)Bartek Iwańczuk
2023-03-08refactor: rename InternalModuleLoader to ExtModuleLoader, use ext: scheme ↵Bartek Iwańczuk
for snapshotted modules (#18041) This commit renames "deno_core::InternalModuleLoader" to "ExtModuleLoader" and changes the specifiers used by the modules loaded from this loader to "ext:". "internal:" scheme was really ambiguous and it's more characters than "ext:", which should result in slightly smaller snapshot size. Closes https://github.com/denoland/deno/issues/18020
2023-03-05fix(ext/crypto): correctly limit ECDSA and hash algorithms (#18030)Filip Skokan
Closes #18029
2023-03-03wpt: unlock nightly with --no-ignore (#17998)Filip Skokan
When I was testing the code in #17892 I had updated expectations and didn't catch this. This PR fixes the the expectation file format to not be checked when --no-ignore is passed during [nightly](https://github.com/denoland/deno/actions/runs/4319520368/jobs/7538796572#step:9:46) runs.
2023-03-02test(wpt): implement process timeout, fix expectations update, and more... ↵Filip Skokan
(#17892) - relands #17872 - updates the timeouts to be re-configurable just for CI - fixes `./tools/wpt.ts update` - adds option not "ignore" during, applied to wpt epoch runs only
2023-02-23Revert "test(wpt): implement process timeout (#17872)" (#17886)Bartek Iwańczuk
This reverts commit 5fcbdd62285140353edbb28e67f7d72e3317e96e.