-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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(core): reimplement blocking workflow updates on interim changes #4446
Merged
ivov
merged 17 commits into
master
from
n8n-5237-reimplement-blocking-interim-workflow-updates
Oct 31, 2022
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
a3a1af2
:blue_book: Update request type
ivov 1a4fdc3
:blue_book: Update FE types
ivov 6e86bb3
:zap: Adjust store
ivov 335abd7
:zap: Set received hash
ivov 42a4c14
:zap: Send and load hash
ivov a52929f
:zap: Make helper more flexible
ivov 7aa6749
:card_file_box: Add new field to entity
ivov f90f9ab
:rotating_light: Add check to endpoint
ivov c7103ee
:test_tube: Add tests
ivov be5af42
:zap: Add `forceSave` flag
ivov 4cdbb49
:bug: Fix workflow update failing on new workflow
ivov 3393015
:test_tube: Add more tests
ivov 4073c32
:twisted_rightwards_arrows: Merge master
ivov a3a225b
:zap: Move check to `updateWorkflow()`
ivov 99e49e3
:zap: Refactor to accommodate latest changes
ivov 7f97bdb
:test_tube: Refactor tests to keep them passing
ivov 7790b73
:zap: Improve syntax
ivov 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.
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 think we should simplify this to use only nodes and connections. Maybe pinData.
This reduces the chance of having issues with unnecessary warnings such as name changes or activation status.
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.
Thanks! As discussed, any editable parts of the workflow that we exclude from the hash will cause changes to those parts to be overwritable, which we likely do not want, so keeping it strict for now.