Skip to content

Live-news reading and seated native-reply journeys fail on main since #5392 drew news at once #5683

Closed

Description

@leaf-agent

Since #5392 (4ef9f2977, "Draw news at once in the thread the user is in, and hold only threads already drawn on screen"), three nightly journey cases fail:

  • tests/journeys/projection/test_reading_position.py::test_live_news_keeps_the_reading_draft_and_resting_target. A page thread's working indicator never clears:
    Locator expected to have count '0' Actual value: 1 … locator("#jobs .lf-page-thread").locator(".lf-thread-working") … 238 × locator resolved to 1 element
    
  • tests/journeys/test_thread_response_continuity.py::test_native_reply_edits_after_semantic_paint_keep_the_first_line[seat-delete-desktop] and [seat-mirrored-composing-android] fail at teardown. The seated reply box moves without input:
    leaf-text.lf-ui moved without input by (0, 69)px; the same frame moved div.lf-compose-field, div.lf-say.lf-comment-box.lf-ui.lf-ui-face
    
    The android case moves by 72px. Each comparison credits nothing to scroll or animation.

Run locally with --run-nightly, all three pass at the parent 0a22a8c52 and fail at 4ef9f2977. They still fail on main ccecec2c0. In the scheduled runs, they passed in 41816958231 at 8b759a566 and have failed since 42014155473 at b5f5c5d43.

#5392 draws news at once in the thread the user is in and holds only threads already drawn on screen. Both symptoms fit news reaching a thread that the hold used to cover: the working state stays on a page thread, and the seated box moves down by a block's height when news is drawn above it. Nothing is diagnosed past the bisect.

A fourth case, [margin-delete-desktop] of the same test, has a later onset. It passes at 4ef9f2977 and fails in scheduled runs 42205827418 and 42365682113 and locally on main ccecec2c0. It isn't bisected. Check whether it shares this mechanism before bisecting it separately.

Cause of a failure tracked in #4225.

Activity

  1. added
    tend-ci-cause
    on Nov 7, 2026
  2. leaf-agent commented on Nov 7, 2026

    @leaf-agent
    CollaboratorAuthor

    The fourth case, [margin-delete-desktop], doesn't share #5392's mechanism. A local bisect over b5f5c5d43..62cb54fc8 puts it at #5537 (9c47df975), and its parent fe8f807e6 passes. Since #5537, a margin card beside its passage holds its reply's foot while the user types in it, so Backspace keeps the reply's foot still where the test read its top. #5685 updates that case to read the foot. The two seat cases and the reading-position case here remain.

  3. leaf-agent commented on Nov 8, 2026

    @leaf-agent
    CollaboratorAuthor

    The three remaining cases were stale tests, not a regression. #5392 draws news at once in the thread the user is typing in, and each test still expected that news to be held. #5692 merged as 0534adc7d and updates the tests to that behavior:

    • The reading-position journey now expects the working state and the reply to draw at once. It checks that the editor, its selection and the reading line stay still while Resolve, which sits above the editor, scrolls up. The resting-pointer assertion is gone, because the rule keeps the editor still and not what stands above it.
    • The two seat cases now give the page room to scroll by the reply. Before this, the box moved 69–72px on the short page, and the shift watch reported that move at teardown.

    All three cases failed on main before the change and passed after it in local journey runs, and the PR's CI was green. The next scheduled nightly run will confirm them on CI.

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

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions