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): Delete duplicate code across all commands #5452

Merged
merged 2 commits into from
Feb 10, 2023

Conversation

netroy
Copy link
Member

@netroy netroy commented Feb 10, 2023

This also fixes the issue that all cli commands that use the database, need to initialize nodes and credentials, to be able to make the last migration work.

We should perhaps update our migration to skip the all non-schema changing queries in tests. That could help speed up tests.

@netroy netroy requested a review from krynble February 10, 2023 12:31
@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Feb 10, 2023
krynble
krynble previously approved these changes Feb 10, 2023
packages/cli/src/commands/webhook.ts Show resolved Hide resolved
packages/cli/src/commands/worker.ts Show resolved Hide resolved
Copy link
Contributor

@krynble krynble left a comment

Choose a reason for hiding this comment

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

LGTM

@netroy netroy merged commit 5194513 into master Feb 10, 2023
@netroy netroy deleted the N8N-5753-delete-code-in-commands branch February 10, 2023 13:59
@n8n-assistant n8n-assistant bot added the Upcoming Release Will be part of the upcoming release label Feb 10, 2023
MiloradFilipovic added a commit that referenced this pull request Feb 10, 2023
* master:
  🔖 Release n8n@0.215.0
  ⬆️ Set n8n-core@0.154.0, n8n-editor-ui@0.181.0, n8n-nodes-base@0.213.0 and n8n-workflow@0.136.0 on n8n
  🔖 Release n8n-editor-ui@0.181.0
  ⬆️ Set n8n-design-system@0.53.0 and n8n-workflow@0.136.0 on n8n-editor-ui
  🔖 Release n8n-design-system@0.53.0
  🔖 Release n8n-nodes-base@0.213.0
  ⬆️ Set n8n-core@0.154.0 and n8n-workflow@0.136.0 on n8n-nodes-base
  🔖 Release n8n-node-dev@0.93.0
  ⬆️ Set n8n-core@0.154.0 and n8n-workflow@0.136.0 on n8n-node-dev
  🔖 Release n8n-core@0.154.0
  ⬆️ Set n8n-workflow@0.136.0 on n8n-core
  🔖 Release n8n-workflow@0.136.0
  fix(core): Stop using unbound calls to `stopProcess` (no-changelog) (#5456)
  test(Read PDF Node): Unit tests (no-changelog) (#5453)
  test(Move Binary Data Node): Unit tests (no-changelog) (#5442)
  test: Add tests for ActiveWorkflowRunner class (#5278)
  feat(core): Add support for WebSockets as an alternative to Server-Sent Events (#5443)
  refactor(core): Delete duplicate code across all  commands (#5452)
@janober
Copy link
Member

janober commented Feb 10, 2023

Got released with n8n@0.215.0

@janober janober removed the Upcoming Release Will be part of the upcoming release label Feb 10, 2023
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 skip-e2e
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants