test(tests): R4.8 ledger reads its 301 frozen cases from the committed TSV, re-derives the dispositions of the deleted suites, checks every cargo and vitest target; browser scripts cite the frozen N-1 inflate copy

This commit is contained in:
bchanot committed 2026-10-19 12:17:01 +02:00
1 parent 0dc1ba27c7
commit e88769a707
5 files changed
+343 -316

No files matched your search

+1 -1
View File
@@ -184,7 +184,7 @@ length and digest) to a temporary `<slug>.pdf`, removed after its run.
Reads `crates/core/tests/oracles/r4/inflate.json` and its inputs under
`apps/app/tests/fixtures/pdf/r4/inflate/` (each checked against the recorded
length and sha256), runs in each engine, on the application's Home page, a
copy of `inflateFlate` from `packages/pdf/src/attachment/inflate.ts`
copy of `inflateFlate` from the R3 engine (now the frozen N-1 copy `packages/core-wasm/tests/n-1/scanner/attachment/inflate.ts`)
(`DecompressionStream('deflate')`, 16 KiB awaited slices, concurrent drain,
null past the row's limit or on any error), and writes
`inflate.browsers.json`: per row, Node's verdict copied from `inflate.json`
+3 -2
View File
@@ -1,6 +1,7 @@
// O9 browser verdicts (R4.1e, plan §B.1.2 "Inflation", §B.5.1): runs, in
// each engine, the algorithm of packages/pdf/src/attachment/inflate.ts
// `inflateFlate` (copied into the page below) on every row of
// each engine, the algorithm of the R3 engine's `inflateFlate` (the frozen
// copy packages/core-wasm/tests/n-1/scanner/attachment/inflate.ts; copied
// into the page below) on every row of
// crates/core/tests/oracles/r4/inflate.json, with the row's limit, on the
// input bytes of apps/app/tests/fixtures/pdf/r4/inflate/. Writes
// crates/core/tests/oracles/r4/inflate.browsers.json (per row: Node's
+3 -2
View File
@@ -4,8 +4,9 @@ import { dirname, join, resolve } from 'node:path'
/**
* Fixture files, and the R4 oracle inputs committed as generator
* descriptions (`<slug>.gen.json`, generator `concat/1`, written by
* packages/pdf/tests/helpers/r4-reader-io.ts for inputs over 2 MiB).
* descriptions (`<slug>.gen.json`, generator `concat/1`, written at the
* R4.1 freeze by the engine's generator helper, deleted at R4.8, for inputs
* over 2 MiB; `crates/core/tests/common/r4.rs` expands them).
*/
export const sha256 = (bytes) =>