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): Merge event bus controllers and remove dead code (no-changelog) #9688

Merged
merged 5 commits into from
Jun 10, 2024

Conversation

ivov
Copy link
Contributor

@ivov ivov commented Jun 10, 2024

These endpoints are not used anywhere:

  • GET /eventbus/event
  • GET /eventbus/execution/:id
  • POST /eventbus/event

Same for their scopes and Pinia store functions. Also for pausing logging.

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Jun 10, 2024
Copy link
Member

@netroy netroy left a comment

Choose a reason for hiding this comment

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

LGTM.
But, can we merge the two controllers in the same PR? not sure if it's worth creating a separate PR for.

@ivov ivov changed the title refactor(core): Remove dead event bus code (no-changelog) refactor(core): Merge event bus controllers and remove dead code (no-changelog) Jun 10, 2024
Copy link
Member

@netroy netroy left a comment

Choose a reason for hiding this comment

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

We still have the two separate integration tests, but merging those might be bit more effort, and can we done in separate PR.
Thanks for doing this 🙏🏽 👏🏽

Copy link

cypress bot commented Jun 10, 2024

1 failed test on run #5410 ↗︎

1 25 0 0 Flakiness 0

Details:

🌳 master 🖥️ browsers:node18.12.0-chrome107 🤖 schedule 🗃️ e2e/7-workflow-acti...
Project: n8n Commit: cc4e46eae4
Status: Failed Duration: 02:37 💡
Started: Jun 11, 2024 7:47 AM Ended: Jun 11, 2024 7:49 AM
Failed  e2e/7-workflow-actions.cy.ts • 1 failed test

View Output Video

Test Artifacts
Workflow Actions > should not save already saved workflow Screenshots Video

Review all test suite changes for PR #9688 ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@ivov ivov merged commit 817167c into master Jun 10, 2024
29 checks passed
@ivov ivov deleted the remove-dead-event-bus-code branch June 10, 2024 15:38
MiloradFilipovic added a commit that referenced this pull request Jun 11, 2024
* master:
  ci: Fix custom docker builds (no-changelog) (#9702)
  test: Fix e2e for projects missing instance owner (no-changelog) (#9703)
  ci: Refactor e2e tests to be less flaky (no-changelog) (#9695)
  feat(editor): Add move resources option to workflows and credentials on (#9654)
  fix: Introduce `HooksService` (#8962)
  fix(editor): Improve large data warning in input/output panel (#9671)
  ci(editor): Enforce type-safety in @n8n/chat builds as well (no-changelog) (#9685)
  fix(editor): Un-skip workflow save test (no-changelog) (#9698)
  refactor(core): Remove more dead code from event bus (no-changelog) (#9697)
  ci: Remove unused WaitTracker mocking (no-changelog) (#9694)
  feat: Update NPS Value Survey (#9638)
  refactor(core): Remove event bus channel (no-changelog) (#9663)
  refactor(core): Remove event bus helpers (no-changelog) (#9690)
  refactor(core): Merge event bus controllers and remove dead code (no-changelog) (#9688)
  ci: Fix e2e tests (no-changelog) (#9689)
  refactor(core): Use `@Licensed()` in event bus controller (no-changelog) (#9687)
  fix(editor): Node background for executing nodes in dark mode (#9682)
  fix(editor): Prevent saving already saved workflows (#9670)
  fix(editor): Fix node connection showing incorrect item count during … (#9684)
  refactor: Set up Cypress as pnpm workspace (no-changelog) (#6049)
@janober
Copy link
Member

janober commented Jun 12, 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 ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants