Skip to content

fix(ci): force java CodeQL builds to rerun#9

Merged
trancee merged 15 commits into
mainfrom
fix/codeql-java-rerun-tasks
May 31, 2026
Merged

fix(ci): force java CodeQL builds to rerun#9
trancee merged 15 commits into
mainfrom
fix/codeql-java-rerun-tasks

Conversation

@trancee
Copy link
Copy Markdown
Owner

@trancee trancee commented May 31, 2026

Summary

  • fix the failing CodeQL java-kotlin job from run 26711227335
  • force the Java/Kotlin manual build step to bypass Gradle task output reuse
  • keep the task list scoped so the job stays faster than a full build

Why

The failing run finalized the CodeQL database with:

CodeQL detected code written in Java/Kotlin but this run didn't build any of it

The Gradle step was satisfying compilation work from cached outputs (FROM-CACHE / UP-TO-DATE), which means CodeQL could not observe real compiler invocations.

Verification

  • yamllint -c .yamllint.yml .github/workflows/codeql.yml
  • local Gradle verification of the CodeQL build command with --rerun-tasks --no-build-cache showed compile tasks executing instead of FROM-CACHE

@trancee trancee merged commit 7e7c91b into main May 31, 2026
10 checks passed
@trancee trancee deleted the fix/codeql-java-rerun-tasks branch May 31, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant