* Fix - disk space in github workflows
* Fix - disk space in github workflows
* Fix - disk space in github workflows
* Fix running tests with bulk apis
* Fix running tests with bulk apis
* Address comments; make awaitability for tests
* Address comments
This change addresses two critical issues with TagRecognizerFeedbackIT and the integration test suite:
1. **Test Execution Flow**: Replaced maven-surefire-plugin with maven-failsafe-plugin to ensure all integration tests run even when individual tests fail. Failsafe runs tests in the `integration-test` phase and validates results in the `verify` phase, allowing complete test coverage while still failing the build on test failures.
2. **Test Flakiness**: Fixed race conditions and timing issues in TagRecognizerFeedbackIT:
- Replaced Thread.sleep() with Awaitility-based workflow readiness check
- Increased timeout from 2 to 3 minutes to accommodate CI server load
- Decreased poll interval from 5 to 3 seconds for faster failure detection
- Enhanced error handling with detailed exception messages
- Fixed compilation error by using WorkflowHandler.isDeployed() instead of non-existent getWorkflow()
3. **GitHub Workflows**: Updated CI workflows to use `mvn verify` instead of `mvn test` and corrected report paths from `surefire-reports` to `failsafe-reports`.
Changes applied to all Maven profiles: mysql-elasticsearch, postgres-opensearch, postgres-elasticsearch, mysql-opensearch, and postgres-rdf-tests.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>
* Add support for Dropwizard 5.0 and Jetty 12.1.x
* Dropwizard 5x and Jetty 12.1 upgrade
* Fix test behavior
* Fix rdf tests
* revert enableVirtualThreads
* fix tests
* Fix Tests
* Fix tests
* Switch to jersey-jetty-connector for Jetty 12 compatibility
- Replace jersey-apache-connector with jersey-jetty-connector
- Jersey 3.1.4+ jersey-jetty-connector supports Jetty 12.0.x+
- Use JettyConnectorProvider and JettyHttpClientSupplier for HTTP client
- Keep reasonable timeouts (30s connect, 2min read) to prevent CI hangs
- Set SYNC_LISTENER_RESPONSE_MAX_SIZE for large responses
This fixes the 1,093 InterruptedException test failures caused by
using the default Jersey client (HttpURLConnection-based) which doesn't
handle concurrent test execution properly.
* Fix: Start Jetty HttpClient before use
Jetty 12 HttpClient implements LifeCycle and must be explicitly
started with httpClient.start() before use. This fixes the 163
InterruptedException test failures.
* Fix: Force jetty-client to 12.1.1 for jersey-jetty-connector
jersey-jetty-connector brings transitive jetty-client:12.0.22 but
Dropwizard 5.0 uses Jetty 12.1.1. The ClientConnector.newTransport()
API changed between 12.0.x and 12.1.x, causing NoSuchMethodError.
Fix: Exclude transitive jetty-client and add explicit 12.1.x dependency.
* Use Java 11+ HttpClient connector for tests (jersey-jnh-connector)
Switch from the broken jersey-jetty-connector (incompatible with Jetty 12.1.x)
to jersey-jnh-connector which uses Java's built-in java.net.http.HttpClient.
This connector:
- Natively supports all HTTP methods including PATCH
- Works with Java 21
- No external dependencies required
- Avoids compatibility issues with Jetty versions
* Use Apache HttpClient 5.x connector for tests (jersey-apache5-connector)
Switch from jersey-jetty-connector (incompatible with Jetty 12.1.x)
to jersey-apache5-connector which uses Apache HttpClient 5.x.
This connector:
- Supports all HTTP methods including PATCH
- Lenient with empty PUT request bodies
- Has proper timeout support to prevent indefinite hangs
- Works with Jetty 12.1.x
* Fix tests
* Fix docker compose
* Fix tests
* Fix tests - make url compatible
* Add URL parsing
* Fix URL decode
* fix tests
* fix test
* fix tests
* Fix integration with new dropwizard-5x changes
---------
Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com>
* Upgrade Playwright from 1.51.1 to 1.54.2
- Updated @playwright/test package to version 1.54.2 in package.json
- Updated Playwright browser installation to 1.54.2 in all GitHub workflow files:
- mysql-nightly-e2e.yml
- playwright-mysql-e2e.yml
- playwright-postgresql-e2e.yml
- postgresql-nightly-e2e.yml
- Updated yarn.lock to reflect the new Playwright version and its dependencies
Using 1.54.2 instead of 1.56.x to avoid regression bug with "Internal error: step id not found"
that affects fixtures in Playwright 1.55+ (see microsoft/playwright#37147).
This upgrade brings stable Playwright features, improvements, and bug fixes.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: update Playwright tests and utility functions for improved query handling and response validation
* fix: update URL wait conditions in Data Insight tests for accurate navigation
* fix: refine search response handling in verifyDeletedEntityNotVisible function
* fix: correct Playwright worker configuration in workflow files
- Fixed missing backslash continuation in playwright-postgresql-e2e.yml causing --workers=50% to be ignored
- Added missing --workers=50% flag in else block of playwright-postgresql-e2e.yml
- Fixed missing backslash continuation in postgresql-nightly-e2e.yml
- Fixed missing backslash continuation in mysql-nightly-e2e.yml
These syntax errors caused Playwright tests to run with unlimited workers (default CPU cores × 2),
leading to resource exhaustion and GitHub Actions runner communication failures. With this fix,
tests will properly run with 50% workers (1 worker on 2-core runners) preventing memory/CPU starvation.
* fix: increase Playwright worker count to 75% in workflow files
* fix: update Playwright tests to use correct role selectors and encode query parameters
* fix: reduce Playwright worker count from 75% to 50% in CI workflows
* fixed failing test
* fix: remove worker count specification from Playwright test commands in CI workflows
* fix: update Playwright test commands to specify worker count and adjust ESLint ignore settings
* fix: reduce worker count in Playwright configurations to prevent resource exhaustion
* fix: change waitForLoadState from 'networkidle' to 'domcontentloaded' in redirectToHomePage function
* fix: increase worker count to 3 in Playwright config and add navigation timeout to prevent hangs
* fix: reduce worker count to 2 in Playwright config to optimize resource usage
* Upgrade Playwright from 1.51.1 to 1.56.1
- Updated @playwright/test package to version 1.56.1 in package.json
- Updated Playwright browser installation to 1.56.1 in all GitHub workflow files:
- mysql-nightly-e2e.yml
- playwright-mysql-e2e.yml
- playwright-postgresql-e2e.yml
- postgresql-nightly-e2e.yml
- Updated yarn.lock to reflect the new Playwright version and its dependencies
- Reduced workers from 4 to 2 in playwright.config.ts to prevent resource exhaustion
- Added navigationTimeout: 60000 to prevent infinite hangs on networkidle waits
- Changed networkidle to domcontentloaded in redirectToHomePage function
This upgrade brings the latest stable Playwright features, improvements, and bug fixes while addressing resource exhaustion issues.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* fix: downgrade Playwright to version 1.55.1 in workflow files and package.json
* chore: upgrade Playwright to version 1.57.0 in workflow files and package.json
* trying firfox
* chore: upgrade Playwright to version 1.57.0 in OpenMetadata
- Updated @playwright/test package to version 1.57.0 in package.json
- Updated Playwright browser installation to 1.57.0 in all GitHub workflow files:
- mysql-nightly-e2e.yml
- playwright-postgresql-e2e.yml
- postgresql-nightly-e2e.yml
- Updated yarn.lock to reflect the new Playwright version and its dependencies
- Maintained Chromium browser configuration for all test projects
- Kept worker optimization at 2 workers and --workers=50% flag for resource management
This upgrade brings the latest stable Playwright features, improvements, and bug fixes, including resolution of the "step id not found" regression bug.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* chore: update Playwright trace configuration to 'on-first-retry'
* revert worker setting
* fix failing test
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
* Add Free Disk Space step to prevent disk exhaustion
* Simplify integration test workflows
with single maven command
- Replace two-step build (mvn -DskipTests install + mvn test) with single
mvn clean install -pl :openmetadata-integration-tests -P<profile> -am
- This matches maven-build.yml pattern and builds only required modules
* Add Parallel tests using the new SDK
* Make tests faster and use new SDK
* Add SDK based parallel tests
* Add SDK based parallel tests
* Fix from main
* Add Fluen APIs for Tests
* Add Fluen APIs for Tests
* Add missing Fluent APIs for SDK
* Add missing Fluent APIs for SDK - Data Contracts
* Migrate all the integration tests to new module
* Migrate all the integration tests to new module
* Improve pagination test performance
* Fix tests
* Migration Complete
* Fix the code styling; add github workflows, fix tags parallel issues
* Update migration tracker, address flaky tests
* Address comments
* rename env -> bootstrap for java package
* Fix YAML syntax in playwright-sso-tests.yml and update integration test workflows
* MINOR - Fix RDF CI & repository cleanup
* MINOR - Fix RDF CI & repository cleanup
* fix
* MINOR - Fix RDF CI & repository cleanup
* MINOR - Fix RDF CI & repository cleanup
* MINOR - Fix RDF CI & repository cleanup
* fix
* Single RDF knowledge graph for all entities
* Fix RDF Resource Test
* fix test
* fix test
* Add support for TagLabel objects
---------
Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
Co-authored-by: lautel <laura92cp2@gmail.com>
* feat: Add e2e test documentation site with generation scripts and VitePress configuration.
* feat: migrate e2e documentation generation to Playwright and update service entity permission tests.
* docs: Improve Playwright E2E test documentation with JSDoc comments and update doc generation.
* docs: Add link to E2E Test Documentation in README.
* fix: Correctly escape backslashes in Playwright generated markdown tables and refine the documentation CI workflow.
* minor fix
* fix node version issue
* minor change
* Complete Maven Central Publishing Migration to Central Portal
* switch to latest 0.9.0 release of central-publishing-maven-plugin
* Remove distributionManagement section when using central-publishing-maven-plugin
---------
Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
* data asset rule enforcement on ui
* added multi user and multi team support at same time
* fix the multi user case which wasn't working correctly and clean the ui as well
* fix the rule condition for glossary
* fix the glossary dropdown getting closed on select select after selection where we should wait for footer dropdown button action
* added playwright test for data asset rules table
* fix unit test and supported playwright test for table entity
* change the method and variable name for better readability
* naming convention fix around the glossary validation rule
* supported playwright test for all the entities
* supported in service entities
* spearate the test of rules enable and disable state and added supported in glossaryand teams page of rules owner
* Update generated TypeScript types
* fix the unit test and supported rule in tags page
* fix the generated type issue
* fix he domain single select where de-selecting throwing error and fix type
* modify the playwrigth config so dataAssetRules should be run after the chromium is finish executing so the global run changes won't interrupt other test
* fix all unit test
* fix the test failing in dataAssetHeader
* trying the chromium parallel test running
* modifyed yaml files to run the data asset rules after all machine runs is completed
* change the test running order in playwright config
* reverted the playwright config
* run the data asset rules in only one runner
* added support for multiple user and team combination in ownerLabel compoennt
* fix the placemnet issue, reduce the team font to 12 and minor cleanup
* modify many owner component cases as per ui
* clear ruleEnforcementProvider and useEntityRules hooks
* change the dropdown on owner user to mui component
* fix unit test and make chnages in playwright postgress around test running
* fix unit test failing
* fix some playwright test due to rule enforcement and made changes in CI playeright config to only run dataasset on container 6
* reverted the baseurl
* fix the version view for owner, fix some failing playwright test and re-modify the postgress script to run test
* supported the placement option for owner in case of user and team both and postgress e2e change
* remove the other e2e file changes and fix playwright around rules changes
* fix the e2e command
* fix the failing test around disabled rule and based on comments made fix
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>