Skip to content

Flaky e2e: agent-tab-groups delegated canvas does not return to the normal tab in time #287

Closed

Description

@yansfil

web/e2e/agent-tab-groups.spec.ts "Delegated canvas returns to its normal tab and Agent controls keep palette commands" failed twice in 60 verify runs (2026-09-29..10-01) and passed on rerun.

Failure: after the child chip opens the delegated canvas and the test clicks the normal tab, [data-pane-view="<parent>"] is not found within 5 s (line ~223).

What is known: hided logs of the failing and passing runs are structurally the same; the core acknowledged tab.focus. The failing runs took about 3 s between the chip click and the tab click against 1 s when passing. The chip's tracked focus relation was still "awaiting authoritative event" when the tab was clicked, so the click may race sync_agent_selection (agent_areas.rs ~427).

Next: wait for the relation to settle before clicking; dump data-canvas and the ws frames on failure; reproduce with --repeat-each=20 under load to tell a product race from a slow runner.

The test is quarantined with @flaky (it runs, but does not block verify) until this is fixed.

  • Expires: 2026-10-12

The @flaky tag is removed by this date: the cause is fixed, or the test is split by contract or deleted. A longer timeout or more retries does not end this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    quarantine

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions