Skip to content

The compiled corpus ratchet grows both ways now - #692

Merged
onatozmenn merged 2 commits into
mainfrom
issue-623-ratchet-grows-with-gaps
Jul 30, 2026
Merged

The compiled corpus ratchet grows both ways now#692
onatozmenn merged 2 commits into
mainfrom
issue-623-ratchet-grows-with-gaps

Conversation

@onatozmenn

Copy link
Copy Markdown
Collaborator

Closes #623.

the_backend_still_compiles_what_it_used_to used to be one-directional: it asserted every named file still compiles, but said nothing if a file outside the list started compiling too, which is exactly the "something works, nothing holds it" pattern this repository keeps finding elsewhere.

Now it asserts the compiled set equals the named list exactly, so a file that starts compiling and is not added here fails the build, the same way one that stops compiling already did. The doc comment says why the other twenty files are refused (prelude functions, #621; early return, #620) rather than repeating a per-file reason nobody would read, and says the ratchet should grow as the last commit of whatever PR made a file compile.

Verified examples/tree.deed (merged since, #613) does not need adding: it still does not compile in the backend, so the exact-match assertion holds with the original six names.

the_backend_still_compiles_what_it_used_to used to be one-directional: it
asserted every named file still compiles, but said nothing if a file
outside the list started compiling too, which is exactly the "something
works, nothing holds it" pattern this repository keeps finding elsewhere.

Now it asserts the compiled set equals the named list exactly, so a file
that starts compiling and is not added here fails the build, the same way
one that stops compiling already did. The doc comment says why the other
twenty files are refused (prelude functions, #621; early return, #620)
rather than repeating a per-file reason nobody would read, and says the
ratchet should grow as the last commit of whatever PR made a file compile.

Verified examples/tree.deed (merged since, #613) does not need adding: it
still does not compile in the backend, so the exact-match assertion holds
with the original six names.
@onatozmenn
onatozmenn enabled auto-merge (squash) July 30, 2026 23:01
@onatozmenn
onatozmenn merged commit fd5a1a6 into main Jul 30, 2026
2 checks passed
@onatozmenn
onatozmenn deleted the issue-623-ratchet-grows-with-gaps branch July 30, 2026 23:13
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.

The compiled corpus ratchet should grow as gaps close, and refuse to be forgotten

1 participant