Five paths: tasks fields.mjs and fields.test.mjs, webui README, public/bus.js (aria-label only) and bus-browser.test.mjs. Phase B: 14 node suites and 9 scripts green, 8 of 8 mutants killed. The literal U+202E is now an escape. Co-Authored-By: Claude Opus 5.5 <[email protected]>
52 lines
3.1 KiB
Plaintext
52 lines
3.1 KiB
Plaintext
✔ isRunId accepts the run id shape and nothing else (0.826811ms)
|
||
✔ a missing data root or runs directory lists nothing (1.284854ms)
|
||
✔ runs as a regular file lists nothing, as before (0.490778ms)
|
||
✔ listRunIds keeps r- names only, sorted oldest first (0.633818ms)
|
||
✔ listRunRecords returns each result, or null for an incomplete or unreadable one (1.748579ms)
|
||
✔ readRunRecord returns documents and artifacts in directory order (0.843954ms)
|
||
✔ readRunRecord is null for a missing run, a dangling link or a file (0.576044ms)
|
||
✔ readRunRecord and readRunDocument refuse an invalid run id before touching the disk (0.574708ms)
|
||
✔ readRunDocument reads only the three run documents (0.459296ms)
|
||
✔ a link inside the data root is followed (0.79002ms)
|
||
✔ a data root that is itself a link is trusted as configured (0.463484ms)
|
||
✔ a run directory linked out of the data root is never read (0.530378ms)
|
||
✔ a document linked out of the data root reads as null (0.789164ms)
|
||
✔ a runs directory linked out of the data root refuses (0.441758ms)
|
||
✔ a relative link that climbs out of the data root refuses (0.373507ms)
|
||
✔ a sibling whose name starts with the data root's name is outside it (0.440799ms)
|
||
✔ a link loop refuses instead of reading as missing (0.519175ms)
|
||
✔ an unreadable runs directory refuses instead of listing nothing (0.352333ms)
|
||
✔ an unreadable run directory refuses instead of reading as missing (0.408697ms)
|
||
✔ a link to the data root's parent is outside it (0.325624ms)
|
||
✔ listRunIds sorts whatever order the directory returns (0.633446ms)
|
||
✔ listRunRecords lists an r- name that isn't a valid run id, as before (0.40032ms)
|
||
✔ the readers write nothing (1.67201ms)
|
||
✔ no pointer is null (1.510808ms)
|
||
✔ the pointer release.sh writes reads back (1.051444ms)
|
||
✔ a pointer that isn't the version 1 shape refuses with exit 2 (1.573956ms)
|
||
✔ a pointer that is a directory refuses with exit 4 (0.496659ms)
|
||
✔ a state file linked out of the data root refuses (0.77086ms)
|
||
✔ a state directory linked out of the data root refuses (0.460162ms)
|
||
✔ a state directory linked out to nothing reads as no release and an empty log (0.386912ms)
|
||
✔ a missing log is empty (0.320981ms)
|
||
✔ the log reads oldest first and counts malformed lines (0.783719ms)
|
||
✔ last must be a positive integer (0.396642ms)
|
||
✔ the state readers write nothing (0.687449ms)
|
||
✔ list prints each run in the established format (67.838532ms)
|
||
✔ list prints a damaged result.json as unknown and keeps listing the runs after it (67.519872ms)
|
||
✔ list prints each result field that isn't a string as unknown or - (59.356119ms)
|
||
✔ show prints the run in the established format (59.536661ms)
|
||
✔ show of a missing run and an invalid id exit 4 as before (93.282831ms)
|
||
✔ list and show refuse a runs directory linked out of the data root (118.446923ms)
|
||
✔ show refuses a run linked out of the data root; list reports it unknown (112.81785ms)
|
||
✔ list shows an r- name that isn't a valid run id, as before (62.621282ms)
|
||
✔ show refuses an invalid id before reading the config (36.089462ms)
|
||
ℹ tests 43
|
||
ℹ suites 0
|
||
ℹ pass 43
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 743.688077
|