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): Rename runner healthcheck env vars #12027

Closed
wants to merge 1 commit into from

Conversation

tomi
Copy link
Contributor

@tomi tomi commented Dec 3, 2024

Summary

  • N8N_RUNNERS_SERVER_ENABLED to N8N_RUNNERS_RUNNER_HEALTH_CHECK_SERVER_ENABLED
  • N8N_RUNNERS_SERVER_HOST to N8N_RUNNERS_RUNNER_HEALTH_CHECK_SERVER_HOST
  • N8N_RUNNERS_SERVER_PORT to N8N_RUNNERS_RUNNER_HEALTH_CHECK_SERVER_PORT

Related PR: n8n-io/task-runner-launcher#50

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

tomi added a commit to n8n-io/task-runner-launcher that referenced this pull request Dec 3, 2024
@n8n-assistant n8n-assistant bot added the n8n team Authored by the n8n team label Dec 3, 2024
Copy link

codecov bot commented Dec 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

Comment on lines 14 to 16
"N8N_RUNNERS_RUNNER_HEALTH_CHECK_SERVER_ENABLED",
"N8N_RUNNERS_RUNNER_HEALTH_CHECK_SERVER_HOST",
"N8N_RUNNERS_RUNNER_HEALTH_CHECK_SERVER_PORT",
Copy link
Contributor

Choose a reason for hiding this comment

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

As mentioned in the sister PR, these options take a repetitive infix _RUNNER_ but the ones above don't? I'd be for dropping this infix.

- `N8N_RUNNERS_SERVER_ENABLED` to `N8N_RUNNERS_HEALTH_CHECK_SERVER_ENABLED`
- `N8N_RUNNERS_SERVER_HOST` to `N8N_RUNNERS_HEALTH_CHECK_SERVER_HOST`
- `N8N_RUNNERS_SERVER_PORT` to `N8N_RUNNERS_HEALTH_CHECK_SERVER_PORT`
@tomi tomi force-pushed the unify-runner-healthcheck-env-vars branch from 4a66bf7 to 2ba2d0c Compare December 4, 2024 09:38
@tomi tomi requested a review from ivov December 4, 2024 09:38
tomi added a commit to n8n-io/task-runner-launcher that referenced this pull request Dec 4, 2024
Copy link
Contributor

@ivov ivov left a comment

Choose a reason for hiding this comment

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

🙏🏻

Copy link

cypress bot commented Dec 4, 2024

n8n    Run #8201

Run Properties:  status check passed Passed #8201  •  git commit 2ba2d0cafd: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 tomi 🗃️ e2e/*
Project n8n
Branch Review unify-runner-healthcheck-env-vars
Run status status check passed Passed #8201
Run duration 04m 41s
Commit git commit 2ba2d0cafd: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 tomi 🗃️ e2e/*
Committer Tomi Turtiainen
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 2
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 478
View all changes introduced in this branch ↗︎

Copy link
Contributor

github-actions bot commented Dec 4, 2024

✅ All Cypress E2E specs passed

@tomi
Copy link
Contributor Author

tomi commented Dec 4, 2024

Closed in favor of #12040

@tomi tomi closed this Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants