RUM-15137: Don't run Java API generation task on CI for non-release builds#3421
Merged
0xnm merged 1 commit intoMay 5, 2026
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3421 +/- ##
========================================
Coverage 72.06% 72.06%
========================================
Files 961 961
Lines 35406 35406
Branches 5880 5880
========================================
Hits 25512 25512
- Misses 8278 8282 +4
+ Partials 1616 1612 -4 🚀 New features to boost your workflow:
|
0xnm
marked this pull request as ready for review
May 5, 2026 14:25
kikoveiga
previously approved these changes
May 5, 2026
0xnm
force-pushed
the
nogorodnikov/rum-15137/stop-running-java-api-generation-for-non-release-builds-on-ci
branch
from
May 5, 2026 14:54
6df4293 to
a4634a5
Compare
kikoveiga
approved these changes
May 5, 2026
0xnm
deleted the
nogorodnikov/rum-15137/stop-running-java-api-generation-for-non-release-builds-on-ci
branch
May 5, 2026 16:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
We are using binary-compatibility-validator plugin to generate Java API surface in addition to the KotlinAPI surface (made by ourselves).
The problem is that it is running on any compilation, but it has a strong dependency on the release compilation, meaning that if we run debug variant compilation, we will also then trigger release variant compilation for our library modules.
This PR keeps having Java API surface generation for non-CI executions (we want it to be updated on the local changes), but for CI it is strictly wired to the release compilation.
Review checklist (to be filled by reviewers)