Skip to content

JS: Report file-coverage for (X)HTML files - #22488

Merged
asgerf merged 2 commits into
github:mainfrom
asgerf:js/scan-html
Sep 2, 2026
Merged

JS: Report file-coverage for (X)HTML files#22488
asgerf merged 2 commits into
github:mainfrom
asgerf:js/scan-html

Conversation

@asgerf

@asgerf asgerf commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Adds HTML and XHTML as files to be included in file-coverage stats, so they will start showing up on the status page for CodeQL under "Scanned Files".

@jketema jketema 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.

LGTM.

@asgerf
asgerf marked this pull request as ready for review September 2, 2026 11:54
Copilot AI balanced review requested due to automatic review settings September 2, 2026 11:54
@asgerf
asgerf requested a review from a team as a code owner September 2, 2026 11:54

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.

Copilot review overview

🟢 Approval recommended

The configuration matches existing extracted file types and the change note accurately describes the behavior.

Review tier: Balanced
Findings: None

What changed in this PR

Adds HTML and XHTML files to JavaScript file-coverage reporting.

Changes:

  • Maps SCC HTML/XHTML results to HTML coverage.
  • Enables GitHub API and SCC detection.
  • Adds a user-facing change note.
File Description
javascript/​resources/​codeql-extractor.yml Configures HTML/XHTML coverage reporting.
javascript/​ql/​src/​change-notes/​2026-09-02-html-coverage.md Documents the reporting improvement.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@asgerf
asgerf merged commit be52f4c into github:main Sep 2, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants