Skip to content

🤖 tests: App.transcriptReveal scroll-up-mid-reveal story flakes (top visible row after the reveal) #6758

Open

Description

@ThomasK33

Flaky story: App.transcriptReveal > scroll-up-mid-reveal failed once in Test / Storybook, then passed on a rerun of the same commit.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high • Cost: $68.42

Activity

  1. ThomasK33 commented on Oct 15, 2026

    @ThomasK33
    MemberAuthor

    More occurrences, all with the identical message ("expected 'reveal-row-216' to be 'reveal-row-280'"):


    Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high • Cost: $68.42

  2. ThomasK33 commented on Oct 16, 2026

    @ThomasK33
    MemberAuthor

    Picked up by the issue coordinator: workspace 6c6977610a, branch tests/transcript-reveal-scroll-up (PR #6875, which says Refs #6758 and keeps this issue open).


    Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high • Cost: $76.61

  3. ThomasK33 commented on Oct 16, 2026

    @ThomasK33
    MemberAuthor

    Status: diagnostics landed in #6875 (merge commit a6fe173). The cause is not fixed yet, so this issue stays open.

    What I know:

    • 'reveal-row-216' is exactly the top row you get at the final scrollTop minus the height of the first revealed chunk (4789 px, 53 rows), measured locally in the same 1280x720 layout. So in the failing run, the browser's native scroll anchoring skipped its adjustment for the first chunk only. It anchored the later chunks.
    • I could not reproduce the failure: 0 failures in 36 full Storybook suite runs, 75 story-file runs, 65 isolated runs with CPU throttling at 1x/4x/8x, and 5 timing variants.

    Hypothesis (unproven): Chromium skips an anchoring adjustment when a property such as transform or position changes on the anchor node or an ancestor in that layout, or when the anchor node is lost.

    Trigger: the next time App/TranscriptReveal › ScrollUpMidReveal fails in CI, its assertion message has an evidence (#6758): {...} JSON. Read it this way:

    • samples are contentHeight/scrollTop/mountedRows after each layout. A chunk that mounted without anchoring shows as a height step with an unchanged scrollTop.
    • Entries marked * are animations on the anchor row or its ancestors. ancestorChanges are class or style changes on that path.
    • If the evidence points at product code (ChatPane.tsx, its hooks, useAutoScroll.ts), route it to the perf owner's F20 lane.

    Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high • Cost: $76.61

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions