Repository navigation
render-pipeline: re-pin vendor/tex-expansion to 7054ee41 (makes #840 reach users) - #853
Conversation
Makes #840's TAB catcode fix reach actual users. Until now it was inert: flashtex-cli builds against the frozen snapshot, and the live crate is not in its dependency graph at all, so the merged fix changed nothing a user could see. Minimal re-pin -- the only commits to crates/tex-expansion since pin 4511166 are the fix and its review follow-up, so the vendored diff is PIN plus 12 inserted lines in src/catcode.rs. Measured through a freshly built CLI on the owner's 20-document corpus: page counts matching pdflatex: 15/19 -> 17/19 U+0009 warnings corpus-wide: 597 in set1 alone -> 0 everywhere FIXED (now exact): set3 10->9, set8 6->5, setA 10->9, variations 6->5 REGRESSED (now one page SHORT): set6 5->4, set9 7->6 The two regressions are honest news and worth keeping: both files have tab-indented \item lines, so removing the spurious empty paragraph shortened them past pdflatex. They were accidentally correct before -- the tab bug was padding out a genuine under-spacing elsewhere. Filed separately; net is +2. Implementation-Agent: daniel-parent Commit-Executor: daniel-parent Co-authored-by: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_012c9XLkHjePPGBuarrmE2mz
Blocking item from the independent review: VENDORING.md is the canonical pin register and would have actively lied after this merge. Line 6 listed `compiler`/`tex-expansion` together at 4511166, and the tex-expansion row claimed it was "re-pinned in lockstep with compiler above, which is at the same SHA" -- no longer true. Precedent is unambiguous: the last four re-pin commits (a3eaa14, 0660563, 19754f9, b6d76b1) all touched this file. Also corrects two figures the reviewer reproduced more carefully than I did: the corpus result is 16/20 -> 18/20, not 15/19 -> 17/19 (I had dropped a document whose oracle died under -halt-on-error), and the U+0009 count is 45 -> 0 across all 20 build logs, not "597 in set1 alone" -- 597 is the number of TAB characters in set1.tex's source, not warnings. The engine deduplicates missing_glyph, so set1 emitted 2. Same direction, right order of magnitude now. Implementation-Agent: daniel-parent Commit-Executor: daniel-parent Co-authored-by: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_012c9XLkHjePPGBuarrmE2mz
|
Independent review: CHANGES REQUIRED → addressed in Verified byte-perfect. 448 files, All six per-document rows reproduce exactly, and it confirmed exactly two regressions across all 20 files, not more. Two figures of mine were wrong:
Fixed (blocking item): #852's bisect hint was also wrong and is corrected on that issue: neither set6 nor set9 has a tab anywhere on an It agreed the trade is right: keeping the old pin would preserve a known-wrong lexer to protect two accidental matches, which is the wrong optimisation target. Also noted for follow-up, out of scope here: the vendor boundary isn't total — |
This is the change that makes #840 real. Until now the TAB catcode fix was inert:
flashtex-clibuilds against the frozen snapshot, and the livecrates/tex-expansionis not in its dependency graph at all, so the merged fix changed nothing a user could see. An independent reviewer proved that by building the CLI from #840's own branch and watching the repro still fail.Minimal re-pin
The only commits to
crates/tex-expansionsince pin4511166eare the fix and its review follow-up, so the vendored diff is exactly:Verified through a freshly built CLI, not through crate tests
Owner's 20-document corpus, oracle
/Library/TeX/texbin/pdflatex(TeX Live 2026), page counts viapdfinfo:U+0009warnings corpus-wideset1aloneThe two regressions are real, and I am not burying them
set6andset9were accidentally correct. Both are tab-indented (8 and 3 tab-indented\itemlines), so the spurious empty paragraphs were padding them out to the right length — one bug compensating for another. Removing the padding exposes a genuine under-spacing around lists, filed as #852 withset6as the bisect target.It also means the "15/19" figure quoted earlier was flattering: some of those matches were two errors cancelling, not correctness. Net is +2 and the fix is unambiguously right, so this should land — but #852 should be picked up promptly.
Tests
crates/render-pipeline: 198 passed / 0 failed plus all integration targets green, exit 0. No digest re-record was needed.Related
compilerby 14 commits.🤖 Generated with Claude Code