Repository navigation
render-pipeline: list_style_nextline reads the index, not the source (unbreaks main) - #638
Merged
Merged
Conversation
…(unbreaks main) #624 added `list_style_nextline(src, env, begin_keys)`. #623 then made `adapt` linear, replacing the per-block source rescans with a `SourceIndex` and removing `src` from that scope. Git merged the two cleanly -- neither touched the other's lines -- and the result does not compile: error[E0425]: cannot find value `src` in this scope --> src/adapter.rs:2788:51 Passing the source back in would compile, but it would also undo #623 here: `setlist_calls` walks the whole document and this runs once per list, which is precisely the quadratic shape that made a 450-section warm edit take 16 s. So it takes `&index.setlist` -- the calls the index already precomputed -- matching its siblings `list_margins(index, ...)` and `list_seps_from(&index.setlist, ...)`. render-pipeline: all test targets compile, 420 passed, 0 failed. Implementation-Agent: orchestrator-astra Commit-Executor: orchestrator-astra (direct; Cursor usage limit)
GoKubar
added a commit
that referenced
this pull request
Sep 15, 2026
Clean re-merge picking up the #638 render-pipeline list_style_nextline fix; no conflicts, supported-latex inventory unchanged and in sync. Implementation-Agent: fable-rebase-b Commit-Executor: fable-rebase-b (direct; Cursor usage limit)
GoKubar
added a commit
that referenced
this pull request
Sep 15, 2026
Main's #638 rewrote list_style_nextline to read the memoised index, making the src binding this branch restored (to unbreak d7b7f9f) unused; dropped it so the merged tree carries no dead binding. Supported-latex artefacts regenerated, sync --check clean. Implementation-Agent: fable-rebase-a Commit-Executor: fable-rebase-a (direct; Cursor usage limit)
GoKubar
added a commit
that referenced
this pull request
Sep 16, 2026
…unbreaks main) (#693) `tests/label_page_seed.rs:36` constructs `Wire { images, device_color }`, but `Wire` grew a third field: error[E0063]: missing field `diagnostics` in initializer of `Wire` A combination break, not either change being wrong. #652 (label-page seeding) added this test against a two-field `Wire`; #358 added `Wire.diagnostics` and landed separately inside integration PR #658. Each was green on its own branch and neither CI run saw the other. This is the same failure mode as #664 and #638: a Rust test target that fails to compile emits no `test result:` line, so summing those lines reads the crate as green while 482 tests never run. Caught by running `cargo test --no-run` as a separate first step before trusting any pass count -- worth keeping in the release checklist, since this was found while verifying main for the 0.1.6 tag. Verified in `--release` (per #667, debug is not a valid oracle for this crate): render-pipeline 482 passed, 0 failed, with `--no-run` clean first. Implementation-Agent: Claude Opus 5 (orchestrator-astra, linux-primary) Commit-Executor: Claude Opus 5 via Claude Code Co-authored-by: Claude Opus 5 <[email protected]>
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.
main does not compile
A semantic conflict that git merged cleanly. #624 added
list_style_nextline(src, env, begin_keys). #623 then madeadaptlinear, replacing the per-block source rescans with aSourceIndexand removingsrcfrom that scope. Neither PR touched the other's lines, so the textual merge was conflict-free — and the combination is broken. Each was green on its own branch.The fix, and why not the obvious one
Threading
srcback in would compile. It would also quietly undo #623 at this call site:setlist_callswalks the entire document, andlist_style_nextlineruns once per list — exactly the quadratic shape that made a 450-section warm edit take 16 s.So it now takes
&index.setlist, the calls the index has already computed, matching its siblings:Verified
All render-pipeline test targets compile; 420 passed, 0 failed.
Note for the gate
This is the second main breakage today that a
test result:summary could not see (the first was #636, a non-compiling test target). Both were caught only by runningcargo test --no-runas a separate step. That check is now in my integration gate and in every rebase agent's instructions — a compile failure produces no test line at all, so summing test lines reports green over a broken tree.Implementation-Agent: orchestrator-astra
Commit-Executor: orchestrator-astra (direct; Cursor usage limit)