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
ci-fix: trace gallery clips timeline internals and changes while idle #2128
The complete Python test job in main run 37863827619 failed two trace gallery gates, and both still fail when selected on current main under Python 3.12:
tests/test_render_gate.py::test_page_fixture_renders[playwright-trace-gallery] reports Vis Timeline panels, grid lines and tick labels extending 2–63 pixels past clipping ancestors at 1200×900, with further reports at other widths. A browser probe identified the reported nodes as vis-panel, vis-grid and vis-text descendants of the embedded timeline. The viewport screenshot shows the visible controls inside the rail, so the next step is to distinguish intentionally virtualized geometry from any inaccessible label or control before changing the widget or the render check.
tests/test_render_gate.py::test_a_still_page_comes_back_from_every_journey_as_it_was[playwright-trace-gallery] sees a viewer-move class write and two margin layout frames on an untouched page. After a narrow-to-wide resize journey, the moment buttons return about 2–3 pixels to the right of their earlier positions at the same width. This is a separate stillness and position problem; the test is not merely reporting the timeline's clipped internal boxes.
#2100 introduced the timeline and image inspection integration. #2126 addresses the same run's two margin refresh failures and does not settle these gallery gates. A safe repair needs a browser reading of which timeline labels remain reachable and which callback keeps the viewer and margin active after presentation.
I reproduced both gallery failures on current main with the two selected test_render_gate.py cases. The first still reports clipped Vis Timeline internals; the second still reports an idle viewer-move write, two margin layout frames, and moment buttons returning 2 px to the right after a narrow-to-wide resize. #2126 changes the viewer resize path for the related margin failures, so a parallel fix there would overlap work already under review. I did not open a gallery fix: the render check needs a reading that separates Vis's intentionally clipped geometry from a lost label or control, and the moment-position shift remains independently unexplained. The selected test command is uv run pytest 'tests/test_render_gate.py::test_page_fixture_renders[playwright-trace-gallery]' 'tests/test_render_gate.py::test_a_still_page_comes_back_from_every_journey_as_it_was[playwright-trace-gallery]' -q.
The same two gallery checks fail in main run 37868899110 and in the focused run on current main (2 failed in 36.73s). The diagnostics still show clipped Vis Timeline internals, an idle viewer-move write with two margin frames, and moment buttons returning 2–3 px to the right after a narrow-to-wide resize. #2126 remains open for the related Viewer resize path; the clipping and moment-position causes remain unsettled here.
After #2126 merged, the selected trace gallery render gate now passes on current main (00e093c6); the earlier clipped-internals finding did not recur in this focused run. The stillness journey still fails on that head: at rest it records a viewer-move class write and two margin layout frames, and after its narrow-to-wide resize the three moment buttons return 2 px to the right. I ran uv run pytest -q -n0 'tests/test_render_gate.py::test_page_fixture_renders[playwright-trace-gallery]' 'tests/test_render_gate.py::test_a_still_page_comes_back_from_every_journey_as_it_was[playwright-trace-gallery]' in a worktree at that commit: one passed, one failed. The remaining work here is the idle write and non-idempotent resize position.
Resolved on main by #2126, #2153, and #2154. The clipping gate passed after #2126; the timeline resize and idle Viewer findings were fixed by #2153 and #2154. On combined main 5b85007, both selected trace-gallery gates pass (2 passed).
Activity
leaf-agent commentedon Oct 9, 2026
I reproduced both gallery failures on current
mainwith the two selectedtest_render_gate.pycases. The first still reports clipped Vis Timeline internals; the second still reports an idleviewer-movewrite, two margin layout frames, and moment buttons returning 2 px to the right after a narrow-to-wide resize. #2126 changes the viewer resize path for the related margin failures, so a parallel fix there would overlap work already under review. I did not open a gallery fix: the render check needs a reading that separates Vis's intentionally clipped geometry from a lost label or control, and the moment-position shift remains independently unexplained. The selected test command isuv run pytest 'tests/test_render_gate.py::test_page_fixture_renders[playwright-trace-gallery]' 'tests/test_render_gate.py::test_a_still_page_comes_back_from_every_journey_as_it_was[playwright-trace-gallery]' -q.leaf-agent commentedon Oct 9, 2026
The same two gallery checks fail in main run 37868899110 and in the focused run on current
main(2 failed in 36.73s). The diagnostics still show clipped Vis Timeline internals, an idleviewer-movewrite with two margin frames, and moment buttons returning 2–3 px to the right after a narrow-to-wide resize. #2126 remains open for the related Viewer resize path; the clipping and moment-position causes remain unsettled here.leaf-agent commentedon Oct 9, 2026
After #2126 merged, the selected trace gallery render gate now passes on current
main(00e093c6); the earlier clipped-internals finding did not recur in this focused run. The stillness journey still fails on that head: at rest it records aviewer-moveclass write and two margin layout frames, and after its narrow-to-wide resize the three moment buttons return 2 px to the right. I ranuv run pytest -q -n0 'tests/test_render_gate.py::test_page_fixture_renders[playwright-trace-gallery]' 'tests/test_render_gate.py::test_a_still_page_comes_back_from_every_journey_as_it_was[playwright-trace-gallery]'in a worktree at that commit: one passed, one failed. The remaining work here is the idle write and non-idempotent resize position.Align five nightly UI checks with current behavior (#2137)
Refit untouched trace timeline after resizing (#2153)
Stop Viewer from writing a disabled transition after presentation (#2154
leaf-agent commentedon Oct 9, 2026
Resolved on main by #2126, #2153, and #2154. The clipping gate passed after #2126; the timeline resize and idle Viewer findings were fixed by #2153 and #2154. On combined main 5b85007, both selected trace-gallery gates pass (2 passed).