Skip to content

Commit b6dfc21

Browse files
scc-twclaude
andcommitted
ci: Fix CodeQL build failure caused by ASan conflict
Debug build enables ASan (-fsanitize=address), which crashes when protoc runs during protobuf code generation — ASan runtime conflicts with CodeQL's own instrumentation. Switch to Release since CodeQL does its own analysis and doesn't need sanitizers. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 12643b8 commit b6dfc21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
7070

7171
- run: |
72-
cmake -B build -DCMAKE_BUILD_TYPE=Debug
72+
cmake -B build -DCMAKE_BUILD_TYPE=Release
7373
cmake --build build
7474
7575
- name: Perform CodeQL Analysis

0 commit comments

Comments
 (0)