-
Notifications
You must be signed in to change notification settings - Fork 62
[nexus] Make snapshot-create saga unwind-safe #2093
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
Merged
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
b2a2ba1
[sagas] Make a macro to simplify declaring saga actions
smklein f399ff7
ignore rustdoc
smklein 66cf0c0
[nexus] Instance Deletion is now a saga
smklein 828ed21
[nexus] Project and VPC creation are now sagas
smklein 2e0a199
Merge branch 'main' into saga-macro
smklein 533ee76
Merge branch 'main' into saga-macro
smklein 6abce08
Move some lazy_static to once_cell
smklein 169ed10
Merge branch 'main' into saga-macro
smklein 29a3ab5
Extend docs
smklein 3b62a6a
Merge branch 'main' into saga-macro
smklein 05cbd9d
Merge branch 'saga-macro' into more-sagas
smklein f7f5fbe
Merge branch 'more-sagas' into project-creation-saga
smklein 2f89973
[vpc_create] Add undo actions
smklein b9fef96
[vpc_create] Add tests for idempotency, fix things
smklein d68c763
[nexus] Make project creation unwind safe, add tests
smklein 9a8504b
fix project lookup
smklein 79271d2
Lookup project when deleting to avoid rcgen issue during unwind
smklein 23801dd
[nexus] Make snapshot deletion a saga
smklein 80932d8
[nexus] Add basic test for snapshot create
smklein bfc6048
Merge branch 'main' into project-creation-saga
smklein f9c635a
Merge branch 'project-creation-saga' into vpc-creation-saga-idempotent
smklein 8c01fcd
Merge branch 'vpc-creation-saga-idempotent' into project-creation-sag…
smklein 3f37a48
Merge branch 'project-creation-saga-idempotent' into snapshot-delete-…
smklein e1a5e5c
Merge branch 'snapshot-delete-saga' into snapshot-create-saga-idempotent
smklein 163d9c5
fix node names
smklein fedfbb8
Merge branch 'snapshot-delete-saga' into snapshot-create-saga-idempotent
smklein ffdc483
Verify clean slate in snapshot test, add volume check to disk test
smklein 839fac6
Passing snapshot unwind test
smklein e4190e8
More state validation
smklein c4b16ce
fmt
smklein 9008dce
Don't record sled_id; not needed yet
smklein 666bf64
Merge branch 'main' into project-creation-saga-idempotent
smklein af15ed0
Merge branch 'project-creation-saga-idempotent' into snapshot-delete-…
smklein ee2519e
Merge branch 'snapshot-delete-saga' into snapshot-create-saga-idempotent
smklein 1d68f03
Merge branch 'main' into project-creation-saga-idempotent
smklein 344df7a
Merge branch 'project-creation-saga-idempotent' into snapshot-delete-…
smklein de1213e
Merge branch 'snapshot-delete-saga' into snapshot-create-saga-idempotent
smklein d59ef33
Merge branch 'main' into project-creation-saga-idempotent
smklein 805ee99
Merge branch 'project-creation-saga-idempotent' into snapshot-delete-…
smklein 61d9d5c
Merge branch 'snapshot-delete-saga' into snapshot-create-saga-idempotent
smklein 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 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
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.
I'm mostly modifying this so I can re-use some of the test functions which validates "disk creation doesn't leave detritus".
Most of these checks are identical for snapshot creation.