Skip to content

Rewrite your app in Rust, piece by piece, checked against the original at every step. Works with TypeScript, JavaScript, Python, Go, Ruby, Java, C, PHP, C#, Kotlin, PowerShell and Swift.

28.6 KB
Raw Blame

HTTP server verification, packaging and Android (audit id A5b)

Scope and coverage ledger

All files below were read in full with the Read tool (no skimming by grep). Experiments were run only with a copy of the existing debug binary (target/debug/rust-anything) and scratch crates in the auditor's scratch dir; nothing in the repo was built or modified except this report.

File Lines Read
src/http.rs 3671 1-3671 (all, incl. the unit tests)
src/front_door_http.rs 697 1-697
src/mime.rs 740 1-740
src/package.rs 1183 1-1183
src/package/cli.rs 776 1-776
src/android.rs 623 1-623
src/android_device.rs 421 1-421
docs/packaging.md 195 1-195
tests/http.rs 2287 1-2287 (1-640, 598-1560, 1556-2287)
tests/mime.rs 40 all
tests/package.rs 623 all
tests/android_device.rs 100 all
tests/native.rs 1598 all

Read outside the assigned list only to trace a path: src/main.rs (diff exit code, app record summary), src/app.rs (record http branch, reserve_case_name, drop_stale, Config), src/harness.rs (build, sources_newer_than, check_module, diff_android, record_android), src/front_door.rs (cargo_build, original_rs), src/effects.rs (SMTP sink), src/codegen_java.rs (device driver same/record), docs/STATUS.md, .github/workflows/ports-npm.yml. The numbers in docs/packaging.md ("2000/2000", "17,224/17,224", timings) are hand measurements on macOS arm64 and could not be re-run here; I did not check them.

Summary

  • 3 HIGH, 6 MEDIUM, 6 LOW. Nothing found that makes app replay pass vacuously: a server that never starts, answers nothing or dies mid-run fails replay loudly. The weak points are in what a passing HTTP replay compares, in record quietly shrinking a recording, and above all in package, which verifies nothing.
  • package happily wraps a crate whose every function is unimplemented!() into a publishable looking npm layout (I ran it, exit 0). The generated workflows only check that a .node loads or a Python module imports; the CLI workflow checks nothing.
  • The napi package's index.cjs silently falls back to the original JS when no binary loads, and the documented way to check an installed package (diff --module <pkg>/index.cjs) then reports "N/N cases match" with no Rust running. tests/package.rs itself shows this (lines 210-221).
  • HTTP replay compares only headers that were recorded and not in SKIP_HEADERS: a port that drops ETag/Last-Modified, or adds CORS/CSP/Content-Disposition headers, passes 2/2 (run).
  • CLI package: ships target/release/<bin> that no replay ever ran (all replays use the debug build), its staleness check cannot see the wired unit crates, and "the exact version that was recorded" is not recorded anywhere.
  • Android: diff --profile android does exit non-zero on a partial match, so 279/291 is a failure when run. But docs/STATUS.md labels the row "Tested" while the 12 mismatches are "not investigated" and no repo test runs the device diff at all.

Findings

A5b-01 [H1][H6] [HIGH] [CONFIRMED] napi package falls back silently; diff --module <package>/index.cjs passes with no Rust running

  • Where: src/package.rs:747-758 (index_cjs), src/package.rs:761-804 (native_cjs); src/harness.rs:332-341 (check_module accepts any path); tests/package.rs:210-221; docs/packaging.md:145-152.
  • What happens: the generated index.cjs is if (binding && MODE !== 'old') module.exports = require('./binding.cjs') else module.exports = require(<fallback>). load() collects errors but they are used only in the no-fallback throw branch. With a fallback (the default whenever the original is one plain JS file), a binary that fails to load, was omitted (--omit=optional), is the wrong libc, or whose platform package is missing gives the original JS with no message.
  • Failing scenario: npm install the main tarball only (or delete node_modules/<name>-<key>), then rust-anything diff <crate> --module node_modules/<name>/index.cjs. Every recorded case is answered by the original, so the result is N/N cases match. tests/package.rs does exactly this at lines 210-221: after removing the platform package it asserts load().binding == false and then replay(...) still asserts passed == total. The docs table "Where it was checked" (2000/2000, 2000/2000, 1144/1144) was produced by this route; those runs are only evidence for Rust if the binary really loaded, which the tool never asserts.
  • Evidence: if (binding && process.env.RUST_ANYTHING_MODE !== 'old') { ... } else { module.exports = require("<fallback>") }; check_module only checks manifest.language == Ts.
  • Fix / verification improvement: (1) make index.cjs export a non-enumerable marker (Symbol.for('rust-anything.backend') = 'rust' | 'original') and have diff --module refuse (or print Backend: original (0 cases exercised Rust) and exit non-zero) when the loaded module reports original; (2) honour RUST_ANYTHING_MODE=new in the generated loader by throwing the collected errors instead of falling back (the enable block already does this), and have the documented replay command set it; (3) print one stderr line on fallback when RUST_ANYTHING_DEBUG/NODE_DEBUG is set. Mechanical self-test: package, delete the platform package, run diff --module and assert FAILURE.

