janhoy opened a new pull request, #5354: URL: https://github.com/apache/solr/pull/5354
Crave is going away, and the single `tests-via-crave.yml` job ran the whole test suite serially for 75% of PRs. This replaces it with per-module `tests-*` workflows that run in parallel, each triggered only by its module's paths (plus its own file and `gradle/libs.versions.toml`), so a PR waits for the slowest job instead of the sum. Estimates are from per-class timings on Jenkins calibrated against real ubuntu-latest runs; trigger rates are from the 386 PRs merged in the last 13 weeks. Full analysis with charts: https://claude.ai/artifact/V8efRjyq6fejDdT8W2rgHw <!-- drop /tmp/gh-parallel-tests-overview.png here --> | Workflow | Tests | Est. time | PRs triggering | |---|---|---|---| | **tests-core** | `solr/core` split by Java package into four parallel matrix jobs: cloud (`tests.jvms=3`), search, handler and other (exclusion-based, so a new package can never fall outside every slice). Also triggered by `solr/test-framework` and `solr/api`. | ~13.5 min | 59% | | **tests-solrj** (was `solrj-test.yml`) | solrj, solrj-jetty, solrj-zookeeper, solrj-streaming, api | ~9.5 min | 30% | | **tests-modules-search** | ltr, sql, language-models, langid, analysis-extras, clustering, scripting, cuvs | ~6.5 min | 13% | | **tests-modules-cloud** | s3-repository, gcs-repository, jwt-auth, opentelemetry, cross-dc, cross-dc-manager | ~6 min | 16% | | **tests-extraction** (was `gradle-extraction-check.yml`) | extraction, needs Docker for TikaServer | ~4.5 min | 5% | | **tests-misc** | test-framework, benchmark, ref-guide example tests | ~4.5 min | 17% | Adds a `tests.exclude` option (comma-separated `--tests` patterns to exclude) in `gradle/testing/defaults-tests.gradle` for the "other" core slice. The cloud slice's third test JVM is an assumption to verify on this PR's own runs; the fallback is a fifth slice splitting cloud by class-name pattern. This is an alternative to #5350 which is one serial test run -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
