Skip to content

Exclude restored packages from CodeQL analysis - #68201

Open
kotlarmilos wants to merge 1 commit into
mainfrom
exclude-restored-packages-codeql
Open

Exclude restored packages from CodeQL analysis#68201
kotlarmilos wants to merge 1 commit into
mainfrom
exclude-restored-packages-codeql

Conversation

@kotlarmilos

Copy link
Copy Markdown
Member

Description

Classifies .packages as library code in .CodeQL.yml so CodeQL and TSA do not report findings from restored third-party dependencies such as node-gyp and Emscripten.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f24b00de-a3b9-4818-ac02-349c269a9433
Copilot AI review requested due to automatic review settings August 4, 2026 16:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s CodeQL/TSA configuration to treat restored third-party dependencies as library code, reducing noise from findings in non-owned code (e.g., node-gyp, Emscripten).

Changes:

  • Adds a library path classifier for the .packages restored-dependencies directory.
Show a summary per file
File Description
.CodeQL.yml Adds .packages under path_classifiers.library to reduce CodeQL/TSA findings from restored third-party code.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment thread .CodeQL.yml
Comment on lines +11 to +12
# The .packages/ directory contains restored third-party dependencies.
- .packages
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.

2 participants