A5b-02 [H1][H2][H6] [HIGH] [CONFIRMED] package verifies nothing; stub crates package with exit 0; generated CI never runs a case

  • Where: src/package.rs:180-293 (package), src/package.rs:970-1047 (npm_yml), :903-968 (wheels_yml), src/package/cli.rs:610-717 (CLI workflow); docs/packaging.md:3.
  • What happens: package never reads cases.jsonl, the last diff result, the recording fingerprint, gate, or whether src/port.rs still contains unimplemented!. The docs say "Once a port passes gate", nothing enforces it. The generated metadata says "Rust port of <unit>". The workflows build, then: napi "Load check" = require('./native.cjs').load() (binary loads, no function called); wheels "Import check" = import <module>; the CLI workflow has no check at all (build, copy, npm pack). Cross-compiled targets (darwin-x64, linux-aarch64 wheels) have check: false and are never loaded.
  • Failing scenario (run): rust-anything bridge . src/shout.ts --out port --kind napi then rust-anything package port -> exit 0, writes package/ with package.json ("Rust port of src/shout.ts", version taken from the original's package.json), the five platform packages and the workflow; port/src/port.rs still has 2 unimplemented!. A fresh agent can publish this. Even a crate that passes diff is packaged without anything tying the shipped artifact to that result (see A5b-03).
  • Fix / verification improvement: package should refuse unless (a) a diff/gate verdict stamped with the hash of src/ + Cargo.lock + cases.jsonl says 100% (or --force), (b) port.rs has no unimplemented!/todo!. Add a smoke step to each generated workflow that replays a small bundled slice of cases.jsonl through the built artifact on every runner that can run it (node -e loop over cases for napi, python -c for wheels, --version plus 3 recorded runs for the CLI), and makes the check:false platforms say so in the job name.

A5b-03 [H1][H2] [HIGH] [CONFIRMED by reading] CLI package ships a release binary no replay ran, and its staleness check cannot see the ported code

  • Where: src/package/cli.rs:194-217, src/harness.rs:811-825 (sources_newer_than), src/front_door.rs:669-690,709-722 (cargo_build, build_and_replay), src/lift.rs:788,997,1052, src/drift.rs:81.
  • What happens: every check that replays a front door (app front-door --check, app wire --check, drift, lift) builds with plain cargo build (debug, target/debug). package copies app/target/release/<bin>, which only exists if the user ran cargo build --release by hand and was never replayed by the tool. sources_newer_than(app, &built) compares only app/Cargo.toml and app/src/**/*.rs; the wired units are separate path-dependency crates (../api-rs), and Cargo.lock/build.rs/dependency crates are not looked at. So editing port.rs in a unit after the last release build leaves no note, and the stale binary is copied. Even when it fires it is only a line in notes, exit code 0. Debug and release also differ in overflow checks.
  • Failing scenario: wire a unit, cargo build --release, fix a mismatch in rust/api-rs/src/port.rs, re-run app replay --build target/debug/... (green), rust-anything package rust/app: no warning, the shipped binary has the old port. Other platforms are built later in CI and never executed (the docs admit the generated workflows "have not been run on GitHub yet").
  • Fix / verification improvement: package should itself run app replay --build <the exact file it copies> (or refuse without a stamp saying that file's hash passed); treat a stale binary as an error; compute staleness over the whole dependency closure (cargo metadata path deps, Cargo.lock, build.rs) or simply compare the mtime to the newest file under rust/. Build the copied binary with --locked (the CI workflow does, the verified debug build does not).

A5b-04 [H1] [MEDIUM] [CONFIRMED, run] HTTP replay ignores extra response headers and skips ETag/Last-Modified/Content-Length/Transfer-Encoding

  • Where: src/http.rs:23-36 (SKIP_HEADERS), :2285-2303 (replay loops over spec.headers only), :1793-1820 (settle_headers), :480 (HEAD body not read, so Content-Length of a HEAD reply is never compared).
  • What happens: replay checks status, then only those headers that are in the recording. Anything the build adds is invisible. etag, last-modified, age, via, x-powered-by, server, date, content-length, transfer-encoding, connection, keep-alive are never compared at all.
  • Failing scenario (run, against a recorded Content-Type, Cache-Control, Set-Cookie, ETag server): a build with no ETag -> 2/2 cases passed; a build with the recorded headers plus Access-Control-Allow-Origin: *, Content-Security-Policy: default-src * and Content-Disposition: attachment; filename=x.exe -> 2/2 cases passed. A changed Cache-Control or a different Set-Cookie is caught (0/2), so the check is real for headers that are recorded. Clients do rely on ETag/Last-Modified (conditional GET, caches), on CORS and security headers, and on Content-Length of HEAD.
  • Evidence: for (k, expected) in &spec.headers { ... resp.headers.get(&key) ... } and no loop over resp.headers. tests/http.rs only mutates a body message (division by zero -> divide by zero); no test changes a header.
  • Fix / verification improvement: keep skipping volatile values but compare presence of etag/last-modified/content-length (record them as [..]); report extra build headers as a separate non-zero "extra header" class (opt out with --allow-extra-headers); compare Content-Length on HEAD; add header-only mutation tests (drop, add, change one header) next to the existing body mutation in tests/http.rs::check_language.

A5b-05 [H6][H2] [MEDIUM] [CONFIRMED, run] app record for a server drops failed requests, exits 0 with "Recorded 0 cases", deletes the previous recording, and records an all-5xx server as healthy

  • Where: src/http.rs:1967-1971 ((Ok(a), Ok(b)) = ... else { timed_out.push; continue }), src/app.rs:2166-2169 (drop_stale), src/main.rs:1992-1994 (message).
  • What happens: any request that errors in either of the two runs (connection refused, reset, read timeout, server crash) is silently removed from the recording and reported as "Timed out, not recorded" even when nothing timed out. If all are dropped the command still succeeds and drop_stale removes the earlier good cases. A server that is up but broken (missing DB, bad config) and answers 500 to everything is recorded as 100% valid 500 cases, with no warning.
  • Failing scenario (run): record a good server (2 cases), then re-record against a server that accepts and closes connections: output Recorded 0 cases, Timed out, not recorded: a, b, Removed, recorded before but not now: a, b, exit 0; app replay then fails with "no HTTP cases". Separately, a server that returns 500 {"error":"db connection refused"} for every route records 2 cases, and app replay is green (2/2) for any build that also answers 500. A server that crashes on one poisoned request silently loses every later request from the recording.
  • Fix / verification improvement: exit non-zero (or require --allow-drops) when any case was dropped; say "no response (connection closed)" instead of "timed out" when the cause is not a timeout; refuse to replace a recording by one with fewer cases without --force; warn loudly when >= 50% of recorded statuses are 5xx (or the very first request is). Test: a server that closes connections must make app record fail and leave the old recording intact.

A5b-06 [H6] [MEDIUM] [CONFIRMED, run] curl examples the parser does not understand are silently skipped at record time

  • Where: src/http.rs:1431-1615 (parse_curl: unknown flag -> return None), :1872 (examples).
  • What happens: README lines using -u/--user, -I, -G, --data-urlencode, --compressed, --url, -T, -L combined with unlisted flags etc. make parse_curl return None; the example is dropped without a word. record prints only the count of examples used.
  • Failing scenario (run): a README with six curl lines (-u admin:secret .../admin, --compressed, -I, -G --data-urlencode, --url, one plain GET) records 1 from examples; the authenticated admin route and four others are never recorded, so a port may break them undetected. Drift lists such examples only later (unrecorded_examples).
  • Fix / verification improvement: print every skipped example with the unsupported flag (skipped 5 curl examples: line 3 (-u)...), and support -u, -I (HEAD), -G/--data-urlencode, --url, --compressed. Test: README fixture with one of each unsupported flag asserts they are listed.

A5b-07 [H1] [MEDIUM] [CONFIRMED, run] SMTP effect canonicalisation collapses distinct non-UTF-8 text and ignores most headers

  • Where: src/mime.rs:13-66 (only From/To/Cc/Subject + leaf parts), :513-531 (decode_charset: only windows-1252 and ISO-8859-1 are decoded, anything else is String::from_utf8_lossy), :117-118 (is_attachment); used by src/effects.rs:1052.
  • What happens: a message in windows-1251, iso-8859-2, shift_jis, gb2312, ... has its bytes replaced by U+FFFD, so two different texts of the same byte length compare equal. Reply-To, In-Reply-To, References, List-Unsubscribe, X-* headers, Content-ID, Date, Message-ID, the multipart/* nesting and the charset label are not part of the canonical form (Date/Message-ID deliberately; the rest not argued anywhere).
  • Failing scenario (run, copy of mime.rs in a scratch crate): subject and base64 body of "Привет" vs "Прощай" in windows-1251 produce the identical format_email output "Subject: ������\npart text/plain\n������\n"; a message with Reply-To: [email protected] and X-Priority: 1 formats identically to one without them. Envelope MAIL FROM/RCPT TO are recorded separately and are compared (so Bcc is covered).
  • Fix / verification improvement: decode with a real charset table (encoding_rs) and keep an unknown charset's bytes as hex rather than U+FFFD; add Reply-To, In-Reply-To, References, Content-Disposition, Content-ID and the multipart tree to the canonical form (or list the ignored header names in the recording so the user sees them); document smtp-raw as the strict mode. Test: two mails differing only in a windows-1251 word must not format equal.

A5b-08 [H2] [MEDIUM] [CONFIRMED] CLI package claims "the exact version that was recorded" and "byte-identical"; neither is recorded or checked

  • Where: src/package/cli.rs:1-4,159-162,364-437,592-607; src/app.rs:85-118 (Config has no original-version field); docs/packaging.md:88-93,104-105.
  • What happens: the pinned dependency is whatever node_modules/<pkg>/package.json says at package time, or whatever --original [email protected] says (only syntax is checked, ensure!(spec_name == name)). The recording never stored a version, so npm update between record and package, or a wrong --original, ships a package whose fallbacks run a different original than the recording, while package.json/README say "byte-identical to prettier" and "the exact version the port was recorded against".
  • Fix / verification improvement: write the original's version (and package.json hash of the entry package) into rust-anything.json at app record; package errors on mismatch unless --allow-version-change; soften the generated description to what is measured ("replayed N of M recorded runs byte for byte") and generate that number only from a stamped replay.

A5b-09 [H2] [MEDIUM] [CONFIRMED] Android row is labelled "Tested" although the device diff is not covered by any repo test and 12 of 291 do not match

  • Where: docs/STATUS.md:21,36-37 (also the translated copies of the page, e.g. website/pages/ta/docs/project/status.md:23,38); tests/android_device.rs:49-100; src/android_device.rs:329-390.
  • What happens: STATUS defines "Tested" as "covered by this repository's tests on fixtures". The only device test is records_a_kotlin_unit_on_a_connected_device: it silently returns without device/kotlinc/SDK (so CI reports it green), and it covers record only (cases > 20). No test calls android_device::diff. The 279/291 and "12 not investigated" came from a hand run on one Android 11 TV. The table's "Last real run" column says "none" for the same row. The tool behaviour is fine: main.rs:1342 returns FAILURE when failed > 0, so 279/291 is not silently green. The labelling is the problem: 12 unexplained mismatches on a 32-bit armeabi-v7a library (usize is 32-bit there) may be real port divergences.
  • Fix / verification improvement: label the row "Not verified: 279/291 by hand, 12 unexplained"; give the device diff its own guarded test that asserts failed == 0 for the fixture, and make a guarded test that fails (instead of skipping) when RUST_ANYTHING_REQUIRE_DEVICE=1.

A5b-10 [H6] [MEDIUM] [CONFIRMED] CLI launcher and postinstall fall back / fail silently

  • Where: src/package/cli.rs:439-470 (launcher), :541-573 (postinstall), :472-539 (native.cjs).
  • What happens: with no platform binary (--omit=optional, musl, unsupported arch, RUST_ANYTHING_MODE=old inherited from the environment) the launcher runs the original with no output and the original's exit code. The postinstall wraps everything in try {} catch {} and returns early on many conditions without a message. A user or CI that asks "is the Rust binary in use?" cannot find out except by file bin/<cmd>. README and docs do describe the fallback, so this is documented behaviour, but it makes any "install and compare outputs" check unable to tell the two apart (the repo's own ports-npm.yml does test "$(file ...)" = ELF, a good workaround that generated workflows do not have).
  • Fix / verification improvement: <cmd> --rust-anything-which (or env RUST_ANYTHING_VERBOSE=1) printing the backend; generated workflow asserts it; make postinstall log one line when it declines to swap.

A5b-11 [H1][H6] [LOW] [CONFIRMED by reading] Android build: partial install on failure, and ABIs the tool never runs

  • Where: src/android.rs:165-220, :20 (DEFAULT_ABIS).
  • What happens: each ABI is built then installed into jniLibs/<abi>/ inside the loop; a failure in a later ABI (bail!) leaves the earlier ones new and the later ones from an older build, i.e. a mixed-version jniLibs/ with a non-zero exit that Gradle will happily package. The checks done per library are symbol presence and 16 KB alignment; only the device's own ABI can ever be diffed (android_device::diff uses ro.product.cpu.abi), so the other default ABIs (armeabi-v7a, x86_64) are shipped with no behavioural check. Symbols present does not mean the function is ported (unimplemented! exports).
  • Fix / verification improvement: build all ABIs into a temp dir and install together, or delete the requested ABI folders first; print "built, not run: armeabi-v7a, x86_64" in the report; refuse a library whose crate still holds unimplemented!.

A5b-12 [H1] [LOW] [PLAUSIBLE] JVM device driver compares exceptions by simple class name and drops uncallable cases when recording

  • Where: src/codegen_java.rs:759-768 (same: expected.error_type == got.error_type, message never compared), :786-788 (record: invalid/missing cases continue without a trace), :701-703 (ClassNotFoundException swallowed). Used by android_device::record/diff.
  • What happens: an error case matches on getSimpleName() alone; a class that fails to load on ART (missing desugared library) records 0 cases with exit 0 (a later diff then refuses with "no recorded cases", so it cannot pass vacuously). Owned by the JVM audit; noted because Android goes through the same driver.
  • Fix / verification improvement: include the message (with an opt-in normaliser) in the comparison; have record print how many generated cases were skipped as invalid/missing.

A5b-13 [H1] [LOW] [WEAK] HTTP replay never exercises connection-level behaviour

  • Where: src/http.rs:527-552 (connect: always Connection: close, one request per connection, Content-Length bodies only), :405-432 (trailers read and discarded), :434-462 (1xx other than 101 dropped), :498-500 (bytes past Content-Length truncated silently), :1146-1155 (strictly sequential).
  • What it means: a port that mishandles keep-alive/pipelining, chunked or Expect: 100-continue request bodies, concurrent requests, streamed responses (SSE, chunk boundaries), trailers or 103 Early Hints, or that sends extra bytes after the declared length, passes. Transfer-Encoding is also ignored, so a streaming original answered with a buffered body passes.
  • Fix / verification improvement: a second pass per case on one keep-alive connection, and an opt-in concurrent pass (N identical GETs in parallel must equal the sequential answer); record and compare trailers.

A5b-14 [H5] [LOW] [PLAUSIBLE] Order, timing and bind hazards

  • src/http.rs:1891-1895,1929: cases are sent in string order of their names and {:03} is not padded past 999, so with more than 999 unnamed inputs input-1000-* runs before input-101-*; a stateful sequence then runs in a different order from the input file (record and replay agree, so no false pass, but the semantics are not what the author wrote).
  • src/http.rs:1146-1155: effect sinks and fallback logs are read right after the response unless --pace is set, so a webhook sent after answering lands in the next case; flaky, not a false pass.
  • src/http.rs:257-268,748-811: free_port binds and drops, then Server::start checks listening() and later accepts the first connection on the port; if another process takes the port in between and the child has not yet exited, the "ready" server can be a stranger. Window is small and the test start_ephemeral_retries_... covers the PortInUse path only.
  • src/front_door_http.rs:138: the generated front door binds 0.0.0.0, not loopback; with app replay this exposes the proxied original on all interfaces for the duration of a run.
  • src/front_door_http.rs:390: the proxy turns an upstream body read error into an empty body with the original's status (answer.bytes().await.unwrap_or_default()).
  • Fix: pad case numbers to a width that fits the count, bind loopback unless told otherwise, and map a failed body read to 502.

A5b-15 [H6] [LOW] [CONFIRMED] Runtime-dependent tests silently pass when the tool is missing

  • tests/http.rs (check_language for php/ruby/go/java/csharp, common::python() guards), tests/native.rs (common::have("node"), common::python()), tests/package.rs (node, npm, host key), tests/android_device.rs: each returns on a missing runtime, so a CI image without the tool is green. STATUS.md says which are skipped in CI, but there is no "ran N of M" gate.
  • Fix: a RUST_ANYTHING_REQUIRE_RUNTIMES=node,python3,go,... env that turns each skip into a failure, set in CI for the jobs that install those runtimes.

Verification improvements for this area (ranked)

  1. Make package a verifier: refuse stubs and unverified crates, replay the exact artifact it copies (A5b-02, A5b-03), and add a one-case-per-function smoke step to every generated workflow.
  2. Add a backend marker to generated loaders and make diff --module / app replay --build refuse or flag a fallback (A5b-01, A5b-10). Cheap mutation test: remove the platform package, expect FAILURE.
  3. Header mutation tests (drop/add/change each header) in tests/http.rs, and compare presence of the skipped headers plus a report of extra headers (A5b-04).
  4. Make app record fail on dropped requests / 0 cases / mostly-5xx, and list skipped curl examples (A5b-05, A5b-06).
  5. Record the original's version at app record; package checks it (A5b-08).
  6. Real charset decoding and a fuller canonical form for mail (A5b-07).
  7. Re-label the Android rows and add a guarded device diff test that asserts failed == 0 (A5b-09); install ABIs atomically (A5b-11).
  8. RUST_ANYTHING_REQUIRE_RUNTIMES gate for skipped tests (A5b-15).

Things checked and found sound (so nobody re-checks them)

  • Replay cannot pass with a server that never starts, exits, or answers nothing: Server::start errors on early exit / no listen within --ready-timeout; a failed request in replay is a no response problem; load_specs refuses zero cases. A fixed port that is already taken is refused before spawning (and in replay). Verified by reading and by tests/http.rs.
  • Server processes are stopped as a tree (TERM then KILL, ps-based, pid-reuse guarded), on error paths, on --ready failure, and on SIGINT; covered by tests (a_server_started_through_a_wrapper..., an_interrupted_record_leaves_no_server_listening).
  • State between cases: servers are restarted fresh for both recording runs and for each replay; --fresh copies a snapshot into a new cwd per start (tests/http.rs::http_fresh_files_and_arguments_reach_every_start); repeated named inputs are kept as separate cases; replay sends in the same name order as record. Without --fresh a server that writes into the repo leaks state (documented pitfall; noise is reported as [..] and listed after record).
  • Status code, redirect Location (redirects are not followed), Set-Cookie, Cache-Control, Content-Type/charset and every other header that was recorded are compared, with duplicate headers joined in order; body is compared as bytes/lines (not parsed JSON), so key order and whitespace differences fail unless the opt-in normalisers are used. A changed Cache-Control and a changed Set-Cookie both failed in my run.
  • Response framing: Content-Length (duplicates must agree), chunked, close-delimited, 100/103 skipped, 204/304/HEAD bodyless, per-response deadline, interrupted reads, malformed chunks are all unit tested and behave as stated.
  • --ready is validated before starting a server and a never-2xx server fails and is stopped (tests). Readiness through [::1] only is handled.
  • Port reuse between two recording runs with a fixed port: end_tree waits until the processes are gone before the second start.
  • package: output folder safety (stamp file, refusal of a non-empty foreign folder), npm name and version validation, --bin/--original/--fallback refusals per kind, Cargo.lock/build.rs copy for PyO3, --locked in the CLI workflow, license files copied into every platform package, the CLI RUN parsing of rustfmt-wrapped arrays - all read and unit tested.
  • Android build: API floor 26, NDK discovery ignoring half-installed NDKs, symbol check against src/lib.rs, 16 KB LOAD alignment check, stale-library refusal in android_device::diff, and device scratch cleanup on drop; diff --profile android returns a failing exit code for any failed case (src/main.rs:1342), so a partial match is surfaced as a failure when the command is run.
  • docs/packaging.md is candid that the generated workflows have not run on GitHub and that other platforms' binaries are untested; the ESLint 93 failing runs are listed, not hidden.