-
Notifications
You must be signed in to change notification settings - Fork 12.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 lifecycle events from internal hooks (no-changelog) #10305
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.
One comment about the telemetry shutdown. Otherwise great work as usual 👏
✅ All Cypress E2E specs passed |
Test summaryRun details
Flakiness
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Cloud |
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.
One more comment
packages/cli/src/telemetry/index.ts
Outdated
@@ -167,11 +168,10 @@ export class Telemetry { | |||
} | |||
} | |||
|
|||
async trackN8nStop(): Promise<void> { | |||
@OnShutdown() |
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.
We have different priorities for shutting down. Is it by default in the "last" group? If not, let's add a priority that makes it shut down last
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.
Please see 6e6d4b8
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.
LGTM 🚀
✅ All Cypress E2E specs passed |
Got released with |
Follow-up to: #10292