Skip to content

Conversation

@smowton
Copy link
Contributor

@smowton smowton commented Jan 9, 2026

No description provided.

@smowton smowton requested a review from a team as a code owner January 9, 2026 13:44
Copilot AI review requested due to automatic review settings January 9, 2026 13:44
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 reverts a previous revert to restore functionality where the Java extractor respects paths and paths-ignore settings from code-scanning configurations when searching for XML and properties files.

  • Adds a change note documenting the restored behavior for XML and properties file handling
  • Includes a comprehensive integration test to verify path filtering works correctly

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
java/ql/lib/change-notes/2025-12-16-java-xml-paths.md Documents that XML and properties files now respect paths/paths-ignore settings
java/ql/integration-tests/java/buildless-paths/test.ql Query to test both Java files and XML files are correctly filtered
java/ql/integration-tests/java/buildless-paths/test.py Test harness that creates database with code-scanning config
java/ql/integration-tests/java/buildless-paths/test.expected Expected output showing only included files appear
java/ql/integration-tests/java/buildless-paths/codescanning-config.yml Configuration defining paths to include and exclude
java/ql/integration-tests/java/buildless-paths/sibling/ShouldNotAppear1.{java,xml} Test files outside included paths that should be filtered out
java/ql/integration-tests/java/buildless-paths/include/ShouldAppear2.{java,xml} Test files in included path that should appear in results
java/ql/integration-tests/java/buildless-paths/include/exclude/ShouldNotAppear3.{java,xml} Test files in explicitly excluded path that should be filtered out

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

@smowton smowton merged commit fa0e8cc into github:main Jan 9, 2026
21 of 28 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.

2 participants