GeezerVison is showing github.com — Enable Feature.DiffInformedQueries by cklin · Pull Request #2970 · github/codeql-action
Conversation
cklin
commented
Jul 14, 2025
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
This PR updates Feature.DiffInformedQueries to be enabled on GHES versions 3.19 or higher.
Merge / deployment checklist
- Confirm this change is backwards compatible with existing workflows.
- Confirm the readme has been updated if necessary.
- Confirm the changelog has been updated if necessary.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as outdated.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this 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 enables the Feature.DiffInformedQueries feature by default and restricts it to GHES versions 3.19 or higher. The primary goal is to make diff-informed queries available to more users while ensuring compatibility with supported GHES versions.
- Changed the default value for
Feature.DiffInformedQueries from false to true
- Added GHES version checking to restrict the feature to version 3.19 or higher
- Added comprehensive test coverage for the new GHES version validation logic
Reviewed Changes
Copilot reviewed 6 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File |
Description |
| src/feature-flags.ts |
Updates default value for DiffInformedQueries feature from false to true |
| src/diff-informed-analysis-utils.ts |
Adds GHES version checking logic to restrict feature to 3.19+ |
| src/diff-informed-analysis-utils.test.ts |
Adds comprehensive test cases for diff-informed analysis functionality |
| lib/feature-flags.js |
Compiled JavaScript version of the TypeScript feature flag changes |
| lib/diff-informed-analysis-utils.test.js |
Compiled JavaScript version of the TypeScript test file |
| lib/diff-informed-analysis-utils.js |
Compiled JavaScript version of the TypeScript utility changes |
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
mbg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for changing this and adding tests! Just one minor question / suggestion.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
mbg
mbg approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.