Skip to content

Flaky test: cycles: ⌃Tab and ⌥Tab commit once, on releasing the held modifier #629

Closed

Description

@github-actions

CI found this test flaky: it failed, then passed on the one retry in the same job, so the run passed.

First attempt's failure:

Error: expect(locator).toHaveAttribute(expected) failed

Locator:  locator('[data-cycle=agents] [aria-selected=true]')
Expected: "w1:p1"
Received: "w1:p4"
Timeout:  5000ms

Call log:
  - Expect "toHaveAttribute" locator('[data-cycle=agents] [aria-selected=true]') with timeout 5000ms
  - waiting for locator('[data-cycle=agents] [aria-selected=true]')
    14 × locator resolved to <div role="option" aria-selected="true" data-cycle-row="w1:p4" data-cycle-kind="herdr" aria-label="Claude, claude agent, Idle, fixture · Terminal" class="flex items-center gap-sm px-md py-xxs bg-secondary text-foregroun

Fix the cause or delete the test by the expiry date; a flaky test is not left running. A longer timeout, more retries or a lower expectation does not end this issue. Each later flaky run adds a comment here.

Activity

  1. added
    bug
    quarantine
    on Oct 6, 2026
  2. yansfil commented on Oct 6, 2026

    @yansfil
    Contributor

    Closing as fixed by #631 and #635 (merged 2026-10-06). The first-attempt failure was a tab focus that waited on the control lane while a pane focus replaced its wait: it was forgotten but still sent, and its late answer was followed as Herdr's own move. #631 remembers such a request as superseded when it leaves the lane, and #635 confirms only requests that have left (by a session showing them, or by Herdr's answer when Herdr already showed that tab, since the pinned Herdr publishes no event for that). A stalled-Herdr reproduction failed 3 of 3 before and passed 12 of 12 after; both main runs since (verify 37453018587 and 37454743580) passed this test on the first attempt with no flaky test reported. A recurrence now also keeps the private hided log in the attempt's artifact (#636).

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

    bugquarantine

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions