From f564457f5e46c91c193401cd22c815e00496c360 Mon Sep 17 00:00:00 2001 From: Ruslan Ibrahimau Date: Sun, 19 Jul 2026 11:48:10 +0300 Subject: [PATCH] Force task re-execution in CodeQL compile step --no-build-cache (added in #15) stops Gradle from resolving compile tasks FROM-CACHE, but restored incremental state can still mark them UP-TO-DATE, in which case kotlinc never launches and CodeQL's manual-build extractor sees no compilation. Add --rerun-tasks so the scanned compile tasks always execute for real; dependency caching from setup-gradle stays in effect. Verified locally: the exact workflow command reports "27 actionable tasks: 27 executed" with zero UP-TO-DATE/FROM-CACHE outcomes. Co-Authored-By: Claude Fable 5 --- .github/workflows/codeql.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 351c347..6727552 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -48,7 +48,7 @@ jobs: - name: Compile JVM Kotlin sources run: >- - ./gradlew --stacktrace --no-build-cache + ./gradlew --stacktrace --no-build-cache --rerun-tasks :core:compileKotlinJvm :snapshot:compileKotlinJvm :wasi:compileKotlinJvm