Skip to content

render-pipeline: compile against the next vendor/compiler re-pin (HFill leader, Diagnostic fields) — no behaviour change - #402

Closed
d-q222 wants to merge 1 commit into
mainfrom
agent/daniel-parent/repin-readiness
Closed

d-q222 wants to merge 1 commit into
mainfrom
agent/daniel-parent/repin-readiness

Conversation

@d-q222

@d-q222 d-q222 commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Why: the requested vendor/compiler re-pin past #389/#390 (it unblocks #329 and #277's labels/notes/help forwarding) doesn't compile today. I tried it locally, without committing vendor/, and got five errors: two Inline::HFill { span } patterns in adapter.rs (#320 added leader) and three compiler-Diagnostic struct literals in display.rs's forwarding test (#389 added labels/notes/help).

Fix, version-agnostic, no behaviour change: Inline::HFill { span, .. }, and the test builds diagnostics with Diagnostic::error(...) and then sets code/suggestion.

Evidence: cargo test -p render-pipeline --lib gives 107/0 on the current pin e44d5917, and 107/0 with main's crates/compiler temporarily copied into vendor/ (reverted, not committed). Merge this before the re-pin. Note: the pipeline still ignores #320's leader (rule/dot fills); that's a separate feature, not a compile issue.

🤖 Generated with Claude Code

https://claude.ai/code/session_012c9XLkHjePPGBuarrmE2mz

…ine::HFill leader, Diagnostic fields)

Re-pinning vendor/compiler past #320 and #389 (needed for #329 and the #277
labels/notes/help forwarding) breaks render-pipeline in five places: two
`Inline::HFill { span }` patterns (#320 added `leader`) and three struct
literals of the compiler `Diagnostic` in display.rs's forwarding test (#389 added
labels/notes/help). Both fixes are version-agnostic: `Inline::HFill { span, .. }`
and building the test diagnostics with `Diagnostic::error` then setting
`code`/`suggestion`. No behaviour change.

cargo test -p render-pipeline --lib: 107/0 against the current vendor pin
(e44d591) AND against a temporary, uncommitted copy of main's crates/compiler
in vendor/.

Implementation-Agent: Claude Code (daniel-parent, mac-m5pro-dq222)
Commit-Executor: Claude Code (daniel-parent)
Claude-Session: https://claude.ai/code/session_012c9XLkHjePPGBuarrmE2mz
d-q222 added a commit that referenced this pull request Sep 14, 2026
What changed:
- Matched the pipeline fixture to a 200pt article 10pt box with parindent 0pt, matching the pdflatex oracle.
- Added an exact serialized page-item baseline from the unmodified #402 control for plain \hfill.

What was run:
- CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-leaders cargo test --manifest-path crates/render-pipeline/Cargo.toml --test fill_leaders -- --nocapture
- Result: test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; finished in 0.02s.
- #402 control: CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-leaders/control cargo test --manifest-path crates/render-pipeline/Cargo.toml --test fill_probe -- --nocapture
- Result: test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; finished in 0.02s; the control page item list was captured before adding it to the test.
- The checks use the temporary compiler re-pin; vendor was verified clean immediately before commit and then re-synced.

Next step:
- Run the full render-pipeline suite against the temporary re-pin and classify any failures.

Open questions:
- None for the focused leader geometry; full-suite integration remains.

Implementation-Agent: Codex GPT-5
Commit-Executor: local git
Lane-Owner: daniel-parent (mac-m5pro-dq222)
d-q222 added a commit that referenced this pull request Sep 14, 2026
Removed the Inline::Underline arms Codex had added to adapter.rs (inline_span,
the items_cached hash with tag 18, and the items_from_inlines_styled content
arm). #329 (agent/daniel-parent/uline-gh312) already handles Underline there
and paints the rule; keeping both would conflict and duplicate. Against the
re-pinned vendor, the three matches need a wildcard until #329 lands, so
merge order is #402 -> re-pin + #329 -> this branch, which then drops the
wildcards in favour of #329's arms.

Tests (Codex, alternate CARGO_TARGET_DIR, dirty re-pinned vendor):
fill_leaders `test result: ok. 4 passed; 0 failed`; lib `test result: ok. 107 passed; 0 failed`.

Implementation-Agent: codex gpt-5.6-luna (max), wildcard comments by daniel-parent
Commit-Executor: daniel-parent (Claude Code), direct git (Codex sandbox could not write .git on resume)
Lane-Owner: daniel-parent (mac-m5pro-dq222)

Claude-Session: https://claude.ai/code/session_012c9XLkHjePPGBuarrmE2mz
@d-q222

d-q222 commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

daniel-parent: superseded by #451, which re-pinned vendor/compiler to faa7d484 and caught the pipeline up to the moved APIs. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant