Commit Graph
9 Commits
Author SHA1 Message Date
Hiroshi SHIBATAandClaude Opus 4.6 a08f54740a Ignore files with parse errors in CodeQL analysis
These test files, specs, and trace_point.rb contain intentionally
invalid syntax or special constructs that CodeQL's parser cannot
handle. They are not security-relevant and should be excluded from
analysis.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 15:14:58 +09:00
Hiroshi SHIBATAandClaude Opus 4.6 c6bee053a2 Narrow CodeQL paths-ignore to only fixture directories
Keep test/ and spec/ in CodeQL analysis for better SAST coverage.
Only exclude directories containing intentionally unparseable files
such as UTF-16 encoded fixtures and bad syntax test fixtures.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 12:45:30 +09:00
Hiroshi SHIBATAandClaude Opus 4.6 b2562525c3 Exclude test directories from CodeQL analysis
CodeQL's Ruby extractor cannot parse UTF-16 encoded fixtures,
TRICK entries, and some edge-case syntax in test files, causing
84 parse error warnings. These directories (spec/, test/, sample/,
benchmark/) are not relevant for security scanning.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 12:45:30 +09:00
Hiroshi SHIBATA b5a1c57c98 Merge codeql-config into codeql-analysis 2023-02-27 17:57:58 +09:00
Nobuyoshi Nakada 85fc822307 CodeQL slowness on syntax_suggest fixed at 2.10.5
This reverts commit d152ac677c, "Make
CodeQL ignore syntax_suggest because of the performance problem".
Probably all instances seem to already have updated to 2.10.5 now.
2022-10-02 18:36:45 +09:00
Nobuyoshi Nakada d152ac677c Make CodeQL ignore syntax_suggest because of the performance problem
https://github.com/github/codeql/discussions/10120#discussioncomment-3485880
2022-09-15 10:25:11 +09:00
Hiroshi SHIBATA 731315bf55 Use codeql-config.yml for codeql-action/init 2021-08-02 17:23:18 +09:00
Hiroshi SHIBATA 0292ec9b8a Removed paths-ignore because it's not affect with cpp 2021-08-02 17:23:18 +09:00
Hiroshi SHIBATA 01776ca1c0 Ignore conftest.c under the ext directories for CodeQL analysis 2020-07-03 15:16:55 +09:00