Repository navigation
ci: test the newest IntelliJ IDEA release in "Latest IJ" while ci.yml tests an older one - #2098
Conversation
… tests an older one When ci.yml tests an older IntelliJ IDEA (IU) release than the newest, "Latest IJ" now also runs ./gradlew check against the newest release, in a job of its own next to the one for the newest build, which is often an EAP. It then says whether ci.yml can move to that release: if it passes, that is a one-line change of ci.yml, and if it doesn't, its log shows what fails before a pull request runs into it.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2098 +/- ##
=========================================
Coverage 50.34% 50.34%
=========================================
Files 816 816
Lines 33785 33785
Branches 6962 5278 -1684
=========================================
Hits 17008 17008
Misses 14129 14129
Partials 2648 2648 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@coderabbitai review |
Action not completed
|
|
@coderabbitai review |
Action not completed
|
|
@coderabbitai review |
Action not completed
|
|
@coderabbitai review |
Action not completed
|
|
@coderabbitai review |
Action performed
|
Fixes #2062
Variant 1 of #2062, which @muescha proposed; thanks! cc @muescha
What
ci.ymltests pull requests against a fixed IntelliJ IDEA (IU) release, on purpose. Since #2063, "Latest IJ" warns when a newer IU release is out than the highest one thatci.ymltests, but the warning can't say whether movingci.ymlto it would pass.Now, while
ci.ymlis behind, "Latest IJ" also runs./gradlew checkagainst the newest release, and says whetherci.ymlcan move to it:ci.yml;Pull requests and
ci.ymlstay as they are.Change
IJ-latest.ymlnow has three jobs:discoverfinds the newest IntelliJ IDEA build, and whetherci.ymlis behind the newest release, as the jobbuilddid before. Its warning now points to the jobnewest-release.buildtests the newest build, often an EAP, as before.newest-release, new, runs only whileci.ymlis behind. It tests the newest release, says in an annotation and the job summary whetherci.ymlcan move to it, and uploads its test reports astest-reports-newest-release.buildandnewest-releaserun side by side oncediscoveris done. Thebuildjob's test reports are uploaded again: each of their paths started withpath:, so the upload found no files. The cost is one more job in the nightly run, only whileci.ymlis behind."Latest IJ" is still disabled in this repository, so this, as #2063's warning, helps once it is enabled.
Test
pushtrigger, andci.ymlset back to IU 2025.3, so that it is behind. All three jobs passed (run):discover: "ci.yml tests IntelliJ IDEA 2025.3, but the newest release is 2026.3. The job newest-release tests it, and says whether ci.yml can move to it."newest-releasetested 2026.3: "ci.yml can move to 2026.3: ci.yml tests IntelliJ IDEA 2025.3, and the newest release, 2026.3, passes …"buildtested the newest build.newest-release, the warning that the newest release doesn't pass, wasn't run: 2026.3 passes.