Skip to content

Offline package key test does not receive its final x key #4466

Closed

Description

@leaf-agent

Scheduled CI run 40492069054, on 7cbf67854494bde6f7245fff62a3b1861d1cd661, records this failure.

Tab ArrowRight and offline ArrowLeft assertions pass, and held keys disappear; the final window keydown listener does not observe x.

Affected cases (JUnit names):

  • tests.browser.startup.test_keys::test_package_reading_keys_work_while_history_waits_and_after_offline_fallback
Deciding CI diagnostics
macOS:
AssertionError: assert None is True
 +  where None = evaluate('window.offlineKeyArrived')
 +    where evaluate = <Page url='http://127.0.0.1:57161/versions/v1.html#first'>.evaluate

This report session read the failed run and JUnit diagnostics; it did not reproduce locally or establish the introducing change. Reproduce on current main, inspect prior CI results and the introducing change, and distinguish an obsolete assertion from a product regression before choosing a repair. A passing rerun alone does not clear an intermittent defect.

Cause of a failure tracked in #4225.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #4598 repairs a test ordering race: the held-key notice disappears when the keyboard controller takes the queue, before its scheduled frame releases the offline hold. The test now waits for rendering before checking ordinary key delivery.

    Pausing the frame clock reproduced the reported None assertion; the same controlled case passes when rendering finishes before the final input. The revised test also passes at 10× CPU throttle. Runtime behavior is unchanged. I dispatched CI on the repair branch for macOS verification; the queued review and Tend landing workflow own the remaining checks and landing, with this session's CI wait disabled.

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