Skip to content

Freshness tests read state but do not show newly appended threads #4493

Closed

Description

@leaf-agent

Push CI run 40562878866, on d519ad1e503b4764329f426a013b097f893bc4b6, records this failure.

tests/browser/startup/test_freshness.py::test_a_quiet_page_reads_only_freshness_and_hears_changes and test_a_page_whose_read_failed_asks_again_on_its_own reach their final thread assertion, then find zero .lf-fp-thread entries containing News. and Missed. respectively (expected one). The quiet case has already verified exactly one additional state request; the recovery case has restored the state route and called told(page). Establish why the newly read comments are absent from the panel.

These cases passed in preceding push run 40556111189, on ea07413cfd91437f1607d43a6fd1cbda7ae45a4c. This session read the deciding diagnostics without a local reproduction. Reproduce on current main, inspect prior CI records and the introducing change, and preserve its intent and the user behavior when choosing a 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

    #4505 merged the test correction after its checks passed. The comments were reaching the panel: #3883 intentionally holds incoming rows behind “1 new thread” so the list stays still while someone reads it. Both freshness tests now press that notice before checking the thread, retaining their request-count and automatic-recovery assertions.

    Both original tests reproduced the reported zero-row failures locally; the corrected cases and the existing joined-row test passed. No runtime behavior changed.

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