Skip to content

Draw the export's quiet-word test from lf-code, and hold a failed comparison paint to one report - #2588

Merged
max-sixty merged 1 commit into
mainfrom
agent-a99d5cf39a028e175
Oct 12, 2026
Merged

max-sixty merged 1 commit into
mainfrom
agent-a99d5cf39a028e175

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

main's push ci has not completed green since #2568. The last two completed runs (38235572771 on 1ace63b, 38244446941 on e5aca3e) failed three main-tier tests. Two are already fixed on main; this PR fixes the third and tightens one of the fixed ones.

Behaviour that changed

The other two failures need nothing more. test_a_reaction_on_a_visual_part_names_that_part was fixed by #2582, and the comparison test's arrangement by #2581.

Evidence

  • On main 4f81e81, the export test fails with the refusal above. With this change it passes.
  • leaf-dev flake (18 copies, six at a time) passed 18/18 for the export test, the comparison test and the reaction test. A flake run of tests/test_render_words_watch.py also passed 18/18 for every test. That file's TypeError: Cannot read properties of null (reading 'present') did not reproduce on main and is not in either failed run's log.
  • The other two declared_reading_package tests still pass (test_the_render_gate_catches_a_declared_word_that_never_reached_the_page, test_a_word_the_revision_adds_to_a_surviving_element_is_said).

Hand-written source delta: 0 lines. Test delta: +10 −12 (tests/test_render_export.py +8 −10, tests/test_render_options_settled.py +2 −2).

This was written by Claude Code on behalf of max-sixty

…parison paint to one report

`test_an_export_keeps_its_quiet_words_off_screen` (main tier) has failed on
every completed push run since #2555, which removed the `x-paints` key and the
fixture's `state` property but left this test writing `<lf-reading state=...>`;
`page check` refused the page before the export ran. The test now takes its
quiet word from a highlighted `lf-code` line, which every page's default
package can draw, so it no longer needs the declared-reading fixture. With
`.lf-quiet`'s clip removed from the theme it fails, as before.

`test_a_comparison_mark_that_failed_on_return_keeps_following_the_comparison`
counted only the `leaf:` reports, and its comment expected a second, uncaught
record of the throw. Since #2575 `readingPaint` reports the failure once and
nothing escapes, so the test now requires exactly that one report; a paint that
also rethrew fails it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The export-test change overlaps #2587. Once this PR lands, #2587 can be closed as a duplicate; this PR also tightens the comparison-error assertion.

@max-sixty
max-sixty merged commit 3f969c8 into main Oct 12, 2026
3 checks passed
@max-sixty
max-sixty deleted the agent-a99d5cf39a028e175 branch October 12, 2026 13:30
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