Repository navigation
feat(v1.55.0): add remove-kubernetes-implicit-children codemod - #168
Merged
schultzp2020 merged 5 commits intoOct 13, 2026
Merged
Conversation
schultzp2020
marked this pull request as draft
October 12, 2026 21:04
Contributor
Author
|
Review-blocked: JSX target matching currently uses imported names textually. A local |
Contributor
Author
|
Fresh review blocker at 352b8c0: inert JSX tag check treats |
schultzp2020
marked this pull request as ready for review
October 12, 2026 21:43
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.
Closes #152.
Summary
Preserved prior shadowed-parameter provenance behavior and extended coverage for sibling/block-local shadows.
Corrective follow-up for review blocker 0526c880: fixed non-letter JSX tag misclassification (
_Widget/$Comp).Added fixture seams:
fragment-local-component-todoshorthand-fragment-safenamed-alias-shadowed-block-localnamespace-alias-shadowed-block-localnon-letter-component-todoEvidence
RED before fix (new fixtures):
cd codemods/v1.55.0/remove-kubernetes-implicit-children && yarn testGREEN after fix:
cd codemods/v1.55.0/remove-kubernetes-implicit-children && yarn testyarn formatyarn lintyarn testyarn check:changedPerformance audit (workflow path, representative mostly inert corpus =
codemods/):no-op workflow dry-run (
__perf_noop.workflow.yaml) x3: 1.710s, 1.628s, 1.586s (avg 1.641s)real workflow dry-run (
workflow.yaml) x3: 3.607s, 3.589s, 3.615s (avg 3.604s)delta: +1.963s, ~2.20x vs no-op; no 10-100x pathological gap from JSSG perf guide.
edit/idempotence check on copied corpus:
pass 1: 9 files changed (
11 insertions(+), 18 deletions(-))pass 2: 0 files changed
Approved clean-source QA (read-only)
0863f0349c63fa7475b89aed71b6fb8214791394: rc=0 (~8s), zero exact FixDialog/ContainerCard/PodLogs import candidates, no edits/TODOs; clean SHA/status unchanged.4c760a005dd582df1a61aec39ae50ad565f6dbbc: rc=0 (~6s), zero exact target candidates, no edits/TODOs; clean SHA/status unchanged. Original dirty checkout untouched.Merge Danger
Door: one-way
Codemod now removes children only when imported component/React fragment identities are proven; ambiguous bindings are left unchanged (or TODO-annotated for effectful paths).
Blast Radius: migration
Only
@backstage/remove-kubernetes-implicit-childrenusers are affected.Main reconciliation and full-suite side effect
origin/mainat53b1076(including feat(v1.55.0): rename connections public API symbols #164 Git-env fixture isolation). KeptREADME.mdbyte-for-byte identical to main;yarn.lockdiffers from main only by this workspace stanza. Preserved the minor changeset.yarn format,yarn lint,yarn test,yarn check:changed(12/12 package fixtures), and shippedworkflow.yamlpositive fixture + second-pass idempotence passed.yarn testgenerated an untracked 145-bytecodemods/v1.55.0/remove-relations-compatibility-config/tests/flow-inline-comment-preserved-when-catalog-emptied/metrics.json(Git blob42847c1041d21d4278619381aa2d51455bc1b654). Verified that was the only worktree change, backed it up outside the worktree, and removed only that generated file. No feat(v1.55.0): add remove-relations-compatibility-config codemod #162 source or ignore rules were changed.