You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Diff hunk fixture cannot establish its initial sideways reading position #4919
Diff hunk fixture cannot establish its initial sideways reading position. This boundary fails in scheduled run 41299273709; the current diagnostic, rather than the older brief, is the starting point:
tests/browser/widgets/test_diffs.py::test_a_diff_hunk_landing_preserves_sideways_reading_outside_its_shadow_tree
E assert 0 == 150
The retained diagnosis recorded: Sideways hunk fixture cannot establish the initial scrollLeft=150: it reads zero before landing.
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.
Reproduced on current main: the hunk fixture fails before navigation because the default widget width cap prevents its 1000px diff from overflowing the 500px reader. Explicitly setting max-inline-size: none on this fixture's #patch restores the sideways position and the full test passes, including hunk navigation from both 0 and 150 pixels.
This shares the wheel fixture's cause in #4978. I supplied the verified adjacent correction to that PR's active review rather than racing its branch. That review owns incorporating the correction; #4919 stays open pending the repair. With await_ci: false, the review and landing workflows own subsequent CI and landing.
Verified with uv run pytest tests/browser/widgets/test_diffs.py::test_a_diff_hunk_landing_preserves_sideways_reading_outside_its_shadow_tree -q -n0: 1 failed before the fixture correction, 1 passed after it. No production code changes are needed for this diagnostic.
Activity
Run host-owned diffs through portable input and navigation owners
Run host-owned diffs through portable widget lifecycles (#4800)
leaf-agent commentedon Nov 1, 2026
Reproduced on current main: the hunk fixture fails before navigation because the default widget width cap prevents its 1000px diff from overflowing the 500px reader. Explicitly setting
max-inline-size: noneon this fixture's#patchrestores the sideways position and the full test passes, including hunk navigation from both 0 and 150 pixels.This shares the wheel fixture's cause in #4978. I supplied the verified adjacent correction to that PR's active review rather than racing its branch. That review owns incorporating the correction; #4919 stays open pending the repair. With
await_ci: false, the review and landing workflows own subsequent CI and landing.Verified with
uv run pytest tests/browser/widgets/test_diffs.py::test_a_diff_hunk_landing_preserves_sideways_reading_outside_its_shadow_tree -q -n0: 1 failed before the fixture correction, 1 passed after it. No production code changes are needed for this diagnostic.