Skip to content

tests: un-ignore a resolved render-pipeline test, refresh a stale HW2 ignore reason - #524

Merged
GoKubar merged 3 commits into
mainfrom
agent/daniel-parent/stale-ignores
Sep 15, 2026
Merged

GoKubar merged 3 commits into
mainfrom
agent/daniel-parent/stale-ignores

Conversation

@d-q222

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

Copy link
Copy Markdown
Contributor

What

An audit of all 49 non-vendor #[ignore] attributes in crates/:

  • Un-ignored: render-pipeline::preamble_scan_does_not_see_at_setlength. Its \@setlength blocker is resolved: 3 ignored-mode passes plus 1 normal pass.
  • Reason updated to the current, measured blocker: compiler::hw2_matches_the_reference_page_count now reads "got 4 pages, expected 3".
  • Left alone: the other 45, which are external, benchmark, evidence-regeneration or lifecycle gates.
  • Not touched: the AtBeginDocument test in kernel_untested_a.rs, because open PR compiler: \AtBeginDocument's hook typesets ahead of the body instead of being dropped #499 un-ignores it.

Why

Stale ignores hide working coverage, and wrong reasons send people after already-fixed blockers.

Overlap check

Test results

  • The un-ignored test passed 3/3 times with --ignored --exact, and passes in a normal run.
  • hw2_matches_the_reference_page_count failed 3/3 times with got 4, expected 3.

Not done

  • The HW2 page-count mismatch itself is not fixed here. daniel-parent's GH-PAGECOUNT-DIVERGENCE lane is investigating page-count divergences.

🤖 Generated with Claude Code

https://claude.ai/code/session_012c9XLkHjePPGBuarrmE2mz

What changed:
- Updated the HW2 page-count and AtBeginDocument ignored-test reasons with observed failures at 36fe7ec.

What was run:
- CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-ignores cargo test --manifest-path crates/compiler/Cargo.toml hw2_matches_the_reference_page_count -- --ignored --exact: 3 runs, each failed with expected 3 pages and got 4.
- CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-ignores cargo test --manifest-path crates/compiler/Cargo.toml at_begin_document_hook_content_is_typeset_before_the_body -- --ignored --exact: 3 runs, each failed with expected [HOOKABody] and got [Body].
- CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-ignores cargo test --manifest-path crates/document-runtime/Cargo.toml compare_validation -- --ignored --exact: 3 runs, zero tests selected; the source is an opt-in .rs.txt scratch harness, not a package test.

Next step:
- Keep both tests ignored until their observed compiler/page-layout blockers are fixed.

Implementation-Agent: codex gpt-5.6-luna (max)
Commit-Executor: codex (this session)
Lane-Owner: daniel-parent (mac-m5pro-dq222)
What changed:
- Un-ignored the passing \@setlength preamble test.
- Updated the \input preamble test reason with its observed panic.

What was run:
- CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-ignores cargo test --manifest-path crates/render-pipeline/Cargo.toml adapter::tests::preamble_scan_does_not_see_input_files -- --ignored --exact: 3 runs, each failed with the intentional panic at src/adapter.rs:7602.
- CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-ignores cargo test --manifest-path crates/render-pipeline/Cargo.toml adapter::tests::preamble_scan_does_not_see_at_setlength -- --ignored --exact: 3 runs passed.
- CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-ignores cargo test --manifest-path crates/render-pipeline/Cargo.toml adapter::tests::preamble_scan_does_not_see_at_setlength -- --exact: passed after removing ignore.

Next step:
- Revisit the remaining \input preamble blocker when adapter support exists.

Implementation-Agent: codex gpt-5.6-luna (max)
Commit-Executor: codex (this session)
Lane-Owner: daniel-parent (mac-m5pro-dq222)
What changed:
- restore kernel_untested_a.rs's ignore reason; open PR #499 un-ignores that test itself, so editing the line here would only conflict.

What was run:
- git diff origin/main -- crates/compiler/tests/kernel_untested_a.rs: empty

Next step:
- open the stale-ignores PR.

Implementation-Agent: claude-opus-5 (daniel-parent)
Commit-Executor: daniel-parent
Claude-Session: https://claude.ai/code/session_012c9XLkHjePPGBuarrmE2mz
@d-q222

d-q222 commented Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

daniel-parent independent review (subagent)

Verdict: APPROVE

Reviewed in a detached worktree (6d84db4d), CARGO_TARGET_DIR=target-review-52x, cleaned up after.

  1. Un-ignored test. Input: adapter::tests::preamble_scan_does_not_see_at_setlength, run with #[ignore] removed. Expected: passes (per PR). Actual: test result: ok. 1 passed — confirmed.
  2. Updated reason, still-ignored input-preamble test. Input: adapter::tests::preamble_scan_does_not_see_input_files --ignored. Expected reason: "panics at src/adapter.rs:7602: not implemented: scan \input'd preambles". Actual: panics at exactly src/adapter.rs:7602:9 with that message — reason is accurate.
  3. Updated reason, HW2 gate. Input: hw2_matches_the_reference_page_count --ignored. Expected reason: "fails: expected 3 pages, got 4". Actual: left: 4, right: 3 — reason is accurate.
  4. Scope of the audit. The PR claims 49 non-vendor #[ignore] attributes in crates/. Independently counted on origin/main (all .rs and .rs.txt under crates/, excluding any /vendor/ path): 49 — matches exactly.
  5. kernel_untested_a.rs left untouched because open PR compiler: \AtBeginDocument's hook typesets ahead of the body instead of being dropped #499 owns it: confirmed the diff doesn't touch that file.
  6. Diff is minimal: only crates/compiler/tests/hw2_gate.rs and crates/render-pipeline/src/adapter.rs, 2 insertions/3 deletions total — no scope creep.

No findings.

@GoKubar
GoKubar merged commit dae1cf8 into main Sep 15, 2026
21 checks passed
GoKubar added a commit that referenced this pull request Sep 15, 2026
…uashed form

#556 refines #547, which has since squash-merged onto main along with five other
render-pipeline landings (#524, #536, #538, #543, #548). Exactly one line
conflicted:

  ours   .map(|(_, e, c, ic)| (*c, *ic && *e == p + 2, *e >= body.len()))
  main   .map(|(_, e, c, _)|  (*c,        *e == p + 2, *e >= body.len()))

The extra `*ic &&` is precisely this PR's change -- it gates the interval on the
fourth field #547 ignores -- so the branch side is kept.

Taking the branch wholesale would have been wrong here. Unlike a plain stacked
rebase, main carries five other commits in this file; git merged those cleanly
around this hunk, and only this one line needed a decision.

Implementation-Agent: orchestrator-astra
Commit-Executor: orchestrator-astra (direct; Cursor usage limit)
@GoKubar
GoKubar deleted the agent/daniel-parent/stale-ignores branch September 16, 2026 04:16
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.

2 participants