Skip to content

Page legend leaves a larger gap than its reading-position check allows #4909

Closed

Description

@leaf-agent

Page legend leaves a larger gap than its reading-position check allows. This boundary fails in scheduled run 41299273709; the current diagnostic, rather than the older brief, is the starting point:

tests/browser/test_render_aim.py::test_the_legend_follows_the_page_it_is_a_reading_of
E       AssertionError: ({'x': 240, 'y': 241.453125, 'width': 99.203125, 'height': 18.671875}, {'x': 240, 'y': 268.453125, 'width': 720, 'height': 54.375})
E       assert 8.328125 < 4
E        +  where 8.328125 = abs(((241.453125 + 18.671875) - 268.453125))

The retained diagnosis recorded: Legend/content gap is 7.75px, failing the <4px relationship.

Recovery fetched main at 792abf43c9ae36b0edfefcff300dc61fed4fe5a6, checked the open PR inventory and searched issues by this test name. Closed test-name hits may describe earlier diagnostics; they do not establish a shared cause with this failure. No local reproduction has run in this recovery session. The triage worker owns current-main reproduction, causal diagnosis and repair through the repository’s normal review and landing gates. Compare intervening changes and the introducing PR’s intent before changing the interface or an assertion. A test whose setup no longer reaches its claimed boundary needs that setup repaired; do not broaden an accepted set merely to make it pass.

Full tracebacks and pictures are in the run’s pytest-results-* artifacts. Reuse an existing owner if reproduction establishes a common cause; preserve distinct mechanisms and any product decision or external-evidence blocker explicitly.

Cause of a failure tracked in #4225.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    PR #4969 corrects the stale geometry assertion. #4732 deliberately moved the name outside the region's painted ring; the test still compared it with the target's box. It now checks attachment to the visible outline instead, without changing the interface.

    The corrected browser test passes and fails when the earlier label offset is restored. Review and CI are pending; the push is recorded for Tend's review and landing workflow (await_ci: false).

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