Skip to content

Conversation

@ribafish
Copy link

@ribafish ribafish commented Jun 5, 2025

As one of the impactful Eclipse projects, we (the Develocity Solutions team) would like to invite you to be a part of the Eclipse Develocity evaluation initiative.

Description

This improvement will enhance the functionality of the Eclipse MWE build by publishing a build scan for every CI build and for every local build from an authenticated Eclipse committer. The build will not fail if publishing fails. The build scans of the Eclipse MWE project are published to the Develocity instance at develocity-staging.eclipse.org, hosted by the Eclipse Foundation and run in partnership between the Eclipse and Gradle. This Develocity instance has all features and extensions enabled and is freely available for use by the Eclipse MWE project and all other Eclipse projects.

On this Develocity instance, the Eclipse MWE project will have access not only to all of the published build scans but also to other aggregate data features such as:

  • Dashboards to view all historical build scans, along with performance trends over time. For example, look at the Quarkus instance trends dashboard with the ci filter applied.
  • Build failure analytics for enhanced investigation and diagnosis of build failures. You can also explore the Quarkus instance for example of a different OSS projects Develocity instance.
  • Test failure analytics to better understand trends and causes around slow, failing, and flaky tests. Going to the Quarkus instance again, this will probably give you a better representation of the type of data available. You can also order it by flakiness, which is a good starting point when deciding which tests need fixing the most.

This will also enable you to (optionally) use build time optimization features, such as (remote) build caching and Predictive Test Selection. In this PR, build caching is enabled, with the local cache being disabled on CI and only allowing CI to write to the remote cache, as per the general recommendations.

I ran some tests about build speed improvements when caching is configured with the following results. Here are the best-case (no code change) savings:

Invocation Build time without cache Build time with cache Speedup
install -DskipTests=true 1m 59.838s 39.350s 3x (1m 20.488s savings)
install 2m 10.402s 40.374s 3.25x (1m 30.028s savings)
install -Dtycho-version=4.0.10 -Dsign.skip=true -DtestFailureIgnore=true -Dmaven.javadoc.failOnError=false -Dtarget-platform=org.eclipse.emf.mwe2.target -DBUILD_TYPE=N -Dscan.tag.target=target 2m 7.670s 40.861s 3.17x (1m 26.809s savings)
install -Dtycho-version=4.0.11 -Dsign.skip=true -DtestFailureIgnore=true -Dmaven.javadoc.failOnError=false -Dtarget-platform=org.eclipse.emf.mwe2.target.nightly -DBUILD_TYPE=N -Dscan.tag.target=target.nightly (FAILED for my tests) 2m 34.951s 46.264s 3.37x (1m 48.687s savings)

All of the above runs also had -f maven/org.eclipse.emf.mwe2.parent/pom.xml -Dtycho.localArtifacts=ignore -Dmaven.repo.local=.m2/repository arguments set.

Caching can be tested without setting up the Develocity credentials - simply run 2 or more builds (the first one will fill the local cache, next ones can use it).

More information can be read in the Eclipse announcement. Here is also a blog post abut Develocity from Eclipse Foundation, as well as a Develocity presentation, made in collaboration with Eclipse Foundation (and Gradle).

Please let me know if there are any questions about the value of Develocity or the changes in this pull request and I’d be happy to address them.

IMPORTANT

To get scans publishing on CI, a helpdesk ticket needs to be opened in order for those credentials to be created, as explained in the initiative documentation. If this PR is merged without the credentials vault setup, your CI will not work because of the missing vault! This won't be visible in the PR builds, as they use the current Jenkins setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant