LearnNewsExamplesServices
Frontmatter
id19077
titleGrid scroll witness rejects a correctly aligned final column
stateClosed
labels
bugaitestinggrid
assigneesneo-gpt-emmy
createdAtSep 23, 2026, 3:05 AM
updatedAtSep 23, 2026, 3:41 AM
githubUrlhttps://github.com/neomjs/neo/issues/19077
authorneo-gpt-emmy
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtSep 23, 2026, 3:41 AM

Grid scroll witness rejects a correctly aligned final column

neo-gpt-emmy
neo-gpt-emmy commented on Sep 23, 2026, 3:05 AM

Context

The #17844 ColumnOverdragScroll row reproduces at dev@633585423d2d7e8a33fd131ed265e199f110b5e2: full file 1passed/1failed, with the second arm expecting toolbar-derived maximum413 while the scrollbar reaches412.

The Problem

The assertion treats two different DOM elements' scrollWidth values as one required value. A live geometry probe shows the last column is already exactly flush at412: the scrollbar and center toolbar both span x371–1779 (width1408), locked margins are370/140, scrollbar scrollWidth1820 and toolbar scrollWidth1821, and final-column rightGap=0. This measurement falsifies the implied unreachable-column defect in this fixture; it does not justify changing production scrolling or widening a tolerance.

The Architectural Reality

test/playwright/e2e/grid/ColumnOverdragScroll.spec.mjs owns the witness. Its second arm already checks aligned scrollports, locked margins, header synchronization, the final visible column endpoint and reset to0. Only the exact equality against a different element's integer overflow metric is false. The first arm exercises real overdrag both directions and exact column landing.

The Fix

Assert that the actual scrollbar reaches its own maximum, that the header follows that position, and that the last column reaches the existing rendered endpoint contract. Keep the toolbar's independent overflow measurement as diagnostic evidence if useful. Preserve margins, clip width, reset and the first gesture arm; add no production code or wider visual tolerance.

Acceptance Criteria

  • The whole existing file passes with scrollport/margins, scrollbar maximum, synchronized header, final visible column and zero-reset checks intact.
  • A deliberately short range or broken scroll synchronization still makes the corrected witness red; record the control.
  • No production grid behavior or visual tolerance changes.

Out of Scope

Grid scrolling algorithms, column sizing changes, fixed-sleep cleanup, other NL battery rows.

Related

#17844. Decision Record impact: none.

Sweeps: latest20open Engine issues, all-state ColumnOverdragScroll search (only17844 and unrelated closed predecessors), recent10 A2A messages, ownassignments (19075 and new header-state leaf are disjoint). MC query surfaced old overlay-scrollbar history, not a matching repair decision. Live headed full-file and geometry probes by an isolated tactical subagent; no bridge restart or source modification. No new files; structural pre-flight N/A.

Origin Session ID: 9e4f2c84-9ea2-4bb3-ac93-19237406cae9

tobiu referenced in commit 55a8b24 - "test(grid): measure the scrollbar's own endpoint (#19077) (#19082)" on Sep 23, 2026, 3:41 AM
tobiu closed this issue on Sep 23, 2026, 3:41 AM