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

fix(editor): Remove push event listeners when migrating away from the canvas #10063

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

netroy
Copy link
Member

@netroy netroy commented Jul 15, 2024

Summary

3 weeks ago we refactored this file, and forgot to port over the cleanup code for pushConnection on beforeUnmount.

Related Linear tickets, Github issues, and Community forum posts

N8N-7509
https://community.n8n.io/t/why-is-my-code-getting-executed-twice/49980

Review / Merge checklist

  • PR title and summary are descriptive
  • PR Labeled with release/backport

@netroy netroy added the release/backport Changes that need to be backported to older releases. label Jul 15, 2024
Copy link

cypress bot commented Jul 15, 2024

3 flaky tests on run #5939 ↗︎

0 400 0 0 Flakiness 3

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 netroy 🗃️ e2e/*
Project: n8n Commit: 2c5534eba4
Status: Passed Duration: 05:28 💡
Started: Jul 15, 2024 3:17 PM Ended: Jul 15, 2024 3:23 PM
Flakiness  5-ndv.cy.ts • 2 flaky tests

View Output Video

Test Artifacts
NDV > should not retrieve remote options when required params throw errors Screenshots Video
NDV > Stop listening for trigger event from NDV Screenshots Video
Flakiness  24-ndv-paired-item.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > resolves expression with default item when input node is not parent, while still pairing items Test Replay Screenshots Video

Review all test suite changes for PR #10063 ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@netroy netroy merged commit 0d12f0a into master Jul 15, 2024
28 checks passed
@netroy netroy deleted the fix-N8N-7509-cleanup-push-on-unmount branch July 15, 2024 15:25
@github-actions github-actions bot mentioned this pull request Jul 16, 2024
@janober
Copy link
Member

janober commented Jul 16, 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
release/backport Changes that need to be backported to older releases. Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants