From f0cc9f1de1b2f3557a2119c7e6e1776462253272 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 30 May 2026 06:18:38 +0000 Subject: [PATCH] ci(codeql): force Kotlin recompile so CodeQL sees source The Analyze Kotlin job failed with 'no source code seen during build' (exit code 32): assembleDebug compile tasks were served from cache / marked UP-TO-DATE, so CodeQL's tracer observed no Kotlin source. Add --no-build-cache --rerun-tasks to the CodeQL build step to force actual recompilation, giving the tracer source to analyze. --- .github/workflows/codeql.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 9ae0ba7..d278e32 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -33,7 +33,10 @@ jobs: languages: java-kotlin - name: Build for CodeQL - # autobuild looks for 'testClasses' which doesn't exist in KMP; build manually instead - run: ./gradlew assembleDebug + # autobuild looks for 'testClasses' which doesn't exist in KMP; build manually instead. + # --no-build-cache + --rerun-tasks force Kotlin to actually recompile so the CodeQL + # tracer observes source. Without this, cached/up-to-date compile tasks are skipped and + # CodeQL fails with "no source code seen during build" (exit code 32). + run: ./gradlew assembleDebug --no-build-cache --rerun-tasks - uses: github/codeql-action/analyze@v4