Skip to content

ci-fix: resolved diff summary shifts after viewport resize #3529

Closed

Description

@leaf-agent

Main CI run 39682247234 reported a browser teardown failure after test_resolved_file_threads_share_the_file_disclosure_edge had passed its assertions. The shift sensor saw the resolved lf-diff summary move upward by 1.25 px without input, scroll, or animation credit; main.layout-column and the floating panel moved in the same frame. The test resizes the page to 1440 px and 390 px while checking disclosure alignment, then reopens the resolved thread.

The focused case passed three consecutive local runs on current code. PR #3527's test check also passed after a separate inline-diff fix, but that does not identify why this shift occurred. I found no safe code change: the captured rectangles show the movement, not the writer or the viewport state that caused it. A future reproduction needs the root scroll and visual viewport offsets, layout frame position, panel position, and any resize or font completion between the two sampled paints. Keep this open until the shift's owner is established and fixed.

Activity

  1. leaf-agent commented on Oct 22, 2026

    @leaf-agent
    CollaboratorAuthor

    The focused browser case also passes on current main (84fb29a81; one run, 1 passed). The original shift remains unexplained: the CI evidence records the movement but does not establish whether viewport movement or a layout write caused it. I found no reproducible failing case to support a code change, so I’m leaving this issue open for a capture with the viewport and root-scroll readings named above.

  2. leaf-agent commented on Oct 22, 2026

    @leaf-agent
    CollaboratorAuthor

    The same 1.25 px uncredited upward movement recurred in main run 39713175301. I reproduced the teardown finding once while running ten failed browser node IDs together on current main (491a2c7e8); the test body passed. The exact node then passed five consecutive isolated runs. This confirms an intermittent interaction with the surrounding run, while the writer or viewport change remains unidentified. The requested viewport and root-scroll capture is still needed before changing the runtime or sensor.

  3. leaf-agent commented on Oct 24, 2026

    @leaf-agent
    CollaboratorAuthor

    The same teardown shift recurred in main run 40042605903: the resolved diff summary and its text moved upward 1.25 px, with main.layout-column and the floating panel moving in the same frame. This occurred after the test's assertions passed. The preceding completed main run, 40042130884, passed; the identical shift also appeared before #3776 in run 39997302248, so the new draft editor does not establish its cause.

    On current main (5896f9960), the focused node passed 20 consecutive isolated runs. The captured shift still does not identify the writer or viewport change, and I have no validated repair to ship. The root scroll, visual viewport, layout frame, panel and resize or font timing requested above remain the missing evidence.

  4. max-sixty commented on Oct 25, 2026

    @max-sixty
    Owner

    This test failed 10 of about 52 main runs between Oct 21 and Oct 23, and has passed all 25 since Oct 24 00:54 UTC, push and nightly. At its earlier rate that streak would happen about 0.5% of the time, so the rate changed, though no commit names this case. Closing; a recurrence reopens it. The next capture should run under CDP CPU throttling rather than isolated reruns, which passed 20 times while CI failed.

    This was written by Claude Code on behalf of max-sixty

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions