Skip to content

test_an_obligation_spanning_its_block_is_a_breakout fails on main since #5120 #5489

Closed

Description

@leaf-agent

Since #5120 ("Let a page wider than the window scroll sideways to its far side"), the render gate reports past-column findings on blocks the test expects to read as breakouts.

Failing on main (b5f5c5d43, reproduced locally with uv run pytest --run-main):

  • tests/browser/test_render_gate.py::test_an_obligation_spanning_its_block_is_a_breakout
    AssertionError: [{'code': 'past-column', 'at': '<div id=bare>', 'place': {'id': 'bare', 'steps': []}, 'past': 264}, {'code': 'past-col... 240, ...}, {'code': 'clipped-out', 'at': '<div id=tinted>', 'place': {'id': 'tinted', 'steps': []}, 'past': 240, ...}] assert [('clipped-ou... id=tinted>')] == [('clipped-ou... id=tinted>')] At index 1 diff: ('clipped-out', '<div id=tinted>') != ('clipped-out', '<div id=sized>') Ri
    

Introducing change: #5120 (f69c5e9). Bisect over the 3cbb347..0888ab9 range ran test_an_obligation_spanning_its_block_is_a_breakout at each step; the test passes on f69c5e9fe^ and fails on f69c5e9fe.

CI evidence: first failing push run 41593521467, and every push run since through 41954384375. Each run's pytest-results-* artifact has the tracebacks and screenshots.

No cause has been diagnosed past the bisect. Read #5120's description for what it meant to change, then decide per .claude/skills/running-tend/SKILL.md, Reading a red suite, whether each test expects behaviour #5120 replaced (update the test) or caught a regression (fix the code).

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    This failure comes from a stale test pin, not a regression. The only finding that went missing is clipped-out on <div id=sized>; every past-column finding is still reported. #sized reaches past the window's right edge only. Since #5120 deleted the root's overflow-x: hidden, the page scrolls sideways to reach that content and reports it as page-scrolls, no longer as clipped-out, as #5120's description says. #bare and #tinted also reach off the leading edge, which no scroll reaches, so they keep clipped-out.

    #5574 drops the pin. The test failed on current main and passes with the change. With #5120's root rule restored, the updated test fails again. The PR's review and CI are still pending; it lands through the usual review and landing workflow once its CI is green.

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