Skip to content

ci(wasm-tauri): run and document the focused native-webview proof #22

Closed

Description

@zackees

Parent: #14

Dependencies

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-features must 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

  1. added
    enhancement
    on Aug 27, 2026
  2. zackees commented on Sep 14, 2026

    @zackees
    CollaboratorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions