Skip to content

Conversation

@asgerf
Copy link
Contributor

@asgerf asgerf commented Nov 4, 2025

The Actions analysis uses the JS extractor to extract yaml files, and expects those files to be left in the WIP database in the event that no JS/TS code was found.

@asgerf asgerf requested a review from a team as a code owner November 4, 2025 07:53
Copilot AI review requested due to automatic review settings November 4, 2025 07:53
@github-actions github-actions bot added the JS label Nov 4, 2025
@asgerf asgerf added the no-change-note-required This PR does not need a change note label Nov 4, 2025
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 makes two independent changes: removing the compileForOverlayEval configuration option from the JavaScript QL pack and optimizing the directory deletion logic in the AutoBuild extractor.

  • Removed compileForOverlayEval: true from the JavaScript QL pack configuration
  • Changed from recursive to non-recursive directory deletion when cleaning up empty source folders
  • Added specific exception handling for DirectoryNotEmptyException when the source folder is unexpectedly non-empty

Reviewed Changes

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

File Description
javascript/ql/lib/qlpack.yml Removes the compileForOverlayEval configuration option
javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java Optimizes directory deletion from recursive to non-recursive with appropriate exception handling

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

@asgerf
Copy link
Contributor Author

asgerf commented Nov 4, 2025

Closing in favour of #20752

@asgerf asgerf closed this Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

JS no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants