Skip to content

test: use inline evidence for datum navigation - #4101

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4096
Oct 25, 2026
Merged

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

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The datum-navigation fixture loaded its patch from a bound source after the page presented. Its first drawing moved the Context paragraph down 137px before the navigation gesture, so shift-watch teardown failed even though the navigation assertions passed. Use an inline patch, whose initial renderer reserves the drawing's geometry, to keep this test focused on a visible datum interrupting pending thread motion.

The competing navigateToDatum call and focus/viewport assertions remain unchanged. The original focused test reproduced the reported 137px shift on current main; the revised test passes at normal speed and with Chromium CPU throttled 6×. No watch credit or tolerance changes.

This follows the diff's existing first-paint behavior in packages/diff/initial/lf-diff.js and packages/diff/styles/theme.css. It changes only the fixture, without reverting #3987's bound-value update gating or changing source delivery behavior.

Closes #4096 — automated triage

The bound diff started at zero height and grew after presentation, moving Context by 137px before the navigation gesture. Use an inline patch so the initial renderer can reserve the evidence geometry. The competing navigateToDatum call still runs during pending thread motion; the test does not exercise source delivery.

Closes #4096
@leaf-agent
leaf-agent merged commit c26545c into main Oct 25, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4096 branch October 25, 2026 19:13
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.

Datum navigation test reports a 137px passive shift during initial diff presentation

1 participant