Build every language and release one edition - #82
Merged
Merged
Conversation
sidkmenon
added this pull request to stack #83
October 4, 2026 00:24
sidkmenon
force-pushed
the
one-edition
branch
3 times, most recently
from
October 4, 2026 01:30
8212ea4 to
276eac4
Compare
Packed grammar tables make the nine optional languages (Apex, Fortran, F#, Haskell, Julia, OCaml, QML, Verilog, VHDL) cost 4.1 MB in a release binary, so drop their Cargo features and the all-languages feature. The CLI test that checked those features is removed with them, along with the CI step that ran it. That step also ran diffr before the npm contract tests, warming wasmtime's plugin cache. Without it, the first contract test compiles the bundled plugins into an empty cache and exceeded bun's 5 s timeout on a CI runner, so those tests now allow 30 s. AI assistance: written with Claude Code; reviewed by the author. Claude-Session: https://claude.ai/code/session_01KDZ845xr2ngWfAabx9dg8z Agent-Session: a21f1781-9b0d-47f6-a269-e93bb179c266 Agent-Session: dca03de1-4350-4b24-b376-cb54c86fcc2d
Every build now includes all languages, so releases stop building and packaging the separate diffr-cli-full archive, and the npm fetcher drops its --full flag and full-edition pins. AI assistance: written with Claude Code; reviewed by the author. Claude-Session: https://claude.ai/code/session_01KDZ845xr2ngWfAabx9dg8z Agent-Session: a21f1781-9b0d-47f6-a269-e93bb179c266 Agent-Session: dca03de1-4350-4b24-b376-cb54c86fcc2d
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.
Stacked on #81. With compressed grammar tables, the nine optional languages (Apex, Fortran, F#, Haskell, Julia, OCaml, QML, Verilog, VHDL) add 4.1 MB to a release binary: 62.12 MB with them, against 108.07 MB for
main's lean build.all-languages, the ninelang-*features, theircfggates, the CLI test that checked them, and that test's CI step. That step had been warming wasmtime's plugin cache for the npm contract tests, so those now allow 30 s.diffr-cli-fullarchive from the release workflow andscripts/release.py, and removesdiffr-fetch --fulland its pins from@dev.fast/diffr.Anything that runs
diffr-fetch --fullwill now fail with an unknown-option error.AI assistance: written with Claude Code; reviewed by the author.
https://claude.ai/code/session_01KDZ845xr2ngWfAabx9dg8z