Skip to content

Flaky 1-second wall-clock limits in two rules perf tests (nested tables, component occurrence) #2091

Closed

Description

@nc9

Two rules tests assert a hard 1-second wall-clock limit and flake on busy CI runners. In run 43992702867 (pub#1896), unrelated to the PR's change, they took 1401 ms and 1014 ms; a rerun passed.

  • packages/rules/tests/a11y-nested-tables-3355.test.ts ("link-in-text-block: 5,000 nested blocks in under 1 s")
  • packages/rules/tests/component-occurrence-defects.test.ts ("a 5,000-link nav does not re-walk the region per link")

Acceptance Criteria

  • Both tests still catch the quadratic regression they guard: a deliberate O(n^2) change fails them.
  • Neither depends on a tight absolute wall-clock limit that CI load can exceed, for example a ratio against a smaller input or an operation count.
  • 20 consecutive CI runs show no failure of either test.

Activity

  1. added
    bug
    on Nov 17, 2026
  2. added theissue type on Nov 17, 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

    bug

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions