Repository navigation
test: expect the bundled debugpy and rdbg installers to check their debugger, as since #2102 - #2138
Merged
lagergren merged 1 commit intoNov 23, 2026
Conversation
…ebugger, as since redhat-developer#2102 InstallerTaskRegistryInitializeTest of redhat-developer#2091 expected the checks of the bundled python-debugpy and ruby-rdbg installers to be an exec of ${server.command}. redhat-developer#2102, merged after it, makes them check that the debugger is installed (python3 -m debugpy --version, rdbg --version), so that they install it only when it is missing. Each pull request passed on its own, and together they fail the test on main. The installers are as redhat-developer#2102 meant them, so the test expects them so.
|
Warning Review limit reachedThis review ran on the open-source allowance, not this organization's plan, because the pull request author doesn't have an assigned seat. Waiting won't change this — ask an organization admin to assign them a seat, or add seats in Billing if every seat is already assigned, then retry. Next included review available in 30 minutes. View limit details
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2138 +/- ##
==========================================
+ Coverage 51.80% 52.95% +1.15%
==========================================
Files 825 826 +1
Lines 34574 34600 +26
Branches 7108 7111 +3
==========================================
+ Hits 17910 18322 +412
+ Misses 13947 13527 -420
- Partials 2717 2751 +34 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
lagergren
added a commit
that referenced
this pull request
Nov 24, 2026
…rflowed, and retry a refused download for a minute (#2175) ## What Main's last CI run, for 436b029, failed on Windows before any test ran: ``` Could not GET 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugins-bom/2.3.21/kotlin-gradle-plugins-bom-2.3.21.pom'. > Received status code 429 from server: Too Many Requests ``` The job had no cache to start from: setup-gradle said "Gradle User Home cache not found. Will initialize empty.", so it downloaded every dependency again. **Why there was no cache:** the repository's Actions cache holds 12.2 GB, over GitHub's 10 GB per repository. Every entry in it was saved in the 20 minutes before this PR, all on main. The biggest are `gradle-transforms` entries of 3.9, 3.3 and 0.9 GB. They are the IDEs that the IntelliJ Platform Gradle plugin extracts as Gradle artifact transforms, one per job and platform version. Each push to main saves them again for the 5 test jobs, the plugin build and the verifier. GitHub then evicts the oldest entries, the other jobs' downloads among them, and the next run of those jobs fetches everything from Maven Central and JetBrains again. ## Change - **The cache:** every `setup-gradle` step leaves `caches/transforms-4` and `caches/*/transforms` out of the Actions cache, with `gradle-home-cache-excludes`. setup-gradle deletes them before it saves. These are ci.yml, buildZip.yml, IJ.yml, IJ-latest.yml (3 steps), nightly.yml and release.yml. - The downloads themselves stay cached (`gradle-dependencies`, now 1.3 to 2 GB an entry), so the entries fit in 10 GB, and Gradle extracts an IDE again from its cached download without a network access. - Locally the IDEs are in `caches/9.9.2/transforms/*/transformed/extracted`. - **Retries:** Gradle 9.9.2 already retries a download refused with a server error or a 429 (`NetworkingIssueVerifier`), but only 3 times, 1 and 2 seconds apart. `gradle.properties` raises that to 6 times, 2, 4, 8, 16 and 32 seconds apart, with `systemProp.org.gradle.internal.network.retry.max.attempts` and `.initial.backOff`, which `NetworkOperationBackOffAndRetry` reads. A local build prints them back as 6 and 2000 from an init script. ## The other CI failures this week I went through the 22 failed "Java CI with Gradle" runs since 2026-11-17: - **6 were a real break**, fixed by #2138: `InstallerTaskRegistryInitializeTest` failed on every job after #2102. - **Most of the rest were flaky tests, since fixed:** - `LanguageServerManagerInstancesTest` by #2120; - `CancelRequestAfterShutdownTest` by #2162; - `SocketLanguageServerTest` by #2064; - `SelectedEditorConnectionTest` and `FileDocumentMoveTest` by the fixes of #2099 and #2095. - **Seen once and not fixed:** `WatchedFilesTest` (Windows, 2026-11-22) and `LanguageServerInstancesTest` (2026.3, 2026-11-18). - **Since 2026-11-23 14:00 UTC:** 36 runs passed, and the only failure was this 429. ## Check A pull request reads the cache but doesn't write it, so this PR's own CI can't show the saving. After the merge, the next run on main should leave the repository's cache under 10 GB, and the run after it should restore each job's entry. I'll check both.
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
mainfailsInstallerTaskRegistryInitializeTest.testTheBundledInstallersCheckWithInitializeOnceTheServerCommandRunson every platform since #2102 merged. It fails on #2119 (run 45165528123), and on #2136, which changes only docs:Cause
Two pull requests that each passed on their own:
execof${server.command}.python3 -m debugpy --versionandrdbg --version, so that they install it only when it's missing. Its CI ran without feat: an installer check that counts a server as installed only once it answers initialize #2091's test.Change
The installers are as #2102 meant them, so the test no longer expects an
execof${server.command}from those two, and its comment says why. Test only.Test
InstallerTaskRegistryInitializeTest(6 tests), and theinstallationandlaunching.templatespackages withBundledTemplateCommandsTest(174 tests), pass onmainwith the change.