Skip to content

Run Java integration tests only in the merge queue, with an impact-mapped local run before review #34815

Closed

Description

@mohityadav766

Problem

Java integration tests (ITs) run on every push to a backend PR, in three engine combinations
(MySQL + Elasticsearch, PostgreSQL + OpenSearch, PostgreSQL + Elasticsearch + Redis), and then run
again on the merged commit in the merge queue. The JavaUIIT/search-it workflow also runs on PRs
that touch search code and on every merge-queue entry, and maven-collate-ci runs the Collate ITs
against every OpenMetadata PR.

Change

Suite PR checks Merge queue Nightly
Java unit tests yes yes —
Java integration tests — yes —
JavaUIIT and search-it — — openmetadata-nightly
Collate, triggered by an OpenMetadata change build + unit tests integration tests —

Since PRs stop running ITs, the author (or agent) runs the ITs a diff can break before review:
make java_affected selects them from an impact map that knows each test's failsafe lane and
engine, and make java_affected_run ARGS="--update-pr" records the result in the PR body. The
java-affected-tests skill and pr-checklist make that run a gate before a PR is opened.

Work

  • OpenMetadata: local runner, impact map, skill and PR-template gate — Fixes #34815: Run Java integration tests only in the merge queue, with an impact-mapped local run before review #34818
  • OpenMetadata: IT workflows run in the merge queue only; JavaUIIT off PRs and the merge queue;
    maven-collate-ci dispatches unit tests for PRs and ITs for the merge queue
  • openmetadata-collate: the same runner for Collate's ITs (open-metadata/openmetadata-collate#7162); the
    OpenMetadata-triggered run selects unit tests or ITs by event
  • openmetadata-nightly: the embedded JavaUIIT (Elasticsearch and OpenSearch, including
    search-direct) and search-it jobs that only ran on PRs — open-metadata/openmetadata-nightly#340
  • After merge: require the unit-test check in the merge-rules rulesets, run the MCP unit tests
    in CI, and fix the SDK unit tests (surefire fails JUnit discovery, so they have never run in CI)

Activity

  1. self-assigned this
    on Oct 7, 2026
  2. added this to Shipping and removed this from Roadmapon Oct 7, 2026
  3. added 2 commits that reference this issue on Oct 7, 2026
    b607560
    fcb7b8b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

  • Status
    Done ✅

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions