Skip to content

Fix CodeQL Maven lock-timeout and skip tests for analysis - #90

Merged
vpelikh merged 2 commits into
mainfrom
fix/codeql-maven-lock-timeout
Aug 27, 2026
Merged

Fix CodeQL Maven lock-timeout and skip tests for analysis#90
vpelikh merged 2 commits into
mainfrom
fix/codeql-maven-lock-timeout

Conversation

@vpelikh

@vpelikh vpelikh commented Aug 27, 2026

Copy link
Copy Markdown
Owner

The CodeQL-Build job's Maven install failed with an Aether shared-lock timeout after 900s because parallel modules (-T 1C) forked test JVMs that contended on shared reactor artifacts (webmvc-ui, function-webflux-tests, kotlin-webflux-tests).

  • Raise the local-repo lock timeout via -Daether.syncContext.named.time in the shared maven-install action.
  • Add a skip-tests input to maven-install and enable it for the CodeQL build, which only needs compiled classes for analysis.
  • Drop the obsolete 'git checkout HEAD^2' step (CodeQL recommends analyzing the merge commit).

vpelikh and others added 2 commits August 27, 2026 07:08
The CodeQL-Build job's Maven install failed with an Aether shared-lock
timeout after 900s because parallel modules (-T 1C) forked test JVMs that
contended on shared reactor artifacts (webmvc-ui, function-webflux-tests,
kotlin-webflux-tests).

- Raise the local-repo lock timeout via -Daether.syncContext.named.time
  in the shared maven-install action.
- Add a skip-tests input to maven-install and enable it for the CodeQL
  build, which only needs compiled classes for analysis.
- Drop the obsolete 'git checkout HEAD^2' step (CodeQL recommends
  analyzing the merge commit).
@vpelikh
vpelikh merged commit b92a1ab into main Aug 27, 2026
5 checks passed
@vpelikh
vpelikh deleted the fix/codeql-maven-lock-timeout branch August 27, 2026 07:51
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