Skip to content
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

Feature flag: diff_informed_queries #2551

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Conversation

cklin
Copy link
Contributor

@cklin cklin commented Oct 17, 2024

This PR adds a feature flag for future use.

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 October 17, 2024 21:20
@cklin cklin requested a review from a team as a code owner October 17, 2024 21:20
defaultValue: false,
envVar: "CODEQL_ACTION_DIFF_INFORMED_QUERIES",
minimumVersion: undefined,
toolsFeature: ToolsFeature.DatabaseInterpretResultsSupportsSarifRunProperty,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just checking — is this because the same CLI version that supports DatabaseInterpretResultsSupportsSarifRunProperty also supports DiffInformedQueries?

Usually we have a separate entry in https://github.com/github/codeql-action/blob/main/src/tools-features.ts 😄

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I see Requires CodeQL CLI feature databaseInterpretResultsSupportsSarifRunProperty (since 2.19.0) in our internal issue so approving 😸

Copy link
Contributor

@angelapwen angelapwen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@cklin cklin merged commit 63eb7bb into main Oct 21, 2024
542 checks passed
@cklin cklin deleted the cklin/diff-informed-queries-feature branch October 21, 2024 15:52
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