Skip to content

test: anchor the nested-passage thread walk's thread on a section the page holds - #7372

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-7370
Nov 27, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-7370

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

test_a_thread_walk_starts_one_page_trip_and_reveals_its_nested_passage has been failing on main since #7353. That change made a quote whose named section the page doesn't hold place nowhere, where before the search ran over the whole page. The test's fixture anchors its thread with ("far", "Far-side passage"), but the page has no id="far". So the thread had no passage, the walk had nothing to reveal, and the press left every scroller at 0 ({'page': 0, 'rail': 0, 'local': 0}). The fixture now names local, the scroller that holds the passage. That restores what the test exercises without changing its assertions or #7353's rule.

Verification, run locally by node id with --run-main:

The failure appeared in run 45948475842, the only failure in that run's test job (1 failed, 8320 passed).

Closes #7370 — automated triage

… page holds

The fixture named section `far`, which the page never defines. Since #7353
a quote whose named section the page doesn't hold is placed nowhere, so
the thread had no passage to reveal and the walk moved neither the rail
nor the local scroller. The anchor now names `#local`, which encloses the
passage; the test's behaviour is unchanged.

Closes #7370
@leaf-agent
leaf-agent merged commit b916f78 into main Nov 27, 2026
7 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-7370 branch November 27, 2026 08:19
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.

ci failing on main (push)

1 participant