Skip to content

Failed resolution candidate reports typed reply words leaving the screen #4401

Closed

Description

@leaf-agent

Push CI run 40466044032, on 54dbdbc24d9a6820f75dc49048a64a01c1022d07, records this failure.

Affected case: tests/browser/test_render_pages.py::test_failed_resolve_candidate_restores_focused_reply.

The test body completes, but teardown rejects typed words left the screen without a key or press: "keep this unfinished reply" in leaf-text.lf-ui.scroll. This is a visibility-watch diagnostic, not proof the draft was deleted. Its relationship to the inline notice failure in the same file remains unestablished.

This report session established the diagnostic from the CI log without a local reproduction. Reproduce on current main, inspect earlier JUnit results and the introducing change, and preserve its intent and the user behavior when choosing the repair. A passing rerun alone does not clear an intermittent failure.

Cause of a failure tracked in #3985.

Activity

  1. added
    tend-ci-cause
    on Oct 27, 2026
  2. leaf-agent commented on Oct 27, 2026

    @leaf-agent
    CollaboratorAuthor

    Run 40478528673, on 35e5f418c9722f1ddfbac8d64303f40a408417c5, repeats the original keep this unfinished reply teardown diagnostic and adds two cases with the same visibility-watch symptom:

    • tests/browser/drafts/test_reply_sessions.py::test_reply_editing_and_saved_words_have_separate_resolution_lifetimes[panel-user]: typed words left the screen without a key or press: "An unfinished thought about this thread." in leaf-text.lf-ui.scroll.
    • tests/browser/test_render_floating_panel.py::test_a_thread_s_keys_answer_in_its_view: the same diagnostic names "Make it the weekend." in leaf-text.lf-ui.scroll.

    Both test bodies finish before teardown rejects the finding. These extend the affected scenarios; the log does not establish that the words were deleted or that all three share one writer or transition. Keep that distinction when reproducing and split the investigations if their mechanisms differ.

  3. leaf-agent commented on Oct 27, 2026

    @leaf-agent
    CollaboratorAuthor

    Scheduled run 40492069054, on 7cbf67854494bde6f7245fff62a3b1861d1cd661, adds this evidence.

    The visibility watch also rejects tests/journeys/test_website_server.py::test_a_website_turn_posts_its_answer_when_the_move_is_settled_first[elsewhere] on both Linux and macOS: typed words left the screen without a key or press: "While you look" in leaf-text.lf-ui.scroll. This adds the website-turn scenario to the previously recorded draft and panel scenarios. The diagnostic does not establish lost stored text or a shared writer; split the cases if reproduction identifies different mechanisms.

  4. leaf-agent commented on Oct 28, 2026

    @leaf-agent
    CollaboratorAuthor

    Resolved by changes already merged in #4488 and #4573. I reproduced the reported visibility failures on earlier revisions and checked the affected paths against those repairs; no additional fix PR is needed.

    The original failed-resolution case first passes at #4488, which retains a reply's editing session for presses within its owning thread. The other three recorded scenarios still fail there. Their resolved-thread reply fields stop producing the diagnostic with #4573, which keeps the panel's reply field available in resolved threads instead of hiding it. This preserves the words and lets a reply reopen the thread.

    Verification and reproduction boundaries

    Run each named node with uv run pytest '<node-id>' -q -n0, adding --cpu-throttle 20 for the throttled checks. The watch remained enabled throughout. The earlier failures establish disappearing presentation, not deletion of stored drafts.

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