Pierre Tachoire
b7b67681c7
ci: give time to start services
2025-05-30 11:27:35 +02:00
Pierre Tachoire
8551e05808
ci: switch lpd_bench_cdp
2025-05-30 11:02:28 +02:00
Karl Seguin
83da81839b
run apt-get update before trying to install
2025-05-29 13:50:22 +08:00
Karl Seguin
fed37bcc48
increase max memory threshold to 30
2025-05-28 17:07:28 +08:00
Pierre Tachoire
d47db317fb
Merge pull request #702 from lightpanda-io/ci-bench
...
ci: execute cdp bench on main only
2025-05-27 06:48:31 +02:00
Pierre Tachoire
287d0fad85
Merge pull request #701 from lightpanda-io/s3-nightly
...
ci: use GLACIER IR class storage for release
2025-05-27 06:40:35 +02:00
Pierre Tachoire
7c19de3d61
ci: execute cdp bench on main only
2025-05-27 06:38:14 +02:00
Pierre Tachoire
a76cdf7514
ci: use GLACIER IR class storage for release
2025-05-27 06:34:24 +02:00
Karl Seguin
9abead7c49
Merge pull request #690 from lightpanda-io/zig_0_14_1
...
e2e-test / zig build release (push) Has been cancelled
e2e-test / puppeteer-perf (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
e2e-test / cdp-and-hyperfine-bench (push) Has been cancelled
e2e-test / perf-fmt (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / browser fetch (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
Upgrade to Zig 0.14.1
2025-05-27 08:11:33 +08:00
Pierre Tachoire
5ff3f71f83
Merge pull request #700 from lightpanda-io/s3-nightly
...
S3 nightly
2025-05-26 21:57:31 +02:00
Pierre Tachoire
e2f9ca66b6
ci: upload artifact on s3
2025-05-26 21:43:14 +02:00
Pierre Tachoire
3a92f93e6f
ci: add missing AWS creds
2025-05-26 18:58:41 +02:00
Pierre Tachoire
f63ea62f2d
ci: refacto e2e http start/stop
2025-05-26 18:30:51 +02:00
Pierre Tachoire
ba7df8b9cf
ci:fix deps
2025-05-26 18:21:59 +02:00
Pierre Tachoire
087d23269b
ci: add hyperfine test
2025-05-26 18:07:05 +02:00
Pierre Tachoire
8c1f38f74d
ci: e2e: build release w/ -Dcpu=x86_64 option
2025-05-26 13:16:36 +02:00
Pierre Tachoire
13091e0de4
ci: add cdp-bench
...
The cdp bench is run on self host machine.
2025-05-26 13:16:36 +02:00
Karl Seguin
6fb78a99bf
update mlugg/setup-zig action
2025-05-25 09:10:42 +08:00
Karl Seguin
bcc4980189
Upgrade to Zig 0.14.1
2025-05-24 19:55:50 +08:00
Karl Seguin
1dc6e91ec4
increase max memory threshold
2025-05-24 09:53:45 +08:00
Karl Seguin
b1d0368479
Remove --gc_hints option, apply the --gc_hints behavior by default
2025-05-23 14:15:55 +08:00
Karl Seguin
ca0f407b7b
include OS in libc_v8 lib path
2025-05-22 16:45:06 +08:00
Karl Seguin
b08ffcc437
Rework HTMLAllCollection
...
Capture its unique properties:
1- instances are falsy, and
2- instance can be called as a function
The behavior is used for browser detection (i.e. duckduckgo treats us as a
legacy browser because we document.all != false)
2025-05-16 13:39:27 +08:00
Karl Seguin
aaa34ab860
link libc_v8.a in correct directory
2025-05-14 15:19:47 +08:00
Karl Seguin
66638cab33
update v8 revision
2025-05-14 15:02:55 +08:00
Karl Seguin
35b2ea870d
use zig-v8-fork v8_upgrade branch
2025-05-14 11:26:48 +08:00
Karl Seguin
49562f50f2
update zig-v8-fork build version
2025-05-12 18:43:40 +08:00
Pierre Tachoire
da5b0260f2
ci: fix workflows dependency for wpt tests
2025-05-10 08:28:07 +02:00
Pierre Tachoire
56b1c7b11a
ci: run wpt test nightly
2025-05-09 13:28:34 +02:00
sjorsdonkers
ae6c29ccff
Timouts for all GH actions
2025-05-09 11:20:51 +02:00
Karl Seguin
ca3fa3dc40
Rework WPT runner ( #589 )
...
e2e-test / zig build release (push) Has been cancelled
e2e-test / puppeteer-perf (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
wpt / web platform tests (push) Has been cancelled
wpt / web platform tests json output (push) Has been cancelled
wpt / perf-fmt (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / browser fetch (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
* Rework WPT runner
We have no crashing tests, remove safe mode. Allows better re-use of arenas,
and if we do introduce a crash, it won't be easy to ignore. Could allow for
re-using the environment across tests to further improve performance.
Remove console now that we have a working console api.
* Update workflows, add summary
Remove --safe option from WPT workflows (it's no longer valid)
Include a total test/case summary when --summary or --text (default) is used.
* remove wpt --safe flag from Makefile
* handle tests in the root of the test folder
* Fix a couple possible segfaults base on strange usage (WPT stuff)
* generate proper JSON
* generate proper JSON (for real this time?)
* fix tag type check
2025-05-03 07:53:02 +08:00
Karl Seguin
20e4261aa7
Support union parameters
...
There's ambiguity in mapping due to the flexible nature of JavaScript. Hopefully
most types are unambiguous, like a string or am *parser.Node.
We need to "probe" each field to see if it's a possible candidate for the JS
value. On a perfect match, we stop probing and set the appropriate union field.
There are 2 levels of possible matches: candidate and coerce. A "candidate"
match has higher precedence. This is necessary because, in JavaScript, a lot
of things can be coerced to a lot of other, seemingly wrong, things.
For example, say we have this union:
a: i32,
b: bool,
Field `a` is a perfect match for the value 123. And field b is a coerce match
(because, yes, 123 can be coerced to a boolean). So we map it to `a`.
Field `a` is a candidate match for the value 34.2, because float -> int are both
"Numbers" in JavaScript. And field b is a coerce match. So we map it to `a`.
Both field `a` and field `b` are coerce matches for "hello". So we map it to `a`
because it's declared first (this relies on how Zig currently works, but I don't
think the ordering of type declarations is guaranteed, so that's an issue).
2025-05-01 18:31:55 +08:00
Karl Seguin
89fea9b4df
initialize ICU
...
This makes functions like new Intl.DateTimeFormat() not crash.
2025-04-25 13:15:38 +08:00
sjorsdonkers
5026c48805
Update zig-v8 to v0.1.18
2025-04-22 13:49:00 +02:00
Pierre Tachoire
74fa9a6b2b
ci: use the demo go runner
2025-04-17 17:57:19 +02:00
Karl Seguin
cda6f89dba
work on fixing github workflows
2025-04-15 15:18:06 +08:00
Pierre Tachoire
b176857b8d
add bornlex to cla whitelist
2025-04-11 11:14:01 +02:00
Pierre Tachoire
d772eaf4a2
upgrade zig-jsruntime
2025-04-08 17:34:56 +02:00
Pierre Tachoire
c6ad734de0
ci: run wpt classic only on PR
2025-03-31 12:35:34 +02:00
Pierre Tachoire
fbe8086c98
ci: add a browser fetch test
2025-03-31 12:35:29 +02:00
Pierre Tachoire
24d5dfe3c6
Merge pull request #371 from lightpanda-io/ci-wpt-split
...
e2e-test / zig build release (push) Has been cancelled
wpt / web platform tests (push) Has been cancelled
wpt / web platform tests json output (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
e2e-test / puppeteer-perf (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
wpt / perf-fmt (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
nightly build / build-linux-x86_64 (push) Has been cancelled
nightly build / build-linux-aarch64 (push) Has been cancelled
nightly build / build-macos-aarch64 (push) Has been cancelled
nightly build / build-macos-x86_64 (push) Has been cancelled
ci: split wpt wnd wpt-json jobs
2025-03-28 13:39:32 +01:00
Pierre Tachoire
57025f8173
upgrade vendor/zig-js-runtime
2025-03-27 14:28:00 +01:00
Pierre Tachoire
f2565049b8
ci: add Sjors to the cla allow list
2025-03-25 14:40:36 +01:00
Pierre Tachoire
8931506657
ci: use ubuntu 22.04 for x86_64 build
2025-03-22 10:40:50 +01:00
Pierre Tachoire
e79cd58c8f
ci: add macos x86_64 nightly build
2025-03-19 17:12:10 +01:00
Pierre Tachoire
0d291f1a36
ci: upgrade zig v8 version
2025-03-19 17:12:05 +01:00
Karl Seguin
21c9dde858
Zig 0.14 compatibility
2025-03-19 16:28:15 +01:00
Karl Seguin
6b83281539
Add navigate telemetry
2025-03-18 08:25:44 +08:00
Pierre Tachoire
9811c5d577
ci: use ubuntu 24.04
2025-03-15 10:24:34 +01:00
Pierre Tachoire
725b48d8aa
ci: fix install params for linux
2025-03-15 10:01:46 +01:00