Pil0tXia opened a new issue, #4737:
URL: https://github.com/apache/eventmesh/issues/4737

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Environment
   
   Linux
   
   ### EventMesh version
   
   master
   
   ### What happened
   
   The CodeQL task is failing when commits do not involve changes to Java 
source code, likely due to the enabled build cache. This issue has been 
observed consistently after the commit 
https://github.com/apache/eventmesh/commit/0be4c7696be2b0b63b7c5da145d15c79dd282d14.
   
   Whenever the CI workflow runs without any changes in the source code, the 
CodeQL task fails. Examples of such failures can be seen in the following 
workflow runs:
   
   - https://github.com/apache/eventmesh/actions/runs/7409160388/job/20158858356
   - https://github.com/apache/eventmesh/actions/runs/7431611444/job/20222550289
   - https://github.com/apache/eventmesh/actions/runs/7442690257/job/20246493029
   - https://github.com/apache/eventmesh/actions/runs/7477784932/job/20351265854
   
   ### How to reproduce
   
   Push a commit without Java source code change and trigger workflow.
   
   ### Debug logs
   
   ```java
     /opt/hostedtoolcache/CodeQL/2.15.4/x64/codeql/codeql database finalize 
--finalize-dataset --threads=4 --ram=14567 
/home/runner/work/_temp/codeql_databases/java
     CodeQL detected code written in Java/Kotlin but could not process any of 
it. Review our troubleshooting guide at 
https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build .
     Error: Encountered a fatal error while running 
"/opt/hostedtoolcache/CodeQL/2.15.4/x64/codeql/codeql database finalize 
--finalize-dataset --threads=4 --ram=14567 
/home/runner/work/_temp/codeql_databases/java". Exit code was 32 and last log 
line was: CodeQL detected code written in Java/Kotlin but could not process any 
of it. Review our troubleshooting guide at 
https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build . 
See the logs for more details.
   ```
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct) *


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to