Content-Length: 338246 | pFad | http://github.com/github/codeql-action/pull/2970

AC Enable Feature.DiffInformedQueries by cklin · Pull Request #2970 · github/codeql-action · GitHub
Skip to content

Enable Feature.DiffInformedQueries #2970

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 17, 2025
Merged

Conversation

cklin
Copy link
Contributor

@cklin cklin commented Jul 14, 2025

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.

@cklin cklin marked this pull request as ready for review July 14, 2025 19:10
@Copilot Copilot AI review requested due to automatic review settings July 14, 2025 19:10
@cklin cklin requested a review from a team as a code owner July 14, 2025 19:10
Copilot

This comment was marked as outdated.

@cklin cklin requested a review from mbg July 14, 2025 19:11
@cklin cklin force-pushed the cklin/diff-informed-feature-enable branch from 91304fa to 56692c1 Compare July 16, 2025 18:10
@cklin cklin requested a review from Copilot July 16, 2025 18:12
Copy link
Contributor

@Copilot 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 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

@cklin cklin force-pushed the cklin/diff-informed-feature-enable branch from 56692c1 to 4447fc3 Compare July 16, 2025 18:18
mbg
mbg previously approved these changes Jul 17, 2025
Copy link
Member

@mbg mbg left a 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.

@cklin cklin force-pushed the cklin/diff-informed-feature-enable branch from 4447fc3 to 6a49a8c Compare July 17, 2025 13:17
@cklin cklin requested a review from mbg July 17, 2025 13:37
@cklin cklin merged commit 7710ed1 into main Jul 17, 2025
282 checks passed
@cklin cklin deleted the cklin/diff-informed-feature-enable branch July 17, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/github/codeql-action/pull/2970

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy