Remove beta ecosystems feature flag for pre-commit#14341
Merged
AbhishekBhaskar merged 1 commit intomainfrom Mar 3, 2026
Merged
Remove beta ecosystems feature flag for pre-commit#14341AbhishekBhaskar merged 1 commit intomainfrom
AbhishekBhaskar merged 1 commit intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes the “beta ecosystems” gating for the pre-commit ecosystem so that fetching .pre-commit-config.* files is no longer blocked by the enable_beta_ecosystems / ALLOW_BETA_ECOSYSTEMS check.
Changes:
- Remove the beta-ecosystem guard and its “PreCommit support is currently in beta…” error from
Dependabot::PreCommit::FileFetcher#fetch_files. - Update the pre-commit file fetcher spec to stop registering the beta experiment and to remove the “beta disabled” failure-case coverage.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
pre_commit/lib/dependabot/pre_commit/file_fetcher.rb |
Removes the beta feature-flag gate so file fetching proceeds unconditionally. |
pre_commit/spec/dependabot/pre_commit/file_fetcher_spec.rb |
Removes now-obsolete experiment setup and the spec asserting the beta-disabled error path. |
JamieMagee
approved these changes
Mar 3, 2026
d97be4f to
bed8e0f
Compare
There was a problem hiding this comment.
pre_commit/lib/dependabot/pre_commit/file_fetcher.rb
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
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.
What are you trying to accomplish?
This PR removes the check for enabling beta ecosystem
enable_beta_ecosystemsflag forpre-commit.Anything you want to highlight for special attention from reviewers?
How will you know you've accomplished your goal?
Checklist