Skip to content

test: read the hosted thread's head after the panel settles in the website turn test - #6608

Merged
max-sixty merged 1 commit into
mainfrom
fix/issue-6598-hosted-head
Nov 20, 2026
Merged

max-sixty merged 1 commit into
mainfrom
fix/issue-6598-hosted-head

Conversation

@leaf-agent

@leaf-agent leaf-agent commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

test_a_website_turn_posts_its_answer_when_the_move_is_settled_first read the open thread's head box (head) while the panel's thread view was still gliding to the height its new working step gave it. On a slow runner that read lands mid-motion. The later reading, taken at rest, then differs (y 688 against 690.6, 718.6 or 731.4 in different copies), and the assertion at line 109 that the receipt change moved nothing fails. The test now waits for the panel to settle on the thread view (panel_settled) before taking head. The assertion still checks the same promise: swapping the receipt's words leaves the head where it stood.

On CI's Mac (leaf-dev suite flake --copies 18 --workers 1 --load 4), line 109 failed 7 of 36 copies on main (d714c2e60: elsewhere 5/18, here 2/18) and 0 of 36 on this branch (run). Both runs also showed one copy of a different teardown finding, the panel's back button moving 77 px without input. That finding is inherited from main and is not this test's assertion. It is tracked in #6609.

Refs #6598 — automated triage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants