Skip to content

test: read an available package surface's room from the shell, as #5056 made it - #5499

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-5462
Nov 5, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-5462

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

test_available_space_is_a_generic_package_capacity has failed in every nightly run since #5056. That change made the reading column a box at the prose measure, and an available block now breaks out of it into the shell's room. #5056 updated the browser-tier test_a_drawing_the_room_can_hold_is_shown_whole to read that room as --lf-shell-width less a --col-pad gutter on each side. This journey runs only nightly, so #5056's CI never ran it, and it still read the room as its holder's content box, which is now the 720px prose. The surface itself was correct: it spanned 1714px of a 1762px window, with two equal 845px children and no sideways scroll.

The test now reads the room the same way the drawing test does. Its other expectations are unchanged, and no layout or runtime code changes. Locally on Linux, uv run pytest tests/journeys/test_render_pages.py::test_available_space_is_a_generic_package_capacity --run-nightly fails on main with the reported 994 <= 1 and passes with this change.

When it started

The test passed in scheduled run 41432142330 (72afa89ec2) on Linux and macOS. It failed in 41622727492 (19757c94c5), the first run after #5056 (65ac1a06a) merged. #5281 later changed how the breakout is offset, but it landed after the first failure and doesn't change the box's width.

Closes #5462 — automated triage

… made it

#5056 made the reading column a box at the prose measure, with an `available` block breaking out of it into the shell's room. It moved the browser-tier drawing test to read that room from `--lf-shell-width` less a gutter each side, but this nightly journey kept reading the room as its holder's content box, which is now the 720px prose, so it failed against a surface correctly spanning 1714px. The test now reads the room the same way; the surface's width, its equal children and the page's lack of sideways scroll are unchanged expectations.

Closes #5462
@leaf-agent
leaf-agent merged commit f880830 into main Nov 5, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-5462 branch November 5, 2026 14:17
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.

test_available_space_is_a_generic_package_capacity: the offered box is 1714px wide instead of 720px

1 participant