open-standards/wai/wai-rs/tests/support
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science 4962798a7b
Some checks failed
joule-moq-web browser client / joule-moq-web · does this change touch it (push) Successful in 25s
energy meters on real hardware / RAPL and NVML on jetson-hub (push) Successful in 51s
joule-moq-room room service / joule-moq-room · does this change touch it (push) Successful in 44s
jouleclaw public surface must stay documented / Public-surface audit (jouleclaw-rs) (push) Successful in 43s
WAI breaking changes and the conformance runner / WAI breaking · does this change touch WAI (push) Successful in 37s
wai-audit collector and player integration / does this change touch it (push) Successful in 42s
wai-app and Create / wai-app · does this change touch it (push) Successful in 37s
joule-code conformance gate / joule-moq-relay, its own energy on a counter (macos) (push) Successful in 1m10s
joule-moq-remote host agent / joule-moq-remote · does this change touch it (push) Successful in 1m0s
wai-ledger service / does this change touch it (push) Successful in 29s
WAI operation catalogue / does this change touch it (push) Successful in 1m8s
wai-quantum for JavaScript / does this change touch it (push) Successful in 37s
wai-quantum command line / does this change touch it (push) Successful in 53s
wai-quantum contract / does this change touch it (push) Successful in 52s
wai-quantum editors / does this change touch it (push) Successful in 44s
wai-fleet service / does this change touch it (push) Successful in 1m10s
wai-quantum docs, course and locales / does this change touch it (push) Successful in 44s
wai-quantum studio and desktop / does this change touch it (push) Successful in 26s
wai-quantum for Python / does this change touch it (push) Successful in 39s
wai-sink-android native sink library / does this change touch it (push) Successful in 22s
joule-code conformance gate / Build + round-trip C1-C4 vectors (push) Successful in 2m3s
wai-quantum views in agent hosts / does this change touch it (push) Successful in 23s
WAI Studio / does this change touch it (push) Successful in 16s
wai-sink-swift native sink package / does this change touch it (push) Successful in 35s
wai-quantum contract / the policy is linked, and the deprecations page reads (push) Successful in 19s
wai-app and Create / wai-app · tests, clippy, the line language's verifier (linux) (push) Successful in 1m5s
wai-quantum docs, course and locales / the Studio's words in every locale · linux (push) Successful in 16s
wai-ledger service / service · macos (push) Successful in 1m19s
wai-audit collector and player integration / collector, player integration and the browser end to end · macos (push) Successful in 2m30s
energy meters on real hardware / sink decode table · per-task energy and the GPU rail on macOS (push) Successful in 4m1s
joule-moq-remote host agent / joule-moq-remote, every target (linux-arm64) (push) Successful in 2m28s
joule-moq-remote host agent / joule-moq-remote, every target (macos) (push) Successful in 1m2s
WAI breaking changes and the conformance runner / WAI breaking · wire, record and API against main · linux (push) Successful in 3m1s
wai-audit collector and player integration / collector · linux (push) Successful in 3m1s
energy meters on real hardware / sink decode table · RAPL on jetson-hub (NVML surveyed) (push) Successful in 3m12s
wai-ledger service / service · linux (push) Successful in 2m46s
WAI Studio / the catalogue's actions, the unit tests and the core · linux (push) Successful in 59s
wai-quantum editors / editors · macos (push) Successful in 1m57s
joule-code conformance gate / joule-moq-relay, every target (push) Successful in 6m13s
wai-quantum command line / command line · macos (push) Successful in 2m13s
wai-quantum docs, course and locales / the course and the command line's languages · linux (push) Successful in 4m27s
wai-fleet service / service · macos (push) Successful in 1m1s
wai-quantum for Python / python · macos (push) Successful in 3m17s
WAI breaking changes and the conformance runner / WAI breaking and conform · their tests, and the independent verifiers through wai conform · linux (push) Successful in 6m11s
wai-app and Create / wai-app · Create, browser end-to-end (macos) (push) Successful in 6m41s
wai-fleet service / service · linux (push) Successful in 5m59s
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (push) Successful in 5m59s
wai-quantum for Python / python · linux (push) Successful in 6m0s
wai-quantum studio and desktop / studio · browser (push) Successful in 6m20s
wai-quantum editors / editors · linux (push) Successful in 7m35s
joule-moq-room room service / joule-moq-room, every target (push) Successful in 8m14s
wai-quantum views in agent hosts / views · the page and its engine (push) Successful in 7m20s
wai-quantum studio and desktop / desktop app · macos (push) Successful in 3m37s
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (push) Successful in 10m36s
joule-code conformance gate / joule-moq-ingest, every target (push) Successful in 11m13s
wai-quantum for JavaScript / javascript · linux (push) Successful in 9m51s
wai-quantum contract / API compatibility · linux (push) Successful in 9m39s
wai-quantum views in agent hosts / views · a scripted host (push) Successful in 11m10s
WAI operation catalogue / the catalogue and every door · linux (push) Successful in 14m39s
wai-quantum studio and desktop / desktop app · linux (push) Successful in 14m24s
wai-sink-android native sink library / every ABI, the AAR, and the instrumented tests in a headless emulator · macos (push) Successful in 9m10s
wai release binaries build on Windows / the seven release binaries · windows (push) Successful in 17m14s
wai-quantum contract / schemas and the committed tool lists · linux (push) Successful in 16m50s
joule-moq-web browser client / joule-moq-web · browser end-to-end (macos) (push) Successful in 18m16s
wai-sink-swift native sink package / libwai slices, desktop tests, simulator tests · macos (push) Successful in 12m15s
WAI Studio / Studio in Chromium and Firefox · macos (push) Successful in 13m24s
WAI Studio / Studio in WebKit · linux (push) Successful in 18m35s
wai-quantum docs, course and locales / every command and snippet in the docs · linux (push) Successful in 27m20s
wai-quantum command line / command line · linux (push) Successful in 39m3s
wai-quantum studio and desktop / desktop app · windows (push) Failing after 22m49s
wai's cli_conform and cli_studio tests kill and reap the origin and wai dev they start, however the test ends
A std::process::Child is not killed when it is dropped. tests/cli_conform.rs held `wai http
origin` as a bare Child and killed it (without reaping it) once its conform run was done, and
tests/cli_studio.rs held `wai dev --for 120` and killed it, then each service by its pid, on the
test's last lines; a test that failed before them (a conform run's answer that is not JSON, a
page or a socket that is not as it should be) left the origin listening, or wai dev with its
relay and its room service, once the test binary had ended.

