Skip to content

Remove disable_combine_sarif_files feature flag #2991

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

koesie10
Copy link
Member

This removes the disable_combine_sarif_files feature flag which is currently fully enabled.

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.

@Copilot Copilot AI review requested due to automatic review settings July 24, 2025 09:15
@koesie10 koesie10 requested a review from a team as a code owner July 24, 2025 09:15
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 removes the disable_combine_sarif_files feature flag which is currently fully enabled and no longer needed. The change simplifies the codebase by removing feature flag checks and directly applying the behavior that was previously controlled by the flag.

  • Removes the DisableCombineSarifFiles feature flag enum value and configuration
  • Updates function signatures to remove the features parameter from SARIF file combination logic
  • Simplifies test cases by removing feature flag-related test setup and scenarios

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/upload-lib.ts Removes feature flag parameter from functions and simplifies SARIF file combination logic
src/upload-lib.test.ts Updates test cases to remove feature flag dependencies and removes redundant test
src/feature-flags.ts Removes the DisableCombineSarifFiles enum value and configuration
lib/upload-lib.test.js Generated JavaScript equivalent of test file changes
lib/upload-lib.js Generated JavaScript equivalent of main implementation changes
lib/feature-flags.js Generated JavaScript equivalent of feature flag removal

@koesie10
Copy link
Member Author

For the failing tests, it's probably easiest to wait for CLI 2.16.6 support to be dropped (which I suggested here).

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