Skip to content

corpus tests print the provenance of what they run (#2230) - #2232

Merged
ehartford merged 2 commits into
facade-one-ownerfrom
corpus-provenance
Oct 7, 2026
Merged

ehartford merged 2 commits into
facade-one-ownerfrom
corpus-provenance

Conversation

@ehartford

@ehartford ehartford commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Each corpus test action prints <target> ran <sha256> <path> for every binary before running it and appends it to out/corpus/<stem>-test/provenance.txt, so a stale or half-built binary is visible at the first failure (#2214's pcre2 heap-8 failure never reproduced). The deep-debugging-tools doc gains the route. Part 1 of #2230; the migration differential (part 2) stays open.

Draft until the stack's battery is green.

Each corpus test action (pcre2, zlib, tommyds, c-algorithms) prints
`<target> ran <sha256>  <path>` for every binary before running it and
appends the line to `out/corpus/<stem>-test/provenance.txt`
(`corpus_provenance`, build/corpus.w), so a stale or half-built binary is
visible at the first failure instead of after a file-by-file bisect
(#2214's pcre2 heap-8 failure never reproduced; three rebuilds located
nothing). The deep-debugging-tools doc gains the route: provenance first,
then the migration diff, then the compiler alone on the checked-in corpus.
@ehartford
ehartford added this pull request to stack #2228 October 7, 2026 01:20
@ehartford ehartford changed the title corpus provenance corpus tests print the provenance of what they run (#2230) Oct 7, 2026
… to append to (fs.read_text panics on a missing file)
@ehartford

Copy link
Copy Markdown
Contributor Author

Battery GREEN on stack top bfecc6f (seed-driven, with run tools/battery.w): gate rc=0 399s, uat rc=0 28s, battery-checks rc=0 397s.

@ehartford
ehartford marked this pull request as ready for review October 7, 2026 02:14
@ehartford
ehartford merged commit 6b2ad31 into main Oct 7, 2026
@ehartford
ehartford deleted the corpus-provenance branch October 7, 2026 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant