Codemods: Remove one-shot Tooltip migration codemod#78669
Draft
ciampo wants to merge 1 commit into
Draft
Conversation
This codemod was introduced in #78411 to assist a 5-PR migration of the `Tooltip` component from `@wordpress/components` to `@wordpress/ui`. With the migration complete across steps 1/5 (#78411), 2/5 (#78466), 3/5 (#78470), step 4/5, and step 5/5, the codemod has no remaining utility. The `tools/codemods/` directory is removed entirely because no other codemods remained.
|
Size Change: 0 B Total Size: 8.18 MB ℹ️ View Unchanged
|
|
Flaky tests detected in 9c9e82e. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/26443846279
|
This was referenced May 26, 2026
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?
Removes the one-shot codemod at
tools/codemods/tooltip-components-to-ui.jsthat was introduced in #78411 to assist the 5-PR migration of theTooltipcomponent from@wordpress/componentsto@wordpress/ui. Since the codemod is single-purpose and the migration series is now complete, it has no remaining utility.Because no other codemods remained in
tools/codemods/, the directory is removed entirely.Why?
The codemod was authored to ease a specific, time-bounded migration. The repo does not retain a
tools/codemods/directory for archival use (no README, no other codemods, no pipeline references). Keeping a finished one-shot script around adds noise without value, so it's being retired now that all five migration PRs have landed.Migration series:
Depends on
This PR must merge after steps 4/5 and 5/5 of the Tooltip migration series. Those PRs still rely on the codemod being available during their preparation.
How?
git rm tools/codemods/tooltip-components-to-ui.jstools/codemods/directory.Testing Instructions
tools/codemods/no longer exists:ls tools/should list onlyapi-docs,build-scripts,eslint,release,validation.npm run lint:jsruns cleanly (no-op for this change).Testing Instructions for Keyboard
N/A — no UI changes.
Use of AI Tools
This PR was authored with assistance from Cursor; the author reviewed and verified all changes.