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
test_the_layer_holds_its_whole_page_rules_on_the_corpus: a corpus page sets a negative SVG rect height #5463
tests/journeys/test_render_gate.py::test_the_layer_holds_its_whole_page_rules_on_the_corpus errors at teardown on Linux and macOS in scheduled run 41816958231 (checkout 8b759a5663b5) and scheduled run 41622727492 (checkout 19757c94c59b), and locally on main e0c0f9c5f (Linux, --run-nightly):
failed on teardown with "AssertionError: http://127.0.0.1:38707/versions/v1.html: Error: <rect> attribute height: A negative value is not valid. ("-59")
(repeated)
Some page in the corpus sweep sets an SVG <rect> height from a negative computed value, and the console error fails teardown. The page and the code writing the rect (a chart, trace or diagram widget) are not yet identified. The browser's console message names only the version URL.
The -59 rects come from ar-canary-hours and ar-export-hours, the two hourly bar charts in the corpus's alert-review tab. Each was drawn at height 1, so a band spans 1 − marginTop 20 − marginBottom 40 = −59. Drawing those two specs with Plot at height 1 reproduces exactly those bars.
The height came from paper. pressable_paper_findings emulates print for a moment, and print opens shut tab panels. measure (browser/runtime/shown-box.js) took that paper box as the chart's first room, even though only the screen holds an undrawn widget at its stated height. The chart kept that height when the tab later opened on screen. Locally, both charts first receive a size while print matches (1040×540 and 1040×560 against stated 200 and 220). Only CI's runner turned that into a height near zero; this host never did, even under 6× CPU throttle.
#5636 makes measure count a box on paper as no box and observe the element afresh once the page is back on screen. Its new chart test draws at 180 (the source's height) on main and at the stated 200 with the fix. The corpus journey passes locally, and the PR's CI is green at 4d516030. A tend-land run is handling the merge. Since this journey only fails on CI, the first scheduled run after the merge is what confirms the fix.
Activity
leaf-agent commentedon Nov 7, 2026
The
-59rects come fromar-canary-hoursandar-export-hours, the two hourly bar charts in the corpus's alert-review tab. Each was drawn at height 1, so a band spans 1 − marginTop 20 − marginBottom 40 = −59. Drawing those two specs with Plot at height 1 reproduces exactly those bars.The height came from paper.
pressable_paper_findingsemulates print for a moment, and print opens shut tab panels.measure(browser/runtime/shown-box.js) took that paper box as the chart's first room, even though only the screen holds an undrawn widget at its stated height. The chart kept that height when the tab later opened on screen. Locally, both charts first receive a size while print matches (1040×540 and 1040×560 against stated 200 and 220). Only CI's runner turned that into a height near zero; this host never did, even under 6× CPU throttle.#5636 makes
measurecount a box on paper as no box and observe the element afresh once the page is back on screen. Its new chart test draws at 180 (the source's height) on main and at the stated 200 with the fix. The corpus journey passes locally, and the PR's CI is green at4d516030. Atend-landrun is handling the merge. Since this journey only fails on CI, the first scheduled run after the merge is what confirms the fix.Say tend-land waits for a test fix's CI, not the session that pushed …