Bartek Iwańczuk
6cd62ea5e9
chore: upgrade rusty_v8 to 0.71.0 ( #18868 )
2023-04-27 20:50:46 +02:00
Bartek Iwańczuk
17d1c7e444
Revert "chore(ext/websocket): Add autobahn|testsuite fuzzingclient (#… ( #18856 )
...
…18846)"
This reverts commit 036778c2e8
.
Keeps failing on `main` branch.
2023-04-26 15:48:23 +00:00
Divy Srivastava
036778c2e8
chore(ext/websocket): Add autobahn|testsuite fuzzingclient ( #18846 )
...
Closes #17242
2023-04-26 17:55:48 +05:30
Bartek Iwańczuk
106e4c475f
chore: upgrade rusty_v8 to 0.70.0 ( #18844 )
...
Closes https://github.com/denoland/deno/issues/18369
2023-04-26 10:02:03 +02:00
Tristan F
652694f15d
docs(security): clarify storage explosion attacks in policy ( #18697 )
...
Deno does not cover storage explosion attacks from evaluated runtime
code.
I've chosen the following parts for this clarification:
- _Evaluated_ code - storage explosion attacks caused by services in
Deno such as the HTTP server should still be covered.
- Isolated - If the storage explosion attack can happen at arbitrary
different files, it may leave a much more lasting impact on a targeted
host system than on simply the Deno cache.
2023-04-24 13:03:53 +02:00
Bartek Iwańczuk
779d379c68
chore: upgrade rusty_v8 to 0.69.0 ( #18796 )
2023-04-22 00:36:52 +00:00
Divy Srivastava
9496dfc685
fix(ext/node): implement asymmetric keygen ( #18651 )
...
Towards #18455
This commit implements the keypair generation for asymmetric keys for
the `generateKeyPair` API.
See how key material is managed in this implementation:
https://www.notion.so/denolandinc/node-crypto-design-99fc33f568d24e47a5e4b36002c5325d?pvs=4
Private and public key encoding depend on `KeyObject#export` which is
not implemented. I've also skipped ED448 and X448 since we need a crate
for that in WebCrypto too.
2023-04-19 22:27:34 +05:30
denobot
4e5d370b56
chore: forward v1.32.5 release commit to main ( #18758 )
...
Co-authored-by: levex <levex@users.noreply.github.com>
Co-authored-by: Levente Kurusa <lkurusa@kernelstuff.org>
2023-04-18 22:20:49 +02:00
David Sherret
2eb0f9fb5c
ci: don't run wpt tests on debug ( #18688 )
2023-04-13 14:40:06 +00:00
David Sherret
e39bc959c1
ci: use non-XL runners more ( #18675 )
...
![image](https://user-images.githubusercontent.com/1609021/231593822-b9d7c9db-4416-4735-bd89-f28a260607f1.png )
Non-xl runners are faster than the linux xl job, so let's use them for
now
Closes #17103
2023-04-13 11:44:39 +02:00
David Sherret
b82168a1f6
ci: do not run build job on draft prs ( #18634 )
...
We had a PR land that didn't actually pass the steps because it passed
on a draft pr. This prevents running the "build" job on draft prs.
2023-04-08 09:27:21 -04:00
Divy Srivastava
bafffa95a0
ci: update to Ubuntu 22.04 runners for all workflows ( #18526 )
2023-04-01 08:35:31 +05:30
David Sherret
d00f8b4e84
ci: fix main ( #18420 )
2023-03-24 13:47:50 -04:00
David Sherret
de4667febe
chore: fix located_script_name test ( #18418 )
...
Closes #18417
2023-03-24 16:00:47 +00:00
David Sherret
049982c332
ci: bump deno version used in release scripts ( #18353 )
2023-03-22 18:19:18 +00:00
David Sherret
f603ebba77
chore(ci): save a cargo cache specifically for linting ( #18219 )
2023-03-16 13:42:31 -04:00
David Sherret
82ee73d795
chore(ci): cache test debug ubuntu-22.04-xl build ( #18216 )
2023-03-15 21:47:15 -04:00
David Sherret
1c285ac214
chore(ci): fix ci to restore the cache ( #18215 )
2023-03-15 22:03:07 +00:00
David Sherret
6f9c0a9b7a
chore(ci): escape quotes in "Lint PR title" step ( #18200 )
2023-03-14 23:55:04 -04:00
Divy Srivastava
485e12062c
ci: update to Ubuntu-22.04-XL runners ( #18181 )
...
Updates CI to use ubuntu-22.04-xl runners. A change to sysroot setup
was necessary that links `libdl.so.2` and `libdl.a` that are no longer
present on ubuntu-22.04.
---------
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-03-14 22:12:33 +05:30
David Sherret
b9d2ac32d5
chore(ci): verify the PR title as part of linting ( #18163 )
...
This verifies the PR title as part of the lint step.
2023-03-13 18:59:13 +00:00
Ryan Dahl
4c2aeb2502
Update code-of-conduct email ( #18162 )
2023-03-13 17:14:06 +00:00
Filip Skokan
92c388761a
wpt: only tag daily runs as master ( #18155 )
...
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-13 13:24:16 +01:00
David Sherret
a7a804919d
chore(ci): update other workflows to use cargo-toolchain.toml ( #18109 )
...
I accidentally missed these in #18104
2023-03-10 11:55:51 +01:00
David Sherret
0da193882e
chore(ci): ensure Rust toolchain installation is based on rust-toolchain.toml ( #18104 )
...
It seems like `dtolnay/rust-toolchain` does not want to support
rust-toolchain.toml unfortunately and we had thought it did.
2023-03-09 17:01:41 -05:00
Filip Skokan
64503fabd8
test(wpt): implement process timeout, fix expectations update, and more... ( #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-03-02 23:05:17 +01:00
David Sherret
f5840bdcd3
chore: upgrade to Rust 1.67 ( #17548 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-01-27 10:43:16 -05:00
Spencer Comfort
87c2493855
chore(ci): update python to 3.11 ( #17530 )
2023-01-26 16:52:32 +05:30
David Sherret
e09d298a4a
chore(ci): use windows-2022 runner on skipped release job on PRs ( #17398 )
2023-01-13 19:06:30 +00:00
David Sherret
377f593273
chore: forward 1.29.3 release back to main ( #17401 )
2023-01-13 13:36:51 -05:00
David Sherret
5707a958ac
chore(ci): try to make sysroot step more reliable ( #17383 )
...
Main is failing a lot because of:
```
Err:8 http://azure.archive.ubuntu.com/ubuntu focal-updates/main amd64 debootstrap all 1.0.118ubuntu1.8
Connection failed [IP: 40.81.13.82 80]
Fetched 44.1 MB in 60s (734 kB/s)
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/d/debootstrap/debootstrap_1.0.118ubuntu1.8_all.deb Connection failed [IP: 40.81.13.82 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
```
2023-01-12 21:35:25 -05:00
David Sherret
5a84ecf0cd
chore(ci): only run doc tests on linux ( #17379 )
...
Doc tests were observed to take over 100s on the Mac CI in one instance.
2023-01-12 19:56:19 -05:00
David Sherret
0ae83847f4
chore(ci): skip running the benchmarks on a PR except when a label is added ( #17377 )
2023-01-12 15:45:41 -05:00
David Sherret
ff871e6264
chore(ci): fix canary publish on main ( #17374 )
...
Ref #17358
2023-01-12 17:53:47 +00:00
David Sherret
3713a10b64
chore(ci): use mtime cache for fastci ( #17373 )
2023-01-12 12:07:37 -05:00
David Sherret
120bc5450f
chore(ci): do not clone submodule ./test_util/wpt unnecessarily ( #17372 )
2023-01-12 11:22:38 -05:00
David Sherret
dabcdf2324
chore(ci): only install node for the benchmarks ( #17371 )
2023-01-12 10:49:46 -05:00
Bartek Iwańczuk
1776dca6c7
ci: update Windows runner, update Google Cloud integration, update Node ( #17358 )
...
This commit rolls up following PRs into a single one:
- https://github.com/denoland/deno/pull/16672
- https://github.com/denoland/deno/pull/16674
- https://github.com/denoland/deno/pull/16972
Generation script was updated to take into account these changes.
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Geert-Jan Zwiers <geertjanzwiers@protonmail.com>
Co-authored-by: David Sherret <dsherret@gmail.com>
2023-01-12 16:19:35 +01:00
David Sherret
9d54765f3e
chore(ci): skip non-ubuntu test release jobs on PRs ( #17353 )
2023-01-11 19:49:18 -05:00
Asher Gomez
cc4bc2c01c
fix(ci): use Node 18 ( #17355 )
2023-01-11 18:30:38 -05:00
David Sherret
b0eaa0ba70
chore(ci): save cache on main at end of workflow ( #17354 )
...
Seems like our caching was totally broken. We need to save the cache
after building and not before.
```
Warning: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.
Warning: Cache save failed.
```
2023-01-11 22:21:02 +01:00
David Sherret
6ee5563f68
chore(ci): do not run CI on draft PRs unless explicitly run via commit message ( #17350 )
...
This will help us reduce CI time during development. The CI can be
explicitly run on draft PRs by adding `[ci]` to the commit message.
2023-01-11 18:44:11 +00:00
David Sherret
e26fc195ef
chore(ci): checkout less submodules based on job ( #17343 )
...
Co-authored-by: Luca Casonato <lucacasonato@users.noreply.github.com>
2023-01-11 08:23:08 -05:00
David Sherret
e246f06cfb
chore(ci): ci refactor - Part 1 - Generate ci yaml by js ( #17335 )
2023-01-10 19:16:11 -05:00
Asher Gomez
e010eb69c2
chore(CI): update to actions/cache@v3
( #17201 )
2023-01-04 15:05:38 +09:00
David Sherret
10e4b2e140
chore: update copyright year to 2023 ( #17247 )
...
Yearly tradition of creating extra noise in git.
2023-01-02 21:00:42 +00:00
Bartek Iwańczuk
7526bbc584
ci: update release action ( #17034 )
2022-12-13 15:59:21 +01:00
David Sherret
5e1113ec77
chore: move/remove some repo top level files ( #16951 )
2022-12-05 17:30:58 -05:00
Bartek Iwańczuk
14904f6a2c
ci: increase timeout to 120 minutes ( #16764 )
2022-11-22 21:03:36 +01:00
Bartek Iwańczuk
fedeea6dde
chore: remove stale bot ( #16718 )
2022-11-20 18:54:35 +01:00
Aaron O'Mullan
238590aa9f
chore: use Rust 1.65.0 ( #16688 )
2022-11-18 02:59:10 +01:00
David Sherret
15db936348
chore: fix post_publish workflow trigger ( #16619 )
2022-11-13 18:05:08 +01:00
David Sherret
f81ad0b7c2
fix: update latest release version after github release publish ( #16603 )
2022-11-13 10:35:03 -05:00
Abdul Rauf
23a04b15c1
chore(ci): update github actions ( #16534 )
2022-11-06 21:26:21 +05:30
Divy Srivastava
57f17bd3e6
enable bench bot ( #16339 )
...
Run benchmarks on a bare metal server. The bot is a webhook on Deno
deploy which can provision a spot instance on Equinix Metal. The machine
type is `m3.small.x86` running a Ubuntu 22.04.
Commands:
`+bench` - Provision and schedule benchmarks for this PR.
`+bench status <id>` - Get current status of the metal instance.
The bot source is here: https://github.com/denoland/bench_bot
2022-10-19 08:03:28 +05:30
Divy Srivastava
cd1c63ad71
fix(build): don't export all symbols to dynamic symbol table ( #16171 )
...
Currently, we use `-rdynamic` for exporting Node API symbols to the
symbol table. `-rdynamic` will export *all* symbols, that means
previously unused functions will not be optimized away introducing a lot
of binary bloat.
This patch uses `-exported_symbol` and `--export-dynamic-symbol` link
flags (not as universal as `-rdynamic`) to only mark Node API symbols to
be put in the dynamic symbol table.
2022-10-06 21:20:00 +05:30
Mathias Lafeldt
1848c7e361
Fix: Honor linter rules in CI and locally ( #15492 )
...
RUSTFLAGS take precedence over `target.<triple>.rustflags`. Therefore,
setting the env var globally in CI would always override whatever linter
rules are allowed or denied in .cargo/config.toml.
With this change, we ensure that problems are detected both in CI and
locally, using either cargo clippy or lint.js.
2022-08-19 08:17:18 -04:00
David Sherret
af618e3b8f
chore: make the start_release workflow go faster ( #15416 )
2022-08-08 19:31:45 -04:00
David Sherret
102595976f
chore: use gist for release instruction checklist ( #15414 )
2022-08-06 09:45:34 -04:00
Nayeem Rahman
34328690dc
fix(test): output parallel test results independently ( #15399 )
2022-08-04 12:38:40 -04:00
Kitson Kelly
0b3b2e198d
chore: add perf and needs investigation to stalebot ( #15381 )
2022-08-02 10:40:14 +10:00
Bartek Iwańczuk
03377ca1d2
chore: cycle cache key ( #15371 )
2022-08-01 14:18:34 +02:00
Nassim Zen
b5eb154d74
chore(ci): update actions to run on macos-12 ( #15272 )
2022-07-21 22:53:52 +02:00
David Sherret
9b4ae0868d
chore: update deno automation to 0.12 ( #15248 )
2022-07-19 16:35:58 -04:00
Nayeem Rahman
12df9f3679
chore(ci): Run wpt launcher with preinstalled Deno ( #15098 )
2022-07-11 17:30:32 +02:00
Aapo Alasuutari
3da182b0b8
fix(ext/ffi): Avoid keeping JsRuntimeState RefCell borrowed for event loop middleware calls ( #15116 )
2022-07-09 11:49:20 +02:00
David Sherret
d7feddfca0
ci: use a known good version of deno instead of latest in publish scripts ( #15037 )
2022-07-02 00:22:07 -04:00
Divy Srivastava
ab11b45d1d
refactor(bench): continuous benchmarking improvements ( #14821 )
2022-06-28 17:51:05 +05:30
Jesse Jackson
7b1662a8e6
chore: Fix broken link in stale bot text ( #14843 )
2022-06-13 12:39:43 +02:00
Roj
271cd7afc9
chore: delete FUNDING.yml ( #14849 )
2022-06-11 23:15:55 +05:30
Lucas Michot
4911acb148
chore(scripts): always run workflows against Deno's most recent version. ( #14819 )
2022-06-08 16:46:57 +02:00
Nayeem Rahman
9385a91312
refactor(core): Move Deno.core bindings to ops ( #14793 )
2022-06-07 11:25:10 +02:00
David Sherret
1081659be1
chore(scripts/release): increase internally used deno version ( #14784 )
2022-06-05 15:44:45 -04:00
Ryan Dahl
99289451dc
Remove .github/CODEOWNERS ( #14781 )
...
It's too spammy and has the opposite of the intended effect: people ignore code
review duties because they assume any code-review-requests are automated and
unrelated to their work. Please just manually request reviews.
2022-06-02 10:20:16 -04:00
Leo Kettmeir
4e1ca1d178
refactor: use spawn API across codebase ( #14414 )
2022-05-18 22:00:11 +02:00
Luca Casonato
0ee76da07b
chore: update to rust 1.60.0 & update Cargo.lock ( #14260 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-05-13 01:12:55 +02:00
Aaron O'Mullan
f18d0539b1
cleanup(ops): simpler is_unit_result() ( #14586 )
...
Rough token-string matching is robust enough and much easier to grok
2022-05-12 20:22:42 +02:00
Luca Casonato
64f9711f7d
ci: use xl windows runners ( #14554 )
...
Thanks GitHub :)
2022-05-10 14:33:44 +02:00
Nayeem Rahman
cb884de2e9
fix(runtime/web_worker): Use biased select when getting module result ( #14553 )
2022-05-10 11:26:57 +02:00
Luca Casonato
242273e69b
chore: update deps ( #14416 )
2022-05-05 12:41:59 +02:00
Bartek Iwańczuk
3f08a40412
refactor: add core.formatLocationFilename, remove op_format_filename ( #14474 )
...
This commit moves "op_format_location" to "core/ops_builtin.rs"
and removes "Deno.core.createPrepareStackTrace" in favor of
"Deno.core.prepareStackTrace".
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-05-03 19:45:57 +02:00
David Sherret
58eab0e2b3
fix(test): capture worker stdout and stderr in test output ( #14410 )
2022-04-26 19:00:04 -04:00
Divy Srivastava
57f7e07c13
Reland "perf(http): optimize ReadableStreams backed by a resource" ( #14346 )
2022-04-22 16:19:08 +05:30
David Sherret
94613107d5
chore(ci): skip ci cache when doing a release ( #14350 )
2022-04-21 12:05:24 -04:00
denobot
29c8cd8aae
1.21.0 ( #14336 )
...
Co-authored-by: ry <ry@users.noreply.github.com>
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-04-20 21:50:16 -04:00
Bartek Iwańczuk
03019e7781
Revert various PRs related to "ext/http" ( #14339 )
...
* Revert "feat(ext/http): stream auto resp body compression (#14325 )"
* Revert "core: introduce `resource.read_return` (#14331 )"
* Revert "perf(http): optimize `ReadableStream`s backed by a resource (#14284 )"
2022-04-21 02:22:55 +02:00
David Sherret
aaaa877d91
chore: fix version bump credentials ( #14338 )
2022-04-20 19:57:22 -04:00
Leo Kettmeir
8a7539cab3
feat(runtime): two-tier subprocess API ( #11618 )
2022-04-21 00:20:33 +02:00
Divy Srivastava
2612b6f20f
core: introduce resource.read_return
( #14331 )
2022-04-20 18:39:13 +02:00
David Sherret
b4af648c15
chore: release fixes based on doing the v1.20.6 release ( #14289 )
2022-04-15 09:39:41 -04:00
David Sherret
0e4574b2e3
chore: forward v1.20.6 release commit to main ( #14288 )
2022-04-14 15:50:48 -04:00
Bartek Iwańczuk
f7e7f54849
chore: use lock file for tooling scripts ( #14253 )
...
This commit adds lock file for maintenance scripts in "tools/"
directory.
The lock file is stored in "tools/deno.lock.json".
2022-04-13 18:51:16 +02:00
Nayeem Rahman
4d18f558e4
feat(ext/web): Add error events for event listener and timer errors ( #14159 )
...
- feat: Add handleable error event for even listener errors
- feat: Add handleable error event for setTimeout()/setInterval() errors
- feat: Add Deno.core.destructureError()
- feat: Add Deno.core.terminate()
- fix: Don't throw listener errors from dispatchEvent()
- fix: Use biased mode when selecting between mod_evaluate() and
run_event_loop() results
2022-04-13 11:50:57 +02:00
David Sherret
a4eee007ef
chore: update release instructions based on 1.20.5 release ( #14239 )
2022-04-08 12:32:25 -04:00
David Sherret
e33329b47e
chore(ci): automatically open PR to forward patch release back to main ( #14180 )
2022-04-04 14:56:29 -04:00
David Sherret
c0ee027d34
chore(ci): automatically include releases notes in release draft ( #14179 )
2022-04-02 11:25:12 -04:00
David Sherret
5cab3e7dba
build: use workflows for bumping versions and cargo publishing on the CI ( #13995 )
2022-03-30 16:37:00 -04:00
Luca Casonato
25b73a366f
fix(ext/ffi): enforce unstable check on ops ( #14115 )
2022-03-25 12:29:54 +01:00
Aaron O'Mullan
6516130b01
chore: drop src/ in bench_util & serde_v8 ( #14097 )
...
To align with conventions used in our other crates
2022-03-24 11:23:40 +01:00
Eliaz Bobadilla
c52d72e8e1
ci: update actions/checkout@v2 to v3 ( #14089 )
2022-03-24 13:36:33 +09:00
Aaron O'Mullan
f580134b1e
cleanup(serde_v8): streamline magic types ( #14076 )
...
Formalize magic types and how they're "transerialized", also makes U16String deserializable
2022-03-23 21:15:01 +01:00
Aaron O'Mullan
f81334d5bd
feat(core): disableable extensions & ops ( #14063 )
...
Streamlines a common middleware pattern and provides foundations for avoiding variably sized v8::ExternalReferences & enabling fully monomorphic op callpaths
2022-03-22 16:39:58 +01:00
David Sherret
b410937556
chore: fix development issues on Windows ( #14030 )
2022-03-21 14:30:43 +01:00
Divy Srivastava
3c47500975
chore: add Rust toolchain components ( #14004 )
2022-03-17 21:54:24 +05:30
Ryan Dahl
f7ab41583e
fix: cargo publish fails without absolute paths ( #13993 )
...
This reverts commit 4e3ed37037
.
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-03-17 01:25:44 +01:00
Ryan Dahl
bfa4ed92bc
chore: uploading WPT shouldn't make CI fail ( #13984 )
2022-03-16 09:35:45 -04:00
Divy Srivastava
426ca98527
chore: add CODEOWNERS for deno_ops
( #13982 )
2022-03-16 16:26:09 +05:30
Aaron O'Mullan
bd481bf095
feat(ops): optional OpState ( #13954 )
2022-03-16 00:33:46 +01:00
Aaron O'Mullan
88d0f01948
feat(ops): custom arity ( #13949 )
...
Also cleanup & drop ignored wildcard op-args
2022-03-14 23:38:53 +01:00
Divy Srivastava
4e3ed37037
chore: improve build times for ext/
changes ( #13927 )
2022-03-14 09:08:54 +05:30
Bert Belder
566a1493f5
fix(ci): restore compatibility with older glibc ( #13846 )
...
Fixes: #13516
2022-03-07 18:07:10 -08:00
Aaron O'Mullan
4da964bcaa
chore(CODEOWNERS): add @AaronO on core/ ( #13865 )
2022-03-07 20:57:45 +01:00
Aaron O'Mullan
72d593fc5c
perf(ext/web): optimize atob/btoa ( #13841 )
...
Follow up to #13839 , optimizing `base64_roundtrip` ~20x (~125ms => ~6.5ms)
2022-03-05 20:12:30 +01:00
Divy Srivastava
9de5275030
chore: add test-flaky-ci
label to disable default workflow concurrency ( #13813 )
2022-03-02 20:05:47 +05:30
Divy Srivastava
d8489b6f1f
chore: cancel old in-progress CI workflows ( #13811 )
2022-03-02 16:04:27 +05:30
David Sherret
4a20435d3c
chore(ci): pin setup-gcloud to v0
instead of master
( #13764 )
2022-02-25 15:53:20 -05:00
David Sherret
3b12afd072
chore: upgrade to Rust 1.59 ( #13767 )
2022-02-24 20:03:12 -05:00
Bartek Iwańczuk
6830e004e6
chore: update CODEOWNERS ( #13712 )
2022-02-19 05:09:48 +01:00
Luca Casonato
66a8ef1a09
ci: exempt "flaky" label from stale bot ( #13598 )
2022-02-05 13:51:18 +01:00
Bert Belder
dcf8f144ab
Revert "error on warnings ( #13344 )" ( #13502 )
...
The reverted PR had the unintentional side effect of disabling static linking on Windows.
See https://github.com/denoland/deno/issues/13471 .
This reverts commit 79b698f88b
.
2022-01-26 14:18:19 -08:00
Divy Srivastava
3959d9f2d2
chore: upgrade to rust 1.58.1 ( #13459 )
2022-01-23 22:36:40 +05:30
David Sherret
ad224f53c7
chore: upgrade to rust 1.58 ( #13377 )
2022-01-15 07:10:12 +01:00
Ryan Dahl
79b698f88b
error on warnings ( #13344 )
2022-01-11 22:03:12 -05:00
Aaron O'Mullan
9f4e1e0d34
chore(ci): ubuntu-latest-xl => ubuntu-20.04-xl ( #13342 )
2022-01-11 17:07:02 +01:00
Ryan Dahl
1fb5858009
chore: update copyright to 2022 ( #13306 )
...
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2022-01-07 22:09:52 -05:00
Bartek Iwańczuk
fbe759ac94
ci: cycle cache key ( #13292 )
2022-01-06 10:52:08 +01:00
Luca Casonato
6ab46b559c
build: hardcode WPT_FYI_USER ( #13262 )
...
GHA keeps redacting all occurrences of the word "deno" out of logs
because this is our wpt.fyi username. This is rather annoying, so I am
just hardcoding the username in the CI script.
2022-01-02 13:41:59 +01:00
Divy Srivastava
003534e883
add divy to CODEOWNERS ( #13247 )
2021-12-31 14:10:16 +05:30
Divy Srivastava
e20682bd42
fix(wpt_ecoch): Don't schedule on forks ( #13144 )
2021-12-19 22:00:42 -05:00
Bartek Iwańczuk
9e87ac9e0e
chore: update CODEOWNERS ( #13020 )
2021-12-07 18:22:06 +01:00
Bartek Iwańczuk
eb4a8fc8a0
build: don't publish canary verion from non-main branch ( #12986 )
2021-12-07 14:49:20 +01:00
Bartek Iwańczuk
622bff4ebc
chore: add CODEOWNERS file ( #13008 )
2021-12-07 14:00:33 +01:00
Bartek Iwańczuk
c59f90d01f
chore: upgrade to Rust 1.57.0 ( #12968 )
2021-12-04 14:19:06 +01:00
Luca Casonato
27ef275d27
chore: update to rusty v8 0.36.0 ( #12979 )
2021-12-03 15:56:04 +01:00
Nikita Sobolev
1947f891db
chore(ci): update setup-python
action version ( #12965 )
2021-12-03 12:00:25 +01:00
Yoshiya Hinosawa
7ef76c1dc3
ci: fix sysroot setup ( #12958 )
2021-12-01 22:02:33 +09:00
Abdfn
88000b5feb
chore: upgrade Rust version to 1.56.1
( #12870 )
2021-11-24 13:26:18 -05:00
Bert Belder
a2c8f554c4
ci: use 'ubuntu-20.04' runner image rather than 'ubuntu-latest' ( #12733 )
...
The existing ubuntu-latest-xl runner image (based on Ubuntu 18.04 XL) is
deprecated and will retire soon. Migrate to ubuntu-20.04-xl instead.
2021-11-10 16:29:24 -08:00
Luca Casonato
a632dc5b0d
build: set cache-control for dl.deno.land ( #12708 )
...
Sometimes you have to wait up to an hour before you can upgrade to the
latest canary build, because the file that stores the hash of the latest
commit is cached for up to an hour.
2021-11-09 20:52:07 +01:00
Ryan Dahl
1b684d333d
upgrade to Node 17 ( #12619 )
2021-11-01 11:14:14 -04:00
Bert Belder
d936a8f3f8
chore: upgrade Rust to 1.56.0 ( #12514 )
2021-10-26 07:17:11 +02:00
Bartek Iwańczuk
46bc1175e5
ci: check Deno binary only in tagged commits ( #12509 )
2021-10-20 23:44:32 +02:00
Bartek Iwańczuk
9bece95f28
ci: skip running tests and benchmarks on tags ( #12443 )
...
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-10-20 22:32:31 +02:00
Ryan Dahl
74364889f0
ci: skip debug WPT during PRs ( #12440 )
...
Running Debug WPT takes about 35 minutes. It will be still checked in
the release build and on main branch, but too slow to run for PRs.
See for example:
https://github.com/denoland/deno/pull/12438/checks?check_run_id=3889127272
2021-10-14 10:56:00 -04:00
Luca Casonato
fef8b08614
feat: update to V8 9.5 ( #12399 )
2021-10-12 13:30:39 +02:00
Bartek Iwańczuk
d67e858506
chore: merge v1.14.3 into main ( #12327 )
2021-10-05 21:40:39 +02:00
Aaron O'Mullan
845a27e748
ci: enable cache for fastci ( #12186 )
2021-09-22 23:37:18 +02:00
Aaron O'Mullan
6decc4dd38
quickfix(ci): only run "Build product size info" on main/tag ( #12184 )
2021-09-22 21:01:32 +02:00
Ryan Dahl
958b374f09
upgrade serde_v8 and rusty_v8 ( #12175 )
...
* upgrade serde_v8 and rusty_v8
* rusty_v8 0.30.0
* cycle keys
2021-09-22 18:51:11 +02:00
Aaron O'Mullan
eddae41482
ci: experiment mac & windows debug builds ( #11884 )
...
Will be tweaked, but possibly have this "fastci" profile for further optimizations
2021-09-22 17:15:04 +02:00
Luca Casonato
3b30ba8031
chore: update rusty_v8 ( #12026 )
2021-09-13 15:33:20 +02:00
Yusuke Tanaka
87052927af
chore: upgrade Rust to 1.55.0 ( #11965 )
2021-09-09 21:15:21 -04:00
Craig Morten
930cb0afd8
chore(std/http): server module name migration ( #11890 )
2021-09-05 22:43:46 +02:00
Geoffrey Smith
40526a03dc
cleanup(.github/workflows): Typo in comments ( #11868 )
2021-08-29 23:39:27 +02:00
Kitson Kelly
7ae30bcc89
chore: add refactor and chore to exempt stale labels ( #11824 )
2021-08-24 17:18:37 +02:00
Jheyson Saavedra
fb135dc3e4
build: rename kind
to job
in ci config ( #11699 )
...
Co-authored-by: Jheyson Saavedra <jheysondev@users.noreply.github.com>
2021-08-14 13:28:22 +02:00
Bartek Iwańczuk
162ec192b7
upgrade: rusty_v8 0.26.0 ( #11625 )
2021-08-10 09:13:02 +02:00
Luca Casonato
3a7de8e40f
build: pin softprops/action-gh-release ( #11622 )
2021-08-10 09:12:25 +02:00
Elias Sjögreen
33c8d790c3
feat: ffi to replace plugins ( #11152 )
...
This commit removes implementation of "native plugins" and replaces
it with FFI API.
Effectively "Deno.openPlugin" API was replaced with "Deno.dlopen" API.
2021-08-06 23:28:10 +02:00
Yusuke Tanaka
8f00b5542c
chore: upgrade Rust to 1.54.0 ( #11554 )
2021-07-30 15:03:41 +02:00
Luca Casonato
31afd349d2
build: fix publishing of canaries ( #11480 )
2021-07-21 18:39:20 +02:00
Luca Casonato
e1d3c425c8
build: publish canary version file in seperate job ( #11462 )
2021-07-21 00:10:56 +02:00
Luca Casonato
51e0bfda3c
chore(runtime): deprecate Deno.copy
( #11369 )
2021-07-12 19:44:42 +02:00
Luca Casonato
ab079a8d63
chore: update crates ( #11332 )
2021-07-09 17:15:50 +02:00
Bert Belder
753fd1eacc
ci: avoid running man-db triggers when setting up sysroot ( #11300 )
2021-07-06 15:51:28 +02:00
Bert Belder
b7d0667a74
ci: fix typo 'CCFLAGs' to 'CFLAGS' ( #11298 )
2021-07-06 14:43:36 +02:00
Bartek Iwańczuk
da654fddff
chore: upgrade rusty_v8 and serde_v8 ( #11233 )
2021-07-02 22:59:33 +02:00
Bartek Iwańczuk
bce662d5bb
chore: upgrade rusty_v8 and serde_v8 ( #11216 )
2021-07-02 09:32:48 +02:00
Bert Belder
1a5984983f
ci: don't set DENO_CANARY when releasing, attempt 2 ( #11214 )
2021-07-01 23:48:53 +02:00
Luca Casonato
32b9aa5720
build: switch to wpt.fyi prod ( #11201 )
2021-07-01 15:44:44 +02:00
Bert Belder
622f9c6889
ci: don't set DENO_CANARY when releasing ( #11181 )
...
Fixes: #11179
2021-06-29 21:01:34 +00:00
Ryan Dahl
48f9df9aa2
upgrade: rusty_v8 0.23.0 (V8 9.2.230.12) ( #11113 )
2021-06-25 12:54:53 +02:00
Bert Belder
b7f875e010
ci: fix pushing benchmark results to gh-pages ( #11095 )
2021-06-23 23:54:25 +02:00
Bert Belder
e02403bb45
ci: run Linux release builds in sysroot with Ubuntu 18.04 and LLVM ( #10920 )
2021-06-23 19:36:05 +00:00
Bert Belder
6f8975ad78
ci: make it faster ( #10920 )
...
...by avoiding a full clone of crates.io index history.
2021-06-23 19:36:04 +00:00
Yusuke Tanaka
8031644e65
chore: upgrade Rust to 1.53.0 ( #11021 )
2021-06-17 15:56:30 -04:00
Luca Casonato
8e4a70c7e9
tests: get epochs/daily commit with ./wpt rev-list ( #11002 )
2021-06-16 14:19:44 +02:00
Luca Casonato
f48d66b2b0
tests: fix wpt epoch ci job ( #10960 )
2021-06-14 20:57:02 +02:00
Luca Casonato
d837445e44
build: add wpt epoch/daily run ( #10937 )
...
This adds a daily scheduled CI pipeline that runs WPT tests against
the most recent epochs/daily every night. Results are uploaded to
wpt.fyi.
WPTs are run on all supported platforms, on both stable and canary.
2021-06-14 13:48:57 +02:00
Luca Casonato
7b9c59fd71
tests: upload WPT reports to wpt.fyi ( #10883 )
2021-06-07 17:41:33 +02:00
Luca Casonato
f1deed41e7
tests: generate and upload wptreport.json ( #10869 )
...
These reports can be consumed by tools like `wptreport` or
https://wpt.fyi . The old style report could be removed in a future PR
when wpt.deno.land is updated.
2021-06-06 18:08:50 +02:00
Dezső Mészáros
eb3a20292f
ci: update comment for stale PR bot ( #10849 )
2021-06-06 01:39:11 +02:00
Yoshiya Hinosawa
5a14827f9f
build: remove gnu tar installation ( #10826 )
2021-06-03 11:14:56 +02:00
Luca Casonato
b2a4c2e4f6
build: collect wpt results as json ( #10823 )
2021-06-03 01:12:28 +02:00
Kitson Kelly
8708d3c045
chore(lsp): provide test for lsp deadlock issue ( #10679 )
...
Resolves: #10587
2021-05-21 07:35:37 +10:00
Yoshiya Hinosawa
ba09ce0729
ci: fix 'skip save cache' step in windows CI ( #10704 )
2021-05-19 16:48:38 +02:00
Bert Belder
1efd66e398
ci: make rustc deny warnings on all platforms ( #10672 )
2021-05-17 23:11:14 +02:00
Bert Belder
ea83f18f90
ci: force enable incremental compilation ( #10614 )
...
Note that Rust 1.51.1 adds extra verification to avoid miscompiles, so it
is possible that this PR causes build failures on CI, in which case it
needs to be reverted.
See https://blog.rust-lang.org/2021/05/10/Rust-1.52.1 ).
2021-05-12 17:41:21 +02:00
Yusuke Tanaka
0d319161bc
chore: upgrade Rust to 1.52.1 ( #10583 )
2021-05-11 16:58:59 +02:00
Yoshiya Hinosawa
4f93cf9d75
ci: create cache always in main, skip saving cache in PRs ( #10560 )
2021-05-11 10:46:41 +09:00
Bartek Iwańczuk
98518f319d
chore: upgrade to Rust 1.52.0 ( #10522 )
2021-05-06 15:56:30 -04:00
Ryan Dahl
b9a136c868
Revert "ci: build only lib and bins ( #10401 )" ( #10415 )
2021-04-29 10:33:46 +09:00
Ryan Dahl
e63c533154
enable error-on-warning ( #10410 )
...
Only on linux and osx. Fixes one warning.
2021-04-28 15:10:44 -04:00
Yoshiya Hinosawa
48659c374d
ci: build only lib and bins ( #10401 )
...
Currently we specify --all-targets when building. It's equivalent of
--lib --bins --tests --benches --examples, but in test release jobs,
we don't need to build everything. So this PR reduces build target to only
--bin deno --bin test_server in build phase, and reduces test targets to
--bins --lib --tests.
This skips the building of benches and examples in test release jobs.
2021-04-28 10:42:00 -04:00
Ryan Dahl
f7c298e297
Remove denort optimization ( #10350 )
...
denort is an optimization to "deno compile" to produce slightly smaller
output. It's a decent idea, but causes a lot of negative side-effects:
- Deno's link time is a source of constant agony both locally and in CI,
denort doubles link time.
- The release process is a long and arduous undertaking with many manual
steps. denort necessitates an additional manual zip + upload from M1
apple computers.
- The "deno compile" interface is complicated with the "--lite" option.
This is confusing for uses ("why wouldn't you want lite?").
The benefits of this feature do not outweigh the negatives. We must find
a different approach to optimizing "deno compile" output.
2021-04-26 13:28:38 -04:00
Ryan Dahl
9c3da280e0
remove #![deny(warnings)] ( #10376 )
...
Prefer RUSTFLAGS="-D warnings" to prevent warnings, but cannot
enable yet due to #10378 .
2021-04-26 10:10:57 -04:00
Ryan Dahl
17d35fdd7e
ci: only run WPT on linux ( #10351 )
2021-04-24 12:52:44 -04:00
Ryan Dahl
c5fda85ef0
Key CI cache on build profile ( #10333 )
...
We are aware that "lint debug ubuntu" and "test debug ubuntu" are sharing
caches - and that it is not ideal. Likely the lint cache will be written
first, and test-debug will have to build extra. However neither are the
bottleneck now.
We proceed on the assumption that we're hitting the 5 GB cache limit on a
single PR, inducing a forever-rolling behavior.
If "test debug ubuntu" becomes the bottleneck in the future we will
revisit.
2021-04-23 12:54:23 -04:00
Ryan Dahl
2400ecbe16
Use ubuntu-latest-xl on more CI jobs ( #10322 )
2021-04-23 12:11:23 -04:00
Yoshiya Hinosawa
b3013c1f95
ci: separate cache for cargo home and build output ( #10306 )
2021-04-22 07:17:00 -04:00
Ryan Dahl
a7b4873275
chore: clean cache ( #10290 )
2021-04-22 08:48:41 +09:00
Ryan Dahl
ffc01f9fc5
build: use Node 16 in CI ( #10270 )
2021-04-21 11:25:14 +02:00
Bartek Iwańczuk
0cc0196576
chore: upgrade deno_doc, deno_lint ( #10268 )
2021-04-20 19:37:27 +02:00
Yoshiya Hinosawa
8424647d22
chore: update copyright headers ( #10243 )
2021-04-20 14:27:36 +09:00
Bert Belder
36f147364a
upgrade: rusty_v8 0.22.1 (V8 9.1.269.5) ( #10159 )
2021-04-13 08:47:24 +00:00
Bert Belder
b9f758d3ad
upgrade: rusty_v8 0.22.0 (V8 9.1.269.2) ( #10152 )
2021-04-13 02:54:36 +02:00
Bert Belder
06b5959eed
ci: store last-modified timestamps in Github Actions cache ( #10110 )
2021-04-11 20:57:17 +00:00
Bert Belder
ae95da5d10
Revert "use incremental build in ci ( #10053 )" ( #10110 )
...
This reverts commit fd65e6de3d
.
2021-04-11 20:57:16 +00:00
Yoshiya Hinosawa
94c666fc45
ci: do not include branch name in cache key ( #10081 )
2021-04-09 14:43:33 +09:00
Yoshiya Hinosawa
3168fa4ee7
ci: add gnu tar path ( #10075 )
2021-04-09 10:24:13 +09:00
Ryan Dahl
b30ac9c5cf
Clear CI cache ( #10071 )
2021-04-08 15:00:53 -04:00
Yoshiya Hinosawa
3dd525d767
ci: use gnu tar on macos ( #10069 )
2021-04-08 13:37:59 -04:00
Yoshiya Hinosawa
c4b21fbff1
ci: fallback to main's cache ( #10068 )
2021-04-08 10:56:43 -04:00
Casper Beyer
d2e500e1cf
ci: use repository and ref as part of the cache key ( #10067 )
2021-04-08 20:52:01 +09:00
Yoshiya Hinosawa
fd65e6de3d
use incremental build in ci ( #10053 )
2021-04-07 10:17:55 -04:00
Yusuke Tanaka
e7954413e1
upgrade: Rust 1.51.0 ( #9895 )
2021-03-25 19:17:37 +01:00
Ryan Dahl
d6d5ced1ab
build: Remove other unrelated CI build things ( #9875 )
2021-03-24 14:48:17 +01:00
Bartek Iwańczuk
137744d19c
build: disable CI cache ( #9872 )
2021-03-23 16:47:20 +01:00
Bartek Iwańczuk
f50ed4e281
v1.8.2
2021-03-21 21:12:09 +01:00
Bartek Iwańczuk
c08284ab9d
chore: release crates ( #9847 )
2021-03-21 16:10:08 +01:00
Ryan Dahl
a22aadbe50
ci: don't store $CARGO_HOME in Github Actions cache ( #9779 )
...
There currently is a problem related to Github Actions in general or the
'actions-rs/cargo' action in particular, which causes cargo to be unable
to find the 'serde_derive' crate when the cargo home dir has been
restored from cache.
This issue is also being reported by others, e.g. at
actions-rs/cargo#111 .
2021-03-13 15:25:26 -05:00
Ryan Dahl
ff96c95bbb
ci: Remove sccache, use better cargo cache ( #9687 )
2021-03-09 14:15:23 -05:00
Divy Srivastava
afbae1c99d
chore(ci): move fmt before lint ( #9695 )
2021-03-05 13:36:00 +01:00
Ryan Dahl
af7e02124f
Re-enable sccache ( #9670 )
2021-03-03 14:20:35 -05:00
Luca Casonato
4f80587d26
chore: rename default branch to main ( #9503 )
2021-02-19 15:58:19 +01:00
Ryan Dahl
ca55a5d36e
linux release build should use ubuntu-18.04 ( #9485 )
2021-02-12 16:10:24 -05:00
Kitson Kelly
54e53cc9ea
chore: Update to Rust 1.50.0 ( #9479 )
2021-02-12 21:08:36 +11:00
youngjuning
47b3e4bada
ci: bump Deno version ( #9449 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-02-09 16:08:10 +01:00
Bartek Iwańczuk
647f11b3ac
ci: fix release process ( #9418 )
2021-02-05 20:33:21 +01:00
Casper Beyer
6abf126c2a
chore: remove std directory ( #9361 )
...
This removes the std folder from the tree.
Various parts of the tests are pretty tightly dependent
on std (47 direct imports and 75 indirect imports, not
counting the cli tests that use them as fixtures) so I've
added std as a submodule for now.
2021-02-02 12:05:46 +01:00
Ryan Dahl
46d5843f75
cargo publish is done manually now ( #9321 )
2021-01-31 10:05:45 -05:00
Luca Casonato
2638aa03a5
tests: new typescript WPT runner ( #9269 )
2021-01-27 15:06:18 +01:00
Luca Casonato
e0eb111e3e
Revert "tests: enable wpt for url ( #9046 )" ( #9264 )
...
This reverts commit 66e99d349b
.
2021-01-25 16:02:03 +01:00
Luca Casonato
66e99d349b
tests: enable wpt for url ( #9046 )
2021-01-24 22:29:36 +01:00
Luca Casonato
b358426eea
build: upload release zips to dl.deno.land ( #9090 )
2021-01-14 17:08:30 +01:00
Luca Casonato
18b3150401
build: disable cafile_* tests and use slow runners ( #9089 )
2021-01-13 16:48:33 +01:00
Luca Casonato
a44349dfdf
feat: denort binary ( #9041 )
...
This commit adds new binary target called "denort".
It is a "lite" version of "deno" binary that can only execute
code embedded inside the binary itself.
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-01-08 03:08:51 +01:00
Jesse Jackson
eaabef30d0
chore: add context information to stale bot message text ( #9037 )
...
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2021-01-07 14:46:36 +11:00
Luca Casonato
d5c34f8e3c
chore: exempt docs label from stalebot ( #9028 )
2021-01-07 03:48:33 +01:00
Luca Casonato
1959aca2a9
chore: exempt tests and build labels from stalebot ( #9027 )
2021-01-06 15:53:35 +01:00
Ryan Dahl
d364a0effe
enable stale bot ( #9011 )
2021-01-06 07:58:38 -05:00
Ryan Dahl
0a509152d1
Revert "ci: don't install python ( #8961 )" ( #8963 )
...
This reverts commit 5937ee3fba
.
2021-01-02 23:19:46 -05:00
Ryan Dahl
5937ee3fba
ci: don't install python ( #8961 )
2021-01-02 10:53:43 -05:00
Bartek Iwańczuk
41a4a34aee
upgrade: Rust 1.49.0 ( #8955 )
2021-01-02 13:52:42 +01:00
Zheyu Zhang
bfe1b05381
ci: setup latest version of Node ( #8888 )
2020-12-26 08:02:37 -05:00
Bartek Iwańczuk
e58147b62c
build: remove cargo publish --dry-run ( #8694 )
2020-12-09 21:17:51 +01:00
Ryan Dahl
b6dd850f71
build: fix doctests, run cargo publish --dry-run ( #8689 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-12-09 17:02:07 +01:00
Luca Casonato
95ccc1a52f
build: upload canaries before tests ( #8585 )
2020-12-02 20:06:19 +01:00
Bartek Iwańczuk
097babb6fb
build: publish only "deno" crate on tags ( #8535 )
...
This commit updates CI script to publish only "deno"
crate on tags.
Following crates are not automatically published anymore:
- deno_core
- deno_web
- deno_fetch
- deno_crypto
Before this commit creating a new release required to bump
version on all above crates even though in practice they
rarely change.
2020-11-28 21:39:04 +01:00
crowlKats
a08d2eee2b
add canary versioning ( #8480 )
2020-11-25 05:30:14 -05:00