Skip to content

feat: add feature toggle to disable mirror deletion#487

Open
riley-kohler wants to merge 1 commit into
github-community-projects:mainfrom
capitalone-contributions:feature-toggle-mirror-deletion
Open

feat: add feature toggle to disable mirror deletion#487
riley-kohler wants to merge 1 commit into
github-community-projects:mainfrom
capitalone-contributions:feature-toggle-mirror-deletion

Conversation

@riley-kohler

@riley-kohler riley-kohler commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Pull Request

Proposed Changes

This change adds a feature toggle environment variable that can be used to disable deleting mirrors through the Private Mirrors UI. The change works by both disabling the delete button in the UI with a tooltip to explain that it is disabled and updating the API to throw an error if the delete endpoint is hit directly. Also included is an update to the .gitignore to exclude the generated tsconfig.tsbuildinfo from version control.

Readiness Checklist

Author/Contributor

  • If documentation is needed for this change, has that been included in this pull request
  • run npm run format and fix any formatting issues that have been introduced
  • run npm run lint and fix any linting issues that have been introduced
  • run npm run test and run tests

@riley-kohler riley-kohler requested review from a team as code owners June 16, 2026 14:27
@riley-kohler riley-kohler linked an issue Jun 16, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a feature toggle to prevent the deletion of mirrors

1 participant