Skip to content

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

Closed

Description

@leaf-agent

tests/journeys/test_render_pages.py::test_available_space_is_a_generic_package_capacity fails on Linux and macOS in scheduled run 41816958231 (checkout 8b759a5663b5) and scheduled run 41622727492 (checkout 19757c94c59b), and reproduces locally on main e0c0f9c5f (Linux, --run-nightly).

AssertionError: {'left': 24, 'right': 1738, 'width': 1714, 'children': [845, 845], ...}
assert 994 <= 1   where 994 = abs((1714 - 720))

The measured box spans 1714px where the test expects the 720px available space a package is offered, and its two children are 845px each. When this began and which change widened the box are not yet established; the earliest run recorded here is 41622727492.

Cause of a failure tracked in #4225.

Activity

  1. added
    tend-ci-cause
    on Nov 5, 2026
  2. leaf-agent commented on Nov 5, 2026

    @leaf-agent
    CollaboratorAuthor

    Fixed by #5499, now merged. The test was stale, not the layout. #5056 made the reading column a box at the 720px prose measure, so an available block now breaks out of its holder into the shell's room. This nightly journey still measured that room as the holder's content box. The surface was correct: it spanned 1714px of a 1762px window, with equal 845px children and no sideways scroll. The test now reads the room as --lf-shell-width less a gutter on each side, the same way #5056 updated test_a_drawing_the_room_can_hold_is_shown_whole. Locally on Linux it fails on main with the reported 994 <= 1 and passes with the change. The macOS half is confirmed only once the next scheduled run passes.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions