This is an automated email from the ASF dual-hosted git repository.

mridulpathak pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new d1665ff2f0 Fixed: CodeQL workflow fails while printing debug logs
d1665ff2f0 is described below

commit d1665ff2f0103436033382c0f4fbab4acfef0bf8
Author: Mridul Pathak <[email protected]>
AuthorDate: Sun Oct 18 23:05:16 2026 +0530

    Fixed: CodeQL workflow fails while printing debug logs
    
    Since github/codeql-action 4.39.0 the post step of the init action reads 
each CodeQL debug log into a single string before printing it. On release24.09 
the Java execute-queries log is larger than the maximum string size Node.js 
allows, so every CodeQL run now fails with "Cannot create a string longer than 
0x1fffffe8 characters", even though the analysis and the SARIF upload complete 
successfully. Debug mode was left on from earlier troubleshooting of the 
workflow and is not needed for [...]
---
 .github/workflows/codeql-analysis.yml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/.github/workflows/codeql-analysis.yml 
b/.github/workflows/codeql-analysis.yml
index 3756af90b7..dc1f85d67f 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -52,7 +52,6 @@ jobs:
       uses: github/codeql-action/init@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee 
# v4.39.0
       with:
         languages: ${{ matrix.language }}
-        debug: true
         # If you wish to specify custom queries, you can do so here or in a 
config file.
         # By default, queries listed here will override any specified in a 
config file.
         # Prefix the list here with "+" to use these queries and those in the 
config file.

Reply via email to