-
Notifications
You must be signed in to change notification settings - Fork 9.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
refactor(core): Decouple event bus from internal hooks (no-changelog) #9724
Conversation
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.
Thank you for addressing the feedback, looking good 👏 Left one more question about the error type we are throwing.
✅ No visual regressions found. |
|
@tomi Thanks for the thorough review! Did a final comb-through and found a missing property, if you can please reapprove? |
@ivov looks like there's a conflict that should be resolved first |
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.
🚀
|
e2e surfaced a dep cycle, will check soon
Edit: Discussion here |
3 flaky tests on run #5603 ↗︎
Details:
5-ndv.cy.ts • 2 flaky tests
10-undo-redo.cy.ts • 1 flaky test
Review all test suite changes for PR #9724 ↗︎ |
✅ All Cypress E2E specs passed |
Got released with |
1 similar comment
Got released with |
To decouple
MessageEventBus
fromInternalHooks
, set upEventRelay
to emit events from various services andAuditEventRelay
to relay those events toMessageEventBus
. In future, decouple telemetry and tear downInternalHooks
.InternalHooks
andEventRelay
will coexist until we decouple telemetry fromInternalHooks
.onNodeBeforeExecute
,onNodePostExecute
,onWorkflowBeforeExecute
,onUserLoginSuccess
,onUserLoginFailed
onWorkflowCrashed
,onUserReinvite
Follow-up to: #9697