Skip to content
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

Merged
merged 4 commits into from
Aug 7, 2024

Conversation

ivov
Copy link
Contributor

@ivov ivov commented Aug 6, 2024

Follow-up to: #10292

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Aug 6, 2024
tomi
tomi previously approved these changes Aug 7, 2024
Copy link
Collaborator

@tomi tomi left a 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 👏

packages/cli/src/commands/start.ts Outdated Show resolved Hide resolved
packages/cli/src/events/telemetry-event-relay.ts Outdated Show resolved Hide resolved
Copy link
Contributor

github-actions bot commented Aug 7, 2024

✅ All Cypress E2E specs passed

Copy link

cypress bot commented Aug 7, 2024



Test summary

394 0 0 0Flakiness 1


Run details

Project n8n
Status Passed
Commit 6e6d4b8
Started Aug 7, 2024 2:03 PM
Ended Aug 7, 2024 2:07 PM
Duration 04:45 💡
OS Linux Debian -
Browser Electron 118

View run in Cypress Cloud ➡️


Flakiness

e2e/30-editor-after-route-changes.cy.ts Flakiness
1 Editor actions should work > after switching between Editor and Executions

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

Copy link
Collaborator

@tomi tomi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more comment

@@ -167,11 +168,10 @@ export class Telemetry {
}
}

async trackN8nStop(): Promise<void> {
@OnShutdown()
Copy link
Collaborator

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see 6e6d4b8

@ivov ivov requested a review from tomi August 7, 2024 13:54
Copy link
Collaborator

@tomi tomi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

Copy link
Contributor

github-actions bot commented Aug 7, 2024

✅ All Cypress E2E specs passed

@ivov ivov merged commit 9b977e8 into master Aug 7, 2024
30 checks passed
@ivov ivov deleted the decouple-lifecycle-events-from-internal-hooks branch August 7, 2024 14:09
@janober
Copy link
Member

janober commented Aug 15, 2024

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants