Some checks failed
joule-moq-remote host agent / joule-moq-remote · does this change touch it (pull_request) Successful in 6s
joule-moq-room room service / joule-moq-room · does this change touch it (pull_request) Successful in 6s
joule-moq-web browser client / joule-moq-web · does this change touch it (pull_request) Successful in 6s
wai-app and Create / wai-app · does this change touch it (pull_request) Successful in 6s
wai-web reach builds / wai-web reach · does this change touch it (pull_request) Successful in 6s
wai-app and Create / wai-app · tests, clippy, the line language's verifier (linux) (pull_request) Successful in 34s
wai-web reach builds / wai-web reach builds · the package of record, every output as recorded (pull_request) Successful in 2m31s
wai-web reach builds / wai-web reach builds · this tree's wai-web, every rung on its engine line (pull_request) Successful in 4m26s
standards workspaces build + test / which workspaces this change touches (pull_request) Successful in 7s
wai-audit collector and player integration / does this change touch it (pull_request) Successful in 7s
WAI conformance / does this change touch it (pull_request) Successful in 7s
WAI energy receipts / does this change touch it (pull_request) Successful in 6s
WAI examples / WAI examples · does this change touch them (pull_request) Successful in 6s
wai-fleet service / does this change touch it (pull_request) Successful in 6s
wai-ledger service / does this change touch it (pull_request) Successful in 7s
wai-pack / wai-pack · does this change touch it (pull_request) Successful in 7s
WAI conformance / cross-arch byte-equality · linux (pull_request) Successful in 35s
wai-quantum studio and desktop / does this change touch it (pull_request) Successful in 6s
wai-sink-android native sink library / does this change touch it (pull_request) Successful in 6s
wai-sink-swift native sink package / does this change touch it (pull_request) Successful in 6s
wai-audit collector and player integration / collector · linux (pull_request) Successful in 1m10s
WAI Studio / does this change touch it (pull_request) Successful in 7s
wai-web wasm32 / does this change touch it (pull_request) Successful in 6s
WAI conformance / faces from keypoints under wasm32-wasip2 (wasmtime) (pull_request) Successful in 1m53s
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (pull_request) Successful in 2m37s
WAI conformance / quantum core and corpus under wasm32-wasip2 (wasmtime) (pull_request) Successful in 2m28s
joule-moq-remote host agent / joule-moq-remote, every target (linux-arm64) (pull_request) Successful in 1m22s
WAI conformance / fast integer kernels, every x86_64 kernel set (AVX-512 silicon) (pull_request) Successful in 3m10s
wai-ledger service / service · linux (pull_request) Successful in 1m33s
wai-fleet service / service · linux (pull_request) Successful in 2m52s
wai-pack / wai-pack · linux (pull_request) Successful in 1m40s
joule-moq-room room service / joule-moq-room, every target (pull_request) Successful in 3m36s
WAI Studio / the catalogue's actions, the unit tests and the core · linux (pull_request) Successful in 1m42s
wai-quantum studio and desktop / studio · browser (pull_request) Successful in 3m20s
WAI conformance / v2 vocabulary · manifests validate as stated (pull_request) Successful in 32s
WAI examples / WAI examples · portable · linux (pull_request) Successful in 10m8s
WAI energy receipts / energy receipts · linux (pull_request) Successful in 10m42s
wai-web wasm32 / wai-web wasm32 build · corpus, menu and writers (pull_request) Successful in 7m36s
standards workspaces build + test / joule-code-rs (joule-code/joule-code-rs, joule-code-rs, linux-arm64, true) (pull_request) Successful in 8m48s
WAI conformance / delivery telemetry · CMCD and CMSD against an independent library (pull_request) Successful in 18s
WAI Studio / Studio in WebKit · linux (pull_request) Successful in 11m48s
WAI conformance / cross-arch byte-equality · linux-arm64 (pull_request) Successful in 35s
WAI conformance / C2PA manifest emission · signed, read back, validated (pull_request) Successful in 1m55s
WAI conformance / cargo-class corpora · linux (pull_request) Successful in 18m58s
WAI conformance / each feature of the independent verifiers' steps compiles alone (pull_request) Successful in 13m9s
WAI examples / WAI examples · android-app · linux-arm64 (pull_request) Successful in 5m20s
WAI energy receipts / energy receipts · linux-arm64 (pull_request) Successful in 9m10s
wai-pack / wai-pack · linux-arm64 (pull_request) Successful in 1m46s
wai-pack / wai-pack · the floor through a media prober (pull_request) Successful in 24s
joule-moq-remote host agent / joule-moq-remote, every target (macos) (pull_request) Successful in 1m0s
wai-pack / wai-pack · dependency licences (pull_request) Successful in 2m21s
WAI conformance / cargo-class corpora · linux-arm64 (pull_request) Successful in 24m33s
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (pull_request) Successful in 2m42s
wai-pack / wai-pack · independent verifier (Python) (pull_request) Successful in 8m2s
wai-app and Create / wai-app · Create, browser end-to-end (macos) (pull_request) Successful in 7m2s
joule-moq-web browser client / joule-moq-web · browser end-to-end (macos) (pull_request) Successful in 16m51s
wai-audit collector and player integration / collector, player integration and the browser end to end · macos (pull_request) Successful in 1m43s
standards workspaces build + test / macOS energy backends (pull_request) Successful in 11m16s
WAI conformance / cross-arch byte-equality · macos (pull_request) Successful in 51s
WAI conformance / codec wrappers · fuzz smoke, text decode limits, C entry points, provenance, the semantic path (pull_request) Successful in 1m46s
WAI energy receipts / energy receipts · macos (pull_request) Successful in 6m29s
wai-fleet service / service · macos (pull_request) Successful in 41s
wai-ledger service / service · macos (pull_request) Successful in 51s
wai-pack / wai-pack · macos (pull_request) Successful in 3m21s
WAI conformance / cargo-class corpora · macos (pull_request) Failing after 17m11s
WAI conformance / independent verifiers · claims, JWP, key discovery and integer payloads (Python) (pull_request) Successful in 1h5m40s
wai-quantum studio and desktop / desktop app · macos (pull_request) Successful in 2m49s
WAI examples / WAI examples · the archive, the readiness check, the browser and Apple · macos (pull_request) Successful in 15m23s
wai-sink-android native sink library / every ABI, the AAR, and the instrumented tests in a headless emulator · macos (pull_request) Successful in 7m49s
WAI Studio / Studio in Chromium and Firefox · macos (pull_request) Successful in 9m55s
wai-sink-swift native sink package / libwai slices, desktop tests, simulator tests · macos (pull_request) Successful in 16m33s
Co-Authored-By: Claude Opus 5.5 <[email protected]>
190 lines
8.2 KiB
YAML
190 lines
8.2 KiB
YAML
name: WAI Studio
|
|
|
|
# WAI Studio on the web (wai/wai-studio): one front end, its core in WebAssembly, served by
|
|
# `wai dev` at /_wai/ and hosted by the WAI site.
|
|
#
|
|
# - catalogue · linux: Studio's actions hold to the operation catalogue (scripts/actions.mjs
|
|
# --check: an action with no operation, an operation placed for the browser with no action,
|
|
# a mismatched name), the unit tests that need no core build (the generation and every rule
|
|
# of the drift check broken in a copy, the palette, the local core's calls), and the core's
|
|
# own tests and clippy (core/, wai-studio-core, on the http-conformance vectors);
|
|
# - browser · macos: e2e/run.sh builds wai, the relay, the room service, the core, the room
|
|
# client's packages, the quantum engine, Quantum Studio and Studio; runs every unit test,
|
|
# the core's calls among them, and the drift check; then e2e/studio.e2e.mjs against a
|
|
# `wai dev` stack in Chromium and Firefox: each panel on both hosts, Inspect and Verify on
|
|
# conformance vectors with the results their cases expect, a room joined as a viewer, the
|
|
# palette, axe (WCAG 2.2 A and AA), no console error or failed request;
|
|
# - webkit · linux: the same in WebKit, in the browser image of the Playwright release
|
|
# package-lock.json pins (by digest). The macOS runner is started from SSH, and a process of
|
|
# an SSH session there cannot open WebKit's helper processes: WebKit never launches.
|
|
#
|
|
# `wai dev`'s side (/_wai/ on its origin, nothing listening beyond loopback) is tested in the
|
|
# WAI conformance workflow's quickstart step (tests/cli_studio.rs and the binary's own tests).
|
|
#
|
|
# Push filters match the push's delta, so every path Studio builds on is listed.
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- 'wai/wai-studio/**'
|
|
- 'wai/wai-rs/**'
|
|
- 'wai/catalogue/**'
|
|
- 'wai/quantum-studio/**'
|
|
- 'wai/wai-web/**'
|
|
- 'wai/wai-quantum/**'
|
|
- 'wai/wai-ops/**'
|
|
- 'wai/wai-live-web/**'
|
|
- 'wai/quickstart/build-web.sh'
|
|
- 'wai/http-conformance/**'
|
|
- 'wai/pack-conformance/stills/**'
|
|
- 'joule-code/joule-code-rs/crates/joule-moq-web/**'
|
|
- 'joule-code/joule-code-rs/crates/joule-moq-relay/**'
|
|
- 'joule-code/joule-code-rs/crates/joule-moq-room/**'
|
|
- 'rust-toolchain.toml'
|
|
- '.github/workflows/wai-studio.yml'
|
|
pull_request:
|
|
paths:
|
|
- 'wai/wai-studio/**'
|
|
- 'wai/wai-rs/**'
|
|
- 'wai/catalogue/**'
|
|
- 'wai/quantum-studio/**'
|
|
- 'wai/wai-web/**'
|
|
- 'wai/wai-quantum/**'
|
|
- 'wai/wai-ops/**'
|
|
- 'wai/wai-live-web/**'
|
|
- 'wai/quickstart/build-web.sh'
|
|
- 'wai/http-conformance/**'
|
|
- 'wai/pack-conformance/stills/**'
|
|
- 'joule-code/joule-code-rs/crates/joule-moq-web/**'
|
|
- 'joule-code/joule-code-rs/crates/joule-moq-relay/**'
|
|
- 'joule-code/joule-code-rs/crates/joule-moq-room/**'
|
|
- 'rust-toolchain.toml'
|
|
- '.github/workflows/wai-studio.yml'
|
|
|
|
jobs:
|
|
# The path filters gate the trigger; this job gates the work from the pull request's own
|
|
# diff (scripts/pr-touches-paths.py, reading the list above), as wai-pack.yml explains.
|
|
relevant:
|
|
name: does this change touch it
|
|
runs-on: linux-arm64
|
|
outputs:
|
|
run: ${{ steps.gate.outputs.run }}
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
with:
|
|
fetch-depth: 0
|
|
- id: gate
|
|
run: |
|
|
set -euo pipefail
|
|
r=$(python3 scripts/pr-touches-paths.py .github/workflows/wai-studio.yml \
|
|
"${{ github.event.pull_request.base.sha }}" \
|
|
"${{ github.event.pull_request.head.sha }}")
|
|
echo "this change touches WAI Studio: $r"
|
|
echo "run=$r" >> "$GITHUB_OUTPUT"
|
|
|
|
catalogue:
|
|
name: the catalogue's actions, the unit tests and the core · linux
|
|
needs: relevant
|
|
if: needs.relevant.outputs.run == 'true'
|
|
runs-on: linux
|
|
timeout-minutes: 60
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- name: Install Rust 1.98.0
|
|
shell: bash
|
|
run: |
|
|
export PATH="$HOME/.cargo/bin:$PATH"
|
|
command -v rustup >/dev/null 2>&1 || \
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
|
rustup toolchain install 1.98.0 --profile minimal --component clippy
|
|
rustup default 1.98.0
|
|
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '22'
|
|
- name: Studio's actions hold to the catalogue
|
|
working-directory: wai/wai-studio
|
|
run: node scripts/actions.mjs --check
|
|
# The core's calls (test/core.test.mjs) need the core built for the web; the browser
|
|
# job runs them. These need nothing built.
|
|
- name: Unit tests
|
|
shell: bash
|
|
working-directory: wai/wai-studio
|
|
run: |
|
|
set -euo pipefail
|
|
node --test --test-reporter=tap test/actions.test.mjs test/palette.test.mjs test/local-core.test.mjs 2>&1 | tee "$RUNNER_TEMP/unit.log"
|
|
grep -qE '^# pass [1-9]' "$RUNNER_TEMP/unit.log" && grep -qE '^# fail 0$' "$RUNNER_TEMP/unit.log" || { echo "::error::no unit test ran, or one failed"; exit 1; }
|
|
- name: The core's tests and clippy
|
|
shell: bash
|
|
working-directory: wai/wai-studio/core
|
|
run: |
|
|
set -euo pipefail
|
|
cargo test --locked 2>&1 | tee "$RUNNER_TEMP/core.log"
|
|
grep -qE '^test result: ok\. [1-9][0-9]* passed; 0 failed' "$RUNNER_TEMP/core.log" || { echo "::error::no test ran"; exit 1; }
|
|
cargo clippy --locked --all-targets -- -D warnings
|
|
|
|
browser:
|
|
name: Studio in Chromium and Firefox · macos
|
|
needs: relevant
|
|
if: needs.relevant.outputs.run == 'true'
|
|
runs-on: macos
|
|
timeout-minutes: 120
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
# launchd's PATH omits cargo and node on the macOS host runner.
|
|
- name: Put cargo and node on PATH
|
|
shell: bash
|
|
run: |
|
|
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
|
echo "/opt/homebrew/bin" >> "$GITHUB_PATH"
|
|
- name: wasm32 target and wasm-bindgen CLI 0.2.127
|
|
shell: bash
|
|
run: |
|
|
rustup target add wasm32-unknown-unknown
|
|
command -v wasm-bindgen >/dev/null && wasm-bindgen --version | grep -q ' 0\.2\.127$' || cargo install --locked wasm-bindgen-cli --version 0.2.127
|
|
- name: The browsers Playwright drives
|
|
shell: bash
|
|
working-directory: wai/wai-studio
|
|
run: |
|
|
set -euo pipefail
|
|
npm ci --ignore-scripts --no-audit --no-fund
|
|
npx playwright install chromium firefox
|
|
- name: Build everything, the unit tests, the drift check, and Studio in Chromium and Firefox
|
|
shell: bash
|
|
env:
|
|
STUDIO_OUT: ${{ runner.temp }}/wai-studio-e2e
|
|
run: nice -n 10 bash wai/wai-studio/e2e/run.sh --browsers chromium,firefox
|
|
|
|
webkit:
|
|
name: Studio in WebKit · linux
|
|
needs: relevant
|
|
if: needs.relevant.outputs.run == 'true'
|
|
runs-on: linux
|
|
timeout-minutes: 150
|
|
# Playwright 1.60.0's image (package-lock.json pins 1.60.0): Node, and WebKit with every
|
|
# library it needs.
|
|
container:
|
|
image: mcr.microsoft.com/playwright@sha256:9bd26ad900bb5e0f4dee75839e957a89ae89c2b7ab1e76050e559790e946b948
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
# The floor's zstd is C, compiled for wasm32 by clang and archived by llvm-ar.
|
|
- name: Rust 1.98.0 with the wasm32 target, clang and llvm, wasm-bindgen CLI 0.2.127
|
|
shell: bash
|
|
run: |
|
|
set -euo pipefail
|
|
apt-get update -qq
|
|
apt-get install -y -qq --no-install-recommends curl ca-certificates build-essential pkg-config clang llvm python3 git > /dev/null
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.98.0
|
|
"$HOME/.cargo/bin/rustup" target add wasm32-unknown-unknown
|
|
"$HOME/.cargo/bin/cargo" install --locked wasm-bindgen-cli --version 0.2.127
|
|
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
|
- name: Build everything, the unit tests, the drift check, and Studio in WebKit
|
|
shell: bash
|
|
env:
|
|
STUDIO_OUT: ${{ runner.temp }}/wai-studio-e2e
|
|
run: bash wai/wai-studio/e2e/run.sh --browsers webkit
|