Overlay databases: use --overlay-changes by cklin · Pull Request #2816 · github/codeql-action (original) (raw)

Pull Request Overview

This PR updates the overlay database creation to use the new --overlay-changes flag and implements Git-based file change detection. The key changes include:

Reviewed Changes

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

Show a summary per file

File Description
lib/git-utils.js Parameter renaming and addition of getFileOidsUnderPath.
src/git-utils.ts Parameter renaming and addition of getFileOidsUnderPath.
src/overlay-database-utils.ts New functions for writing and reading Git OIDs and overlay changes.
lib/overlay-database-utils.js ES module implementation of overlay database utilities.
src/codeql.ts Updates to use --overlay-changes flag and base OIDs file.
lib/codeql.js Similar updates as in src/codeql.ts.

Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more