-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(CLI): improved nested stack diff #29172
Merged
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
7543775
working create changeset
comcalvi 441993e
working nested stack parsing, I think...
comcalvi c2fe021
fix the thing...
comcalvi d89866d
reset point, in case I break it all...
comcalvi d26bbf0
nested diffs\!
comcalvi 10c86cc
temp. This is probably the wrong approach so far, but save it just in…
comcalvi e1e4d34
Revert "temp. This is probably the wrong approach so far, but save it…
comcalvi f793503
Revert "Revert "temp. This is probably the wrong approach so far, but…
comcalvi 26eeb68
Revert "Revert "Revert "temp. This is probably the wrong approach so …
comcalvi 7725f60
Revert "Revert "Revert "Revert "temp. This is probably the wrong appr…
comcalvi aa3e4c7
Revert "Revert "Revert "Revert "Revert "temp. This is probably the wr…
comcalvi 61ff29f
Revert "Revert "Revert "Revert "Revert "Revert "temp. This is probabl…
comcalvi d70a42a
Revert "Revert "Revert "Revert "Revert "Revert "Revert "temp. This is…
comcalvi 5fbd0e8
well, nested stacks have been pulled out. Now it looks like we need t…
comcalvi a7c7303
this alsmost fixed it
comcalvi e7c8927
no more too long pipes from objectDiff
comcalvi 1776ad4
working new nested stack diff
comcalvi 9f33ed0
revert...
comcalvi e7fa75c
Revert
comcalvi 9943b1e
revert
comcalvi 4ef5478
revert
comcalvi 32a8357
revert
comcalvi c849e84
revert
comcalvi b4e916e
revert
comcalvi ddb5b07
revert
comcalvi b03328a
revert
comcalvi 71d9629
revert
comcalvi 1cc79b9
Revert "working nested stack parsing, I think..."
comcalvi d5db852
revert
comcalvi 3f4fb0c
refactor
comcalvi 3ac71ea
refactor
comcalvi 1b3c73c
this is really hard to read
comcalvi 1ea45af
working test framework...
comcalvi c0b57d2
truly working framework
comcalvi 2b86816
comment
comcalvi 3e1835b
???
comcalvi e3b826c
wip
comcalvi 21055b5
parking this for now...
comcalvi 14491ef
undo this test framework, this is bad
comcalvi 57cdd16
some working tests
comcalvi 9fb25ce
tests
comcalvi 3bffdac
tests/hotswap
comcalvi 9341184
checkpoint
comcalvi 84ea974
passing unit tests
comcalvi eb898f1
dead code
comcalvi 6034114
use nested stack logical id if nested stack has not been deployed yet
comcalvi 2518552
nested stack count fix
comcalvi d391cb1
merge from main
comcalvi b4f04e5
tests
comcalvi be179ab
dead code
comcalvi 7d9839d
comment
comcalvi 6be7f06
conflicts
comcalvi 2c9dd9e
add import test
comcalvi 918831c
Merge branch 'main' into comcalvi/improved-nested-stack-diff
mergify[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can
RootTemplateWithNestedStacks
andNestedStackTemplates
not be the same structure?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I decided not to because the functions that use this interface as a return type only get the generated templates of nested stacks, not the top level root stack. The functions that take these objects as input have a different way of getting the top-level generated template (namely, they take a
StackArtifact
that contains it). They need something special that theStackArtifact
provides, so I decided to keep the generated template out of this data structure, but only for the top-level artifacts.We could mark
generatedTemplate
as optional, but that's less clear than using the separate type.