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): Simplify worker pubsub message handler #11086

Merged
merged 7 commits into from
Oct 7, 2024

Conversation

ivov
Copy link
Contributor

@ivov ivov commented Oct 4, 2024

Follow-up to #11048

Note that commands like restart-event-bus and reload-external-secrets-providers in master send responses into the worker response channel, but main does nothing with those responses, so I removed those responses until we do. The only responses actively being used are for worker view.

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Oct 4, 2024
@ivov ivov marked this pull request as draft October 4, 2024 09:27
@ivov ivov marked this pull request as ready for review October 4, 2024 13:33
packages/cli/src/scaling/worker-status.ts Show resolved Hide resolved
packages/cli/src/scaling/pubsub/pubsub-handler.ts Outdated Show resolved Hide resolved
packages/cli/src/scaling/pubsub/pubsub-handler.ts Outdated Show resolved Hide resolved
packages/cli/src/scaling/pubsub/pubsub-handler.ts Outdated Show resolved Hide resolved
Copy link

cypress bot commented Oct 7, 2024

n8n    Run #7214

Run Properties:  status check passed Passed #7214  •  git commit b920fd6977: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 ivov 🗃️ e2e/*
Project n8n
Branch Review simplify-worker-pubsub-msg-handler
Run status status check passed Passed #7214
Run duration 04m 33s
Commit git commit b920fd6977: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 ivov 🗃️ e2e/*
Committer Iván Ovejero
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 438
View all changes introduced in this branch ↗︎

Copy link
Contributor

github-actions bot commented Oct 7, 2024

✅ All Cypress E2E specs passed

@ivov ivov merged commit 383b476 into master Oct 7, 2024
33 checks passed
@ivov ivov deleted the simplify-worker-pubsub-msg-handler branch October 7, 2024 14:20
@janober
Copy link
Member

janober commented Oct 9, 2024

Got released with n8n@1.63.0

1 similar comment
@janober
Copy link
Member

janober commented Oct 9, 2024

Got released with n8n@1.63.0

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants