Commit Graph

592 Commits

Author SHA1 Message Date
omochimetaru 50f22fd6d4 Remove wrong sendable conformance 2024-05-19 14:30:43 +09:00
omochimetaru 20cc436894 fix test failure 2024-05-19 07:31:08 +09:00
omochimetaru f6f1712733 Skips browser testing due to freezing 2024-05-19 07:31:08 +09:00
omochimetaru 14bb4f09da remove label check 2024-05-18 21:11:44 +09:00
omochimetaru 3a7fc0c24b fix pluginshared readme 2024-05-18 20:30:56 +09:00
omochimetaru 46adbb03e3 split files 2024-05-18 14:02:10 +09:00
omochimetaru d1f93278e5 fix index page indent 2024-05-18 13:29:37 +09:00
omochimetaru cb4f11daf3 use CI token 2024-05-18 04:39:25 +09:00
omochimetaru fabd19cab5 test wrong token for ci 2024-05-18 04:39:25 +09:00
omochimetaru e8634fe441 auth github 2024-05-18 04:39:25 +09:00
omochimetaru 7ca9b8bce7 remove unused lines in HashArchive 2024-05-18 04:39:03 +09:00
omochimetaru a44cd0db43 stop to create .carton directory on CI 2024-05-18 04:38:43 +09:00
omochimetaru 848ae5aec4 fix process env 2024-05-18 04:38:06 +09:00
omochimetaru c7cad4967e fix double negative logic 2024-05-17 14:04:38 +09:00
omochimetaru 6ebc4798dd generalize findExecutable 2024-05-17 14:04:38 +09:00
omochimetaru 9a0675f864 Make watch pipes optional 2024-05-17 11:24:24 +09:00
omochimetaru a77c951716 print watch log where it is done 2024-05-17 11:24:24 +09:00
omochimetaru 1b896c2a2c improve ToolchainError message 2024-05-17 10:38:25 +09:00
Yuta Saito e0dbe6a2fe Remove invalid `--` argument from XCTest invocation 2024-05-08 12:18:22 +00:00
Yuta Saito d16f59aa5d Report about dangling continuation 2024-05-08 12:18:22 +00:00
Yuta Saito 52f65cb692 Use JavaScriptKit's main entrypoint handler if available
The latest JavaScriptKit added main() method to handle main()/__main_argc_argv()
function call. It also handles some quirks of async-main & JavaScriptEventLoop.
2024-05-08 12:11:38 +00:00
Yuta Saito d487abb3b3 Inject default imported function implementation
Just throws exception
2024-05-07 21:34:09 +09:00
Yuta Saito faee016aca Stop writing static files in ~/.carton/static
Instead, write them under plugin work directory
2024-04-26 23:13:51 +09:00
Yuta Saito 9082e658bb Remove so_sanitizer.wasm from static.zip
This file is no longer used
2024-04-26 23:13:51 +09:00
Yuta Saito a10be40f36 Follow-up fix for f286203b0d
Node test runner also has to have argv0 but even though user doesn't
provide extra args, empty args are passed to the runner, so default
["main.wasm"] was not used. Changed to provide file base name as argv0
explicitly.
2024-04-18 16:40:37 +09:00
Yuta Saito 85fa55e4f9 Bump version to 1.0.3, update CHANGELOG.md 2024-04-18 00:50:11 +00:00
Yuta Saito 662d29d305 Map proc_exit to process exit on Node.js 2024-04-18 09:45:55 +09:00
Yuta Saito 5894a86bac Update StaticArchive.swift 2024-04-18 09:45:55 +09:00
Yuta Saito 688e8fe200 Use `@bjorn3/browser_wasi_shim` as WASI implementation 2024-04-18 09:45:55 +09:00
omochimetaru 3abdbd2386 migrate to TypeScript 2024-04-18 01:31:11 +09:00
Yuta Saito f286203b0d Fix test harness for the latest main XCTest
The latest XCTest bundled in Swift SDK for Wasm requires `Bundle.main` access to
minimize behavior difference from other platforms. `Bundle.main`
requires `argv[0]` and file system access to get the main bundle path.
2024-04-05 03:24:37 +09:00
Yuta Saito 8bd1d02f00 Stop using the setup-swift action
https://github.com/swift-actions/setup-swift/issues/591
2024-04-05 03:05:38 +09:00
Yuta Saito 73ee9b6813
[skip ci] Update README.md 2024-04-04 00:15:35 +09:00
Yuta Saito 2467a0c908 Bump version to 1.0.2, update CHANGELOG.md 2024-03-28 12:33:04 +09:00
Yuta Saito 9a247811e6 Remove non-mandatory dependencies from Brewfile 2024-03-28 08:41:48 +09:00
Yuta Saito 5bf2e3e874 Stop copying main resources twice and create symlinks instead 2024-03-28 08:41:48 +09:00
Yuta Saito 1a0a29acb3 Support more MIME types in `dev` server 2024-03-28 08:41:48 +09:00
Yuta Saito 73bf897e24 Revert a part of f576362845
To send SIGKILL to the process *group* (not just the process itself)
2024-03-26 14:22:04 +09:00
Yuta Saito b8b390add1 Suppress mutability warning 2024-03-23 00:38:53 +09:00
Yuta Saito aef04d7214 Disable sandbox for bundle command too temporarily
This is a temporary workaround to fix the issue where the bundle command
fails to create ~/.carton directory when it's outdated or missing. We
don't need to create .carton directory anymore ideally, but it requires
several refactoring to remove it completely Thus, we disable the sandbox
for now.
2024-03-23 00:35:24 +09:00
Yuta Saito fbcfb1191a Force terminate chromedriver process when interrupting the test run 2024-03-20 01:54:33 +09:00
Yuta Saito b7c6c5a3ce Fix Linux build by appendingPathComponent instead of appending(path:) 2024-03-19 17:52:38 +09:00
Yuta Saito f576362845 Communicate with WebDriver using curl
libcurl-based URLSession implementation in corelibs-foundation seems
somehow broken on GitHub Actions environment. It fails to connect to
WebDriver server with the `Failed writing header` error.

This commit replaced URLSession with curl CLI if it's available.
2024-03-19 17:49:01 +09:00
Yuta Saito 4f3dc7c0b0 Support fragmented WebSocket frames sent from Chrome
Chrome sends fragmented WebSocket frames when the message is too large
(around 113KB). See https://issues.chromium.org/issues/41192391
2024-03-19 12:56:47 +09:00
Yuta Saito 75b8f82e3f Accept larger WebSocket frames by default
Test result output might be too large to fit into the default
WebSocket frame size.
2024-03-19 03:44:23 +09:00
Yuta Saito b0a4ae7fad Bump version to 1.0.1, update CHANGELOG.md 2024-03-10 18:25:34 +09:00
Yuta Saito 8b956767b4 Fix bundle command to copy dependencies' resources even with optimization
The `bundle` command was not copying the resources of the dependencies
when the main binary is optimized with wasm-opt.
2024-03-10 18:25:34 +09:00
Yuta Saito 1a56ebdd3b Apply browser build parameters for bundle builds
Bundle builds should also apply the browser build parameters for reactor
ABI. This is necessary to work with JavaScriptKit.
2024-03-10 18:25:34 +09:00
Yuta Saito ad79dda5bb
[skip ci] Update README.md 2024-03-10 16:21:02 +09:00
Yuta Saito 1b50ba88c4 Default toolchain version bump to 5.9.2 2024-03-10 16:13:47 +09:00