Repository navigation
Description
Parent: #14
Dependencies
-
feat(wasm-example): add one-module async Tauri screenshot sketch and CLI #20 — one-module async Tauri screenshot sketch and CLI (required before CI proof)
-
test(wasm-tauri): prove deterministic offline capture and teardown failures #21 — deterministic offline end-to-end and teardown proof (required before CI proof)
-
feat(wasm): establish threaded sketch build, import validation, and lifecycle substrate #15 — threaded sketch build, import validation, and lifecycle substrate
-
feat(wasm): add generated async kernel ABI and generation-safe resources #16 — generated async kernel ABI and generation-safe resources
-
feat(wasm): add bounded opaque blobs and exact-output file capability #17 — bounded opaque blobs and exact-output file capability
-
feat(tauri): add a private async capture-only webview capability #18 — private async capture-only webview capability
-
feat(tauri): add private native viewport-PNG capture adapters #19 — private native viewport-PNG capture adapters
Purpose
Make #14 reproducible and continuously validated on supported operating systems and architectures without making default kernal-api builds resolve heavyweight GUI/Wasm dependencies.
Scope
- Add a dedicated opt-in CI job/matrix for the real Wasm/Tauri screenshot integration test.
- Cover native Linux/macOS/Windows x86-64 and ARM64 execution.
- Install documented Tauri prerequisites. Linux must use WebKitGTK 4.1 and run focused test under
xvfb. - Route every Rust tool invocation through
soldr. - Upload produced PNG when available plus structured timing/resource trace on focused-test failure.
- Document focused Soldr commands to build guest, build opt-in runner, run test, format, and lint.
- Preserve ordinary lanes:
soldr cargo test --locked --no-default-featuresmust not resolve/compile Tauri, Wry, Wasmtime, fp-bindgen/generated support, or screenshot dependencies; existing each-feature lanes remain GUI-free unless testing the explicit combined feature.
Non-goals
No claim that cross-compilation proves native Tauri execution; no browser/desktop-capture substitute; no heavy GUI/Wasm dependencies in default or full merely for CI; no separate public example crate.
CI design
Use a dedicated combined feature for sketch host + Tauri capability. Isolate GUI packages/setup to its focused job. Existing supported-target compilation lanes are not execution evidence: native ARM runners are required for the acceptance criterion. If runner availability is missing, record an infrastructure blocker rather than counting a cross-build as success.
Update Bosn Linux image/tasks only if required to supply the same WebKitGTK/Xvfb prerequisites, preserving the existing read-only source mount and Soldr commands.
RED → GREEN acceptance criteria
- RED: current CI has no feature-gated native-webview/Wasm test job, GUI prerequisites, or feat(wasm): drive a Tauri screenshot task through the async kernal API #14 artifact collection.
- GREEN: dedicated job builds actual guest and runner through Soldr and runs offline real-webview integration test on Linux, macOS, and Windows.
- GREEN: Linux uses
xvfb+ WebKitGTK 4.1 and the private capture adapter. - GREEN: native x86-64 and ARM64 execution is demonstrated for each supported OS; cross-builds are not accepted as execution evidence.
- GREEN: failures upload PNG (when available) and structured load/capture timing/resource trace.
- GREEN: documented focused format/lint/build/test commands all use Soldr.
- GREEN: no-default test proves heavyweight dependency isolation.
Platform concerns
Tauri prerequisites and FFI toolchains vary by runner/architecture. ARM macOS/Windows availability is execution infrastructure, not a compile-only fallback. Linux virtual display must preserve visible-rendered capture semantics.
Deliverables
Focused CI matrix/job, setup and failure artifacts, any justified Bosn prerequisites, exact Soldr documentation, and recorded dependency-isolation evidence.
Activity
zackees commentedon Sep 14, 2026
Completed by PR #153 (merge fddd176). CI now builds actual guests and runs native screenshot/admission/parent-death proofs on Linux/macOS/Windows x86-64 and ARM64, retaining diagnostics. Run 34801708129 passed all six screenshot lanes.