The compiled corpus ratchet grows both ways now - #692
Merged
Conversation
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
enabled auto-merge (squash)
July 30, 2026 23:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #623.
the_backend_still_compiles_what_it_used_toused 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.