Skip to content

Conversation

@felickz
Copy link
Contributor

@felickz felickz commented Nov 3, 2025

This pull request makes a small update to the list of query packs considered in the generate-code-scanning-query-list.py script. The change adds code-quality-extended suites query coverage.

@felickz
Copy link
Contributor Author

felickz commented Nov 3, 2025

@copilot

Actions has a known no query included in code-quality nor code-quality-extended, but adding extended in this PR is now failing the build query list job: Run python codeql/misc/scripts/generate-code-scanning-query-list.py > code-scanning-query-list.csv

Found well-known suite Optional[actions-code-quality.qls], but no queries associated with this suite.
WARNING: No queries found in query suite. (/home/runner/work/codeql/codeql/codeql/actions/ql/src/codeql-suites/actions-code-quality.qls:1,1-1)
Found well-known suite Optional[actions-code-quality-extended.qls], but no queries associated with this suite.
WARNING: No queries found in query suite. (/home/runner/work/codeql/codeql/codeql/actions/ql/src/codeql-suites/actions-code-quality-extended.qls:1,1-1)
A fatal error occurred: Failed to read path /home/runner/work/codeql/codeql
(eventual cause: IOException "Is a directory")

Copilot AI and others added 4 commits November 3, 2025 16:19
…8e3d-0895-49ec-9025-a9864c8e5367

Fix generate-code-scanning-query-list.py to handle empty code-quality-extended suites
@felickz
Copy link
Contributor Author

felickz commented Nov 3, 2025

@felickz felickz marked this pull request as ready for review November 3, 2025 17:14
@felickz felickz requested a review from RasmusWL as a code owner November 3, 2025 17:14
Copilot AI review requested due to automatic review settings November 3, 2025 17:14
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for the code-quality-extended query pack to the code scanning query list generator script. The changes ensure that the new pack is processed alongside existing packs and receives the same handling as the code-quality pack for empty suite scenarios.

  • Added code-quality-extended to the list of query packs to process
  • Updated the empty suite handling logic to include code-quality-extended
  • Enhanced the warning message to dynamically display the pack name

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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