Skip to content

Backend integration-test changes escalate to a full Playwright run, which currently cannot be planned #33644

Closed

Description

@harshach

Any change under openmetadata-integration-tests/ runs the entire Playwright suite.

select_playwright_tests.py lists openmetadata-integration-tests/ in UNMAPPED_CODE_ROOTS, and
impact-map.json has no entry for it, so every backend-IT change is an unmapped code path:

"reason": "unmapped code paths changed — running the full suite so coverage
           does not depend on the impact-map being current"

That fallback is deliberate and correct in general. It is wrong for this module: it is a test-only
Maven module, not packaged into the server the suite runs against nor into the UI bundle, so no
change in it can alter a spec outcome.

Why it is now a failure and not just waste

Full-suite chromium planning currently aborts:

Lane chromium needs more than 28 shards to stay within the 19-minute plan budget;
the heaviest shard is predicted at 23.6m

So a PR touching four Java test files and no UI fails a Playwright check. Observed on #33642.

How we know it is fixed

An impact-map entry mapping openmetadata-integration-tests/** to no specs — mapped rather than
excluded, so the smoke and canary selectors still run and the change narrows the selection without
dropping the safety net to nothing. This is the remedy the selector's own comment describes: "every
mapping added later demotes its own paths from full back to targeted, so this rule never blocks the
map from shrinking again."

Guarded by test_playwright_backend_it_selection.py, run against the real selector:

changed paths before after
backend IT only full / 0 selectors targeted / 6 selectors
backend IT + a service path full full (unchanged — not a blanket switch)
an unmapped service path alone full full (unchanged)

Separately

The shard-cap abort itself is not addressed here and needs its own decision. The checked-in timing
baseline still computes a 22-shard lower bound for chromium against a cap of 28, and #33633 planned
24 shards eight hours before #33642 failed to plan at all — so the inflation appears to come from
the three recently downloaded run histories rather than from content growth. Worth confirming before
raising COMMON_MAX_SHARDS, since the planner's own comment says to split heavy suites first.

Activity

  1. added this to Shipping and removed this from Roadmapon Sep 20, 2026
  2. moved this to In Review / QA 👀 in Shippingon Sep 20, 2026
  3. moved this from In Review / QA 👀 to Done ✅ in Shippingon Sep 20, 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

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Done ✅

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions