Commit 6ec357b
authored
feat(cli): add
* chore: remove deadcode (stateful resources validation)
* chore: remove stateful resource validation tests
* chore: remove unimplemented validations
* chore: scaffold retain.ts
* chore: wire retain in gen2-migration.ts
* chore: add stack walker
* chore: add buildRetainOperation()
* chore: call the added fucntions
* chore: add validation helper
* chore: wire validator
* chore: update implications
* chore: rollback
* chore: add tests
* chore: update tests
* chore: minor UX improvements
* chore: minor UX improvements
* chore: minor UX improvements
* chore: minor UX improvements
* chore: minor UC improvements
* chore: minor UX improvements
* chore: minor UX imporovements
* chore: minor UX improvements
* chore: minor UX improvements
* chore: minor UX improvements
* chore: fix retain validator rejecting nested stack re-evals
* chore: update tests
* chore: major UX changes
* chore: walk stack hierarachy root-first
* chore: wire retain into gen2-migration e2e
* chore: remove flaky formatting test
* chore: remove marker, skip nested-stack refs, add unlock step
* chore: lazy changeset creation to avoid OBSOLETE transitions
* chore: document retain subcommand
* chore: skip createChangeSet when retain already applied
* chore: port walker and broadened validator into lock
* chore: add resource-classification map in lock
* chore: add retain-everything ops to lock.forward
* chore: implement buildRetainOperation in lock
* chore: inline classifier and label-push helpers in lock
* chore: retire old per-resource retain loop from lock
* chore: update lock tests for retain-everything
* chore: remove retain subcommand
* chore: add 3-layer hierarchy test for lock retain walk
* chore: broaden lock rollback drift whitelist for retain-everything
* chore: add retain2 step for gen2-migration
* chore: rename retain2 to retain
* docs: document retain step for gen2-migration
* docs: tighten retain doc and classifyStacks jsdoc
* chore: revert lock.ts to origin/dev
* docs: resolve readme conflict by taking dev credential refresh section
* chore: address pr feedback on retainretain command for gen2-migration (#14843)1 parent 6f12bec commit 6ec357b
12 files changed
Lines changed: 822 additions & 785 deletions
File tree
- .kiro/skills/gen2-migration
- docs/packages/amplify-cli/src/commands
- gen2-migration
- packages
- amplify-cli
- src
- __tests__/commands/gen2-migration
- _common
- commands
- gen2-migration
- _common
- amplify-e2e-gen2-migration
- src/core
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
Lines changed: 15 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
160 | | - | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| |||
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
182 | | - | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
Lines changed: 88 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | 90 | | |
92 | 91 | | |
93 | 92 | | |
| |||
0 commit comments