Karl Seguin
9d172bb29d
Fixes a 'leak' with telemetry
...
This is just something that isn't cleaned up on exit, so it isn't a "leak",
but better to be explicit with the free.
2025-10-01 16:41:20 +08:00
Karl Seguin
7136851893
Remove a std.debug.print
...
Probably added in the Zig 0.15 migration. Sorry.
2025-09-09 19:19:36 +08:00
Karl Seguin
23d6362058
fix telemetry, link libc and libcpp
2025-08-29 10:42:06 +08:00
Karl Seguin
f65a39a3e3
Re-enable telemetry
...
Start work on supporting navigation events (clicks, form submission).
2025-08-11 21:37:00 +08:00
Karl Seguin
54ab1326e5
Switch XHR to new http client
...
get puppeteer/cdp.js working again
make test are all passing
2025-08-11 21:37:00 +08:00
Karl Seguin
b0fe5d60ab
Initial work on integrating libcurl and making all http nonblocking
2025-08-11 21:36:56 +08:00
Karl Seguin
2feba3182a
Replace std.log with a structured logger
...
Outputs in logfmt in release and a "pretty" print in debug mode. The format
along with the log level will become arguments to the binary at some point in
the future.
2025-05-27 19:57:58 +08:00
Karl Seguin
769d99e7bd
Tweak debug logging
...
1 - Add a log_level build option to control the default log level from
the build (e.g. -Dlog_level=debug). Defaults to info
2 - Add a new boolean log_unknown_properties build option to enable
logging unknown properties. Defautls to false.
3 - Remove the log debug for script eval - this can be a huge value
(i.e. hundreds of KB), which makes the debug log unusable IMO.
2025-05-20 11:29:14 +08:00
Karl Seguin
b8e5e130b9
remove unused code, mostly imports
2025-05-05 13:29:41 +08:00
Karl Seguin
41bd3704ef
update lightpanda and wpt URL usage
2025-04-09 19:21:59 +08:00
Karl Seguin
22aa126b29
Cleaner merge
...
Switch to non-blocking sockets.
Fix TLS handshake/receive/send ordering
2025-03-23 19:05:35 +08:00
Karl Seguin
2aee346299
send telemetry events in batches (up to 20)
2025-03-21 22:40:10 +08:00
Karl Seguin
936048d478
upgrade telemetry to zig 0.14
2025-03-19 16:28:21 +01:00
Karl Seguin
705603a088
remove explicit thread stack size.
...
The real win is having a global http_client, so the thread only needs a pointer.
2025-03-19 16:17:41 +08:00
Karl Seguin
ba8a0179d5
Share the HTTP client globally
2025-03-19 11:09:58 +08:00
Karl Seguin
2e7342a59c
add driver field to navigate telemetry
2025-03-18 10:40:04 +08:00
Karl Seguin
c9bc5be42b
add additition navigate fields
2025-03-18 09:56:57 +08:00
Karl Seguin
a6a8130234
update telemetry URL (but not vendored dependency this time)
2025-03-18 08:27:34 +08:00
Karl Seguin
288761632f
Revert "update telemetry URL"
...
This reverts commit 88850bcdd38026720f03087be8ef7e9869072ac6.
2025-03-18 08:27:34 +08:00
Karl Seguin
cd33a089d1
flatten events, include aarch + os, remove eid
2025-03-18 08:26:58 +08:00
Karl Seguin
6b83281539
Add navigate telemetry
2025-03-18 08:25:44 +08:00
Karl Seguin
2609671982
don't try (and fail) to get userData after clearing context
2025-03-18 08:02:09 +08:00
Karl Seguin
accf2c0e5e
use async-client for telemetry
2025-03-18 08:02:09 +08:00
Karl Seguin
53f6e66c23
Remove plausible, leave a dummy provider for now
...
Add batching, add install optional id (persisted) and execution id (per run)
2025-03-18 08:02:09 +08:00
Karl Seguin
56ddcc8e29
Initial usage telemetry
2025-03-18 08:02:09 +08:00