FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use new feature flag for repository properties by henrymercer · Pull Request #3492 · github/codeql-action · GitHub

Use new feature flag for repository properties - #3492

Merged
mbg merged 1 commit into
mainfrom
henrymercer/new-repository-properties-ff
Feb 20, 2026
Merged

Use new feature flag for repository properties#3492
mbg merged 1 commit into
mainfrom
henrymercer/new-repository-properties-ff

Conversation

Copy link
Copy Markdown
Contributor

Append v2 to the repository properties FF, so we can roll out repository properties only to CodeQL Action versions with the improved error handling introduced in #3421.

Risk assessment

For internal use only. Please select the risk level of this change:

  • Low risk: Changes are fully under feature flags, or have been fully tested and validated in pre-production environments and are highly observable, or are documentation or test only.

Which use cases does this change impact?

Workflow types:

  • Advanced setup - Impacts users who have custom CodeQL workflows.
  • Managed - Impacts users with dynamic workflows (Default Setup, CCR, ...).

Products:

  • Code Scanning - The changes impact analyses when analysis-kinds: code-scanning.

Environments:

  • Dotcom - Impacts CodeQL workflows on github.com and/or GitHub Enterprise Cloud with Data Residency.

How did/will you validate this change?

  • None - I am not validating these changes.

If something goes wrong after this change is released, what are the mitigation and rollback strategies?

  • Feature flags - All new or changed code paths can be fully disabled with corresponding feature flags.

How will you know if something goes wrong after this change is released?

  • Telemetry - I rely on existing telemetry or have made changes to the telemetry.
    • Alerts - New or existing monitors will trip if something goes wrong with this change.

Are there any special considerations for merging or releasing this change?

  • No special considerations - This change can be merged at any time.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Consider adding a changelog entry for this change.
  • Confirm the readme and docs have been updated if necessary.

Copilot AI review requested due to automatic review settings February 19, 2026 18:33
henrymercer requested a review from a team as a code owner February 19, 2026 18:33
github-actions Bot added the size/XS Should be very easy to review label Feb 19, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Pull request overview

This pull request updates the feature flag for repository properties from use_repository_properties to use_repository_properties_v2. This change allows the feature to be rolled out exclusively to CodeQL Action versions that include the improved error handling introduced in PR #3421. The feature flag name change is a versioning strategy to ensure only newer Action versions with better error tolerance will be able to enable the repository properties feature.

Changes:

  • Updated the Feature enum value from "use_repository_properties" to "use_repository_properties_v2" in the TypeScript source
  • Maintained backward compatibility by keeping the enum name UseRepositoryProperties and environment variable CODEQL_ACTION_USE_REPOSITORY_PROPERTIES unchanged
  • Generated JavaScript files in lib/ directory reflect the TypeScript changes

Reviewed changes

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

Show a summary per file
File Description
src/feature-flags.ts Updated Feature.UseRepositoryProperties enum value to use v2 suffix
lib/upload-sarif-action.js Generated JavaScript reflecting the feature flag update
lib/upload-sarif-action-post.js Generated JavaScript reflecting the feature flag update
lib/upload-lib.js Generated JavaScript reflecting the feature flag update
lib/start-proxy-action.js Generated JavaScript reflecting the feature flag update
lib/start-proxy-action-post.js Generated JavaScript reflecting the feature flag update
lib/setup-codeql-action.js Generated JavaScript reflecting the feature flag update
lib/resolve-environment-action.js Generated JavaScript reflecting the feature flag update
lib/init-action.js Generated JavaScript reflecting the feature flag update, including usage in loadRepositoryProperties function
lib/init-action-post.js Generated JavaScript reflecting the feature flag update
lib/autobuild-action.js Generated JavaScript reflecting the feature flag update
lib/analyze-action.js Generated JavaScript reflecting the feature flag update
lib/analyze-action-post.js Generated JavaScript reflecting the feature flag update

mbg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thank you for handling this!

mbg merged commit 50fdbb9 into main Feb 20, 2026
259 checks passed
mbg deleted the henrymercer/new-repository-properties-ff branch February 20, 2026 10:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Should be very easy to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL