Skip to content

Conversation

@smowton
Copy link
Contributor

@smowton smowton commented Jan 7, 2026

This is because doing so presently breaks a code-scanning config that uses path-traversal sequences (. and ..) in its paths or paths-ignore directives, and the Java configuration is in traced mode (buildless would already have objected to these, since it uses resolve files which also doesn't tolerate them).

@smowton smowton requested a review from a team as a code owner January 7, 2026 13:21
Copilot AI review requested due to automatic review settings January 7, 2026 13:21
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 feature that filtered ancillary data extraction for Java code scanning based on paths and paths-ignore settings. The revert is necessary because the filtering breaks code-scanning configurations that use path-traversal sequences (. and ..) in traced mode.

Key Changes

  • Removes the change-notes documentation for the now-reverted feature
  • Deletes the integration test suite that validated the path filtering behavior
  • Removes all associated test data files (Java, XML, and configuration files)

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 Removes the change note documenting the now-reverted path filtering feature
java/ql/integration-tests/java/buildless-paths/test.ql Deletes the test query that validated XML and Java file filtering
java/ql/integration-tests/java/buildless-paths/test.py Removes the test driver for the buildless paths integration test
java/ql/integration-tests/java/buildless-paths/test.expected Deletes the expected test results
java/ql/integration-tests/java/buildless-paths/codescanning-config.yml Removes the code scanning configuration used for testing path filtering
java/ql/integration-tests/java/buildless-paths/sibling/ShouldNotAppear1.xml Deletes test data for files that should be filtered out
java/ql/integration-tests/java/buildless-paths/sibling/ShouldNotAppear1.java Deletes test data for files that should be filtered out
java/ql/integration-tests/java/buildless-paths/include/exclude/ShouldNotAppear3.xml Removes test data for excluded XML files
java/ql/integration-tests/java/buildless-paths/include/exclude/ShouldNotAppear3.java Removes test data for excluded Java files
java/ql/integration-tests/java/buildless-paths/include/ShouldAppear2.xml Deletes test data for XML files that should be included
java/ql/integration-tests/java/buildless-paths/include/ShouldAppear2.java Deletes test data for Java files that should be included

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

@smowton smowton merged commit d048d39 into github:main Jan 7, 2026
31 of 32 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