You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reusable wasm-bindgen-test browser job for web-crate glue tests #187
Request: a reusable wasm-bindgen-test browser job for web-crate glue tests.
LightCraft's web crate (apps/lightcraft-web) has JS-glue code that can currently only be compiled, never run, in CI: backend.rs::is_folder reads a FileSystemDirectoryHandle via getDirectoryHandle, reflects the DOMException name, and probes keys with getAllKeys(range, 1). The repo has no wasm-bindgen-test dev-dependency and no headless-browser job anywhere in the suite, and adding CI inside a fix PR is out of bounds — so on PR storytold/lightcraft#3989 (round 6) the decision logic was extracted into pure functions with native tests (means_no_folder, key_range_end, preload_start_up in files.rs), and the remaining glue is a direct call into those.
That extraction is a workaround, not coverage. A shared, reusable workflow that runs wasm-bindgen-test in a headless browser would let the web crates across the suite test their glue directly instead of routing around it. Opening this here as the follow-up promised in the #3989 round-6 reply.
Activity