Skip to content

Flaky test: Delete worktree closes the agents its checkout spawned outside it before the folder goes #707

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).toBeVisible() failed

Locator: locator('[data-delete-worktree]').locator('[data-delete-result="finished"]')
Expected: visible
Timeout: 60000ms
Error: element(s) not found

Call log:
  - Expect "toBeVisible" locator('[data-delete-worktree]').locator('[data-delete-result="finished"]') with timeout 60000ms
  - waiting for locator('[data-delete-worktree]').locator('[data-delete-result="finished"]')

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 7, 2026
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