-
Notifications
You must be signed in to change notification settings - Fork 14k
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
refactor(core): Streamline flows in multi-main mode (no-changelog) #8446
Merged
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
e587d25
Abstract away activations
ivov 30040cf
Make inter-main comms unidirectional
ivov 761b397
Add tests for new methods
ivov 5799727
Remove from `ActiveWorkflowRunner` tests
ivov d6b496a
Update tests
ivov 13f4a63
Add `Reporter.info`
ivov 8131d51
Fix webhooks tests
ivov de0bd75
Move logs
ivov 4108e3a
Add note
ivov 515adc1
Tighten condition
ivov af2e114
Tweak follower behavior
ivov fef6606
Prevent follower removal
ivov 9717692
Cleaner syntax
ivov e7ece92
Better docline
ivov 1ea1be0
Better title
ivov b6d7e9a
Tweaks
ivov 64fcae7
Remove superfluous comments
ivov a20cf09
Tighten wording
ivov 59c9776
Fix test
ivov 8fcca43
refactor(core): Bifurcate handling of webhooks vs. triggers and polle…
ivov e03829a
Merge master, fix conflicts
ivov 1a35296
Fix tests
ivov aa8a3d0
Merge branch 'master' into simplify-flows-in-multi-main-mode
ivov 0cfc9f0
Mark cleanup items
ivov 341f9b3
Ensure handler main informs FE of activation failure
ivov 3c37353
Prevent publishing on `init` and `leadershipChange`
ivov 9207965
Switch logs back to debug
ivov 63016b1
Another log switch
ivov b46b6b1
Reduce diff
ivov 6d88a50
Preserve original logging behavior
ivov a316429
Improve var name
ivov f3f7ad0
Ensure activation and deactivation are pushed to leader's and followe…
ivov af99cd6
Fix typo
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
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.
Just to be sure, the UI is ready to only display this if the currently open workflow ID matches to the one sent in the payload right?
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.
The FE at
pushConnection.ts
receives this workflow ID and calls store methods:And the store methods compare the pushed workflow ID against
this.workflow.id
, which as far as I understand is the workflow on canvas.