ci: add timeout to Linux CI to prevent 2026.1 EAP snapshot resolution hangs#39
Merged
ashishrp-aws merged 4 commits intomainfrom Mar 20, 2026
Merged
ci: add timeout to Linux CI to prevent 2026.1 EAP snapshot resolution hangs#39ashishrp-aws merged 4 commits intomainfrom
ashishrp-aws merged 4 commits intomainfrom
Conversation
Qodana for JVMIt seems all right 👌 No new problems were found according to the checks applied 💡 Qodana analysis was run in the pull request mode: only the changed files were checked View the detailed Qodana reportTo be able to view the detailed Qodana report, you can either:
To get - name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2025.1.1
with:
upload-result: trueContact Qodana teamContact us at qodana-support@jetbrains.com
|
…n hang 261.22158-EAP-CANDIDATE-SNAPSHOT causes Gradle to re-check the JetBrains snapshot repo on every build. If the repo is slow or mid-publish, Gradle hangs indefinitely — this is why Linux 2026.1 CI runs for 6+ hours before timing out. Pin to 261.22158.205-EAP-CANDIDATE (latest available pinned build) so Gradle downloads once and caches.
Revert pinned EAP version back to SNAPSHOT so it auto-updates. Add timeout-minutes: 45 as a safety net so snapshot resolution hangs fail fast instead of burning 6 hours of runner time.
ashishrp-aws
approved these changes
Mar 20, 2026
chungjac
approved these changes
Mar 20, 2026
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.
Problem
Linux (2026.1) CI runs for 6+ hours before being cancelled by the GitHub Actions timeout. Other versions (2025.2, 2025.3) finish in ~15-20 minutes.
Root Cause
The 2026.1 profile uses
261.22158-EAP-CANDIDATE-SNAPSHOTas the IDE SDK version. The-SNAPSHOTsuffix causes Gradle to re-check the JetBrains snapshot repository on every build. When the repo is slow or the artifact is mid-publish, Gradle hangs indefinitely during dependency resolution — the./gradlew checkcommand never produces any output.Evidence:
"2025.3") that resolve instantlyFix
Add
timeout-minutes: 45to the Linux unit tests workflow. This is a safety net so snapshot resolution hangs fail fast (45 min) instead of burning 6 hours of runner time. Normal test runs complete in ~15-20 minutes.The SNAPSHOT version is kept intentionally so the build auto-picks up new EAP builds. If the timeout is consistently hit, we can pin to a specific build (e.g.,
261.22158.205-EAP-CANDIDATE).Testing