CI: CodeQL java-kotlin intermittently fails to resolve Gradle plugins (no dependency cache)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- Half a day
- Newbie friendliness
- 76/100
Research direction
Start with codeql.yml and the Android job in ci.yml, then compare their Gradle setup with settings.gradle.kts. Enable Gradle dependency caching for the pinned actions/setup-java step and verify why plugin resolution lists only Google and MavenRepo rather than gradlePluginPortal(). Done means the required CodeQL job reliably resolves the Kotlin plugin without rerunning while remaining enabled.
Written by the indexing model from the issue text.
Description
Analyze (java-kotlin) (CodeQL, a required check) fails intermittently while resolving Gradle plugins, before any analysis:
Plugin [id: 'org.jetbrains.kotlin.jvm', version: '2.3.10', apply: false] was not found in any of the following sources:
... Searched in the following repositories: Google, MavenRepo
Seen on #89, #99 and #101 (3 times in 2 days). A rerun passes, so this is a download problem, not the code.
Neither codeql.yml nor the Android job in ci.yml caches Gradle dependencies, so every run downloads everything from Maven Central.
Proposed fix (needs review, CI change):
- Enable Gradle dependency caching for the CodeQL java-kotlin job, e.g.
cache: gradleon the existing pinnedactions/setup-java. - Check why the error lists only Google and MavenRepo although
settings.gradle.ktsalso declaresgradlePluginPortal().
The check stays required and is not skipped.
- Dominant language
- Kotlin
- Stars
- 0
- Forks
- 0
- Avg merge
- 17h 56m
- Merged PRs (30d)
- 10
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ft-dev-org/cloudbridge-oss
-
difficulty: beginner documentation help wanted networking
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ft-dev-org/cloudbridge-oss#44 ·
Maintainers usually reply within 1 day
-
difficulty: beginner documentation help wanted self-hosting
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
ft-dev-org/cloudbridge-oss#42 ·
Maintainers usually reply within 1 day
-
difficulty: beginner documentation good first issue self-hosting
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ft-dev-org/cloudbridge-oss#40 ·
Maintainers usually reply within 1 day
-
difficulty: beginner documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ft-dev-org/cloudbridge-oss#39 ·
Maintainers usually reply within 1 day
-
backend difficulty: beginner enhancement self-hosting
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ft-dev-org/cloudbridge-oss#25 ·
Maintainers usually reply within 1 day
All issues in ft-dev-org/cloudbridge-oss
Similar issues
-
area: ci
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
GlassworksHQ/glassworks#1548 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
hnvy/ledgedroid#20 ·
-
enhancement priority: medium
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
morinoparty/MineAuth#546 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
PixelPlayerHQ/PixelPlayerOSS#325 ·
Maintainers usually reply within 1 day