-
Notifications
You must be signed in to change notification settings - Fork 0
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
State is not saved on error #148
Comments
ivomurrell
added a commit
that referenced
this issue
Aug 20, 2021
This means we don't lose the results of the repositories that succeeded and can continue to work on them if we like. Closes #148
ivomurrell
added a commit
that referenced
this issue
Aug 20, 2021
This means we don't lose the results of the repositories that succeeded and can continue to work on them if we like. Closes #148
ivomurrell
added a commit
that referenced
this issue
Nov 26, 2021
This means we don't lose the results of the repositories that succeeded and can continue to work on them if we like. Closes #148
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you get an error when running an operation for a repository the operation will continue to execute until all repositories have either succeeded or failed. However, currently when a repository does fail the repositories that did succeed are not stored in the state, making it very hard to track which repos are safe to rerun if an operation isn't idempotent. We should look into improving interaction with
immer
to ensure that the mutated state is stored even if an error is thrown.We could potentially use
createDraft
andfinishDraft
to properly handleimmer
drafts within a try/catch block.The text was updated successfully, but these errors were encountered: