Repository navigation
cli: a missing \input is reported once, not twice - #313
Merged
Merged
Conversation
`\input{missing}` produced `error[missing_file]` from project discovery and
`error[compiler]: included file not found` from the pipeline at the same
path and start byte, so one mistake counted as two errors. The pipeline's
duplicate is now dropped when a `missing_file` diagnostic already sits at
that position, and its recovery text moves onto the surviving entry.
Nothing else is deduplicated.
Test: a_missing_include_is_reported_and_the_build_still_writes asserts one
error line at main.tex:4:1, the recovery text, and summary.errors == 1.
flashtex-cli: 6 unit, 11/12 integration; the one failure is the fixture
drift fixed in #308 (fails identically on main 9bd4b02).
Implementation-Agent: codex gpt-5.6-luna (max effort, cx slot plus)
Commit-Executor: git, direct, by daniel-parent after review (renamed a shadowing binding)
Lane-Owner: daniel-parent (mac-m5pro-dq222)
Co-authored-by: d-q222 <[email protected]>
This was referenced Sep 14, 2026
render-pipeline labels every compiler diagnostic "compiler" today (display.rs from_compiler). Once it forwards the compiler's snake_case code (#277 forwarding lane), "included file not found" arrives as "recovered_input", and the dedupe would silently stop matching. Accept both. cargo test -p flashtex-cli: unit 6/0; tests/cli 11 passed, 1 failed: multi_file_project_resolves_inputs_from_the_project_root. That test also fails without this change (control run, same branch), and #308 replaces its fixture-dependent assertion. Implementation-Agent: Claude Code (daniel-parent, mac-m5pro-dq222) Commit-Executor: Claude Code (daniel-parent) Lane-Owner: daniel-parent (mac-m5pro-dq222) Claude-Session: https://claude.ai/code/session_012c9XLkHjePPGBuarrmE2mz
…: pick up #327's Mac inventory sync (CI sync-supported-latex --check) Claude-Session: https://claude.ai/code/session_012c9XLkHjePPGBuarrmE2mz
This was referenced Sep 14, 2026
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.
Lane
daniel-parent(Max 20x, mac-m5pro-dq222; not daniel-vpclaude), claimGH-CLI-DUP-INCLUDE, announced on #2 before starting.Bug:
\input{missing}produced two errors at the same path and start byte:missing_filefrom project discovery andcompiler: included file not foundfrom the pipeline. One mistake counted as two in the summary and in--strict.Fix (
crates/flashtex-cli/src/compile.rsonly): the pipeline's duplicate is dropped when amissing_filediagnostic already sits at that position, and its recovery text moves onto the surviving entry. Nothing else is deduplicated. The Mac/worker path is untouched; if it shows the same duplicate, that belongs in a separate issue.Test:
a_missing_include_is_reported_and_the_build_still_writesnow asserts exactly one error line atmain.tex:4:1, that the recovery text is kept, andsummary.errors == 1.Gate:
crates/flashtex-cli: 6 unit, 11/12 integration. The one failure ismulti_file_project_resolves_inputs_from_the_project_root, the fixture drift fixed in #308; it fails identically onmain9bd4b025.Provenance: implemented by Codex
gpt-5.6-lunaat max effort (cx slotplus). The sandbox blocked its test run, so daniel-parent reviewed the diff, renamed a shadowing binding, ran the gate and committed.