fix: wire components-migration.json into redirect plugin#879
Merged
fix: wire components-migration.json into redirect plugin#879
Conversation
The file has existed since PR #713 but was never loaded by the plugin, so all 15 component name redirects were silently broken. Also removes one dead redirect target (karpenter/docs → 404). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
components-migration.jsonwas never loaded by the static redirects plugin (plugins/staticRedirects/index.js), so all 15 component name redirects have been silently broken since the file was introduced in PR New org components #713requireand spread into the combined redirects arrayeks/karpenter/docs→eks/karpenter-controller/docs/which is a 404)Fixes the broken newsletter links reported by Jonathan:
/components/library/aws/auditmanager/→/components/library/aws/audit-manager//components/library/aws/shield/→/components/library/aws/aws-shield//components/library/aws/inspector2/→/components/library/aws/aws-inspector2//components/library/aws/securityhub/→/components/library/aws/security-hub//components/library/aws/config/→/components/library/aws/aws-config/Also fixes 9 other pre-existing broken redirects (argocd-repo, aws-sso, datadog-configuration, eks/karpenter, spacelift/worker-pool, tgw/cross-region-hub-connector, etc.)
Test plan
/components/library/aws/aws-sso/)🤖 Generated with Claude Code