tests/support/running.rs, included as support/program.rs is, holds a child in `Running`, as
wai-quantum-service's tests do (04d19cfd8): its drop kills it and reaps it, waiting up to 10 s.
origin() and start() take their child into one as they spawn it, so one that never prints where
it listens is killed too. `wai dev` is spawned as the leader of a process group of its own,
which the services it starts join (it moves none of them out), and `Running::group` kills that
group before it reaps the leader, while the leader's pid, the group's id, can be no other
process's; a leader that has already ended is reaped and not signalled, nor is its group. The
test's last lines drop it instead of killing each service by its pid. The stand-in services
here also end within 0.5 s of losing their parent, so this holds whether or not a service
watches for that.

Planted fault, on the Framework (Linux): one test in each file made to panic mid-way with its
process up (cli_conform.rs's origin test after its first conform run, cli_studio.rs's test once
the stack had answered with its three services), each run alone in a session of its own (setsid),
the session listed (pgrep -s) 3 s after cargo ended. At main, cli_conform.rs left `wai http
origin` listening and cli_studio.rs left `wai dev` with its relay and its room service, each
then killed by its session; with the guard neither left a process.

Gates, on the Framework: cargo test --locked --no-default-features --features
quickstart,score,key_discovery --test cli_conform --test cli_studio passed (18 tests in 2
binaries), leaving nothing in its session, with a python3 that has the cryptography package
that cli_conform.rs's real independent verifier needs. cargo clippy on those two targets
(--no-deps) finds nothing in the touched files and nothing main does not: the lib has 65
findings of its own under these features, the same 65 at main. The light checks pass.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-10 12:35:59 -05:00
..
program.rs wai-rs tests: every program a test runs is written by a process of its own 2026-11-09 22:50:40 -05:00
require_vectors.rs wai: the headline decode tests fail on a missing input, and CI supplies their inputs 2026-09-28 18:40:59 -04:00
running.rs wai's cli_conform and cli_studio tests kill and reap the origin and wai dev they start, however the test ends 2026-11-10 12:35:59 -05:00
sha256_sidecar.rs wai/tests: serialize sha256.json sidecar writes and document their regeneration 2026-10-01 08:53:26 -04:00