Skip to content

ci: Fix CodeQL build failure caused by ASan conflict#8

Merged
scc-tw merged 1 commit intomainfrom
fix/codeql-asan-conflict
Mar 22, 2026
Merged

ci: Fix CodeQL build failure caused by ASan conflict#8
scc-tw merged 1 commit intomainfrom
fix/codeql-asan-conflict

Conversation

@scc-tw
Copy link
Copy Markdown
Owner

@scc-tw scc-tw commented Mar 21, 2026

Summary

  • CodeQL workflow was building with Debug, which enables ASan (-fsanitize=address)
  • When protoc executes to generate .pb.cc files, ASan runtime conflicts with CodeQL's instrumentation, crashing the build
  • Switch to Release — CodeQL has its own analysis and doesn't need sanitizers

Test plan

  • Verify CodeQL CI passes after merge

🤖 Generated with Claude Code

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>
@scc-tw scc-tw merged commit b6dfc21 into main Mar 22, 2026
7 checks passed
@scc-tw scc-tw deleted the fix/codeql-asan-conflict branch March 22, 2026 12:37
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