Skip to content

ci: keep the IntelliJ IDEA (IU) release of ci.yml up to date #2062

Closed

Description

@muescha

Problem

ci.yml tests every pull request against a fixed IntelliJ IDEA (IU) release, today 2026.3:

- os: ubuntu-latest
  platformVersion: '2026.3'
  platformType: IU

That is on purpose: a new IntelliJ release should not turn unrelated pull requests red, and a commit should give the same result today and tomorrow. The cost is that someone has to notice a new release and update the entry. 2026.3 was released on 2026-11-05 and came into ci.yml with #1931 on 2026-11-11. Against 2026.3, main didn't compile and 70 tests failed, so the update was more than one line.

#2063 makes "Latest IJ" (IJ-latest.yml) warn, without failing, when a newer IU release is out than the highest one that ci.yml tests. That tells us that ci.yml is behind, but not whether moving it to the newer release would pass.

Two variants

1. "Latest IJ" also tests the release that ci.yml should move to (proposed)

When the check of #2063 finds that ci.yml is behind, "Latest IJ" runs ./gradlew check against the newest release too, in a second job next to the one for the newest build (which is often an EAP).

  • The warning can then say whether the newest release passes. If it does, updating ci.yml is a one-line change. If it doesn't, the log shows what fails, before anyone touches ci.yml and before a pull request runs into it.
  • Pull requests and ci.yml stay as they are.
  • Cost: one more job in the nightly run, only while ci.yml is behind.

2. ci.yml takes the newest release automatically (feasible, set aside for now)

ci.yml would get a small job before the tests that finds the newest IU release with intellijPlatformDiscover --kind=releases --type=IU --channel=RELEASE (as "Latest IJ" does after #2063) and hands it to the matrix:

- os: ubuntu-latest
  platformVersion: ${{ needs.versions.outputs.latestRelease }}
  platformType: IU

This works, and ci.yml would never be behind. We set it aside for now because:

  • On the day of a new release, every open pull request turns red, also one that only fixes a typo, until main is fixed. With 2026.3 that would have been six days.
  • A commit can pass today and fail tomorrow, which makes failures hard to trace.
  • Finding new IntelliJ versions early is the job of "Latest IJ", away from pull requests.

A middle way would be a scheduled job that opens a pull request which updates the entry in ci.yml (like Dependabot does for dependencies), so that the new release is tested in that pull request only.

Question

Is variant 1 wanted? I can add it to #2063 or in a pull request of its own.

Activity

  1. lagergren commented on Nov 22, 2026

    @lagergren
    Collaborator

    @muescha yes, variant 1 is wanted, thanks! With #2063 merged, please open it as a pull request of its own: when ci.yml is behind, "Latest IJ" also runs ./gradlew check against the newest release, and the warning says whether it passes.

  2. lagergren commented on Nov 22, 2026

    @lagergren
    Collaborator

    @muescha I've opened #2098 with variant 1, as it was the only thing left of this issue: variant 2 and the scheduled pull request were set aside above. It closes this issue once merged. Thanks for the proposal, and a review of #2098 would be very welcome.

    It splits "Latest IJ" into discover, build and newest-release, which runs only while ci.yml is behind. A run on my fork, with ci.yml set back to 2025.3, gave the notice "ci.yml can move to 2026.3". It also fixes the upload of the test reports of build, whose paths each started with path:.

  3. added this to the 0.30.2 milestone on Nov 22, 2026
  4. added a commit that references this issue on Nov 23, 2026
    27d5297
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions