๐Ÿ“ฆ n8n-io / task-runner-launcher

CLI utility to launch an n8n task runner in external mode

โ˜… 40 stars โ‘‚ 40 forks ๐Ÿ‘ 40 watching โš–๏ธ Other
๐Ÿ“ฅ Clone https://github.com/n8n-io/task-runner-launcher.git
HTTPS git clone https://github.com/n8n-io/task-runner-launcher.git
SSH git clone git@github.com:n8n-io/task-runner-launcher.git
CLI gh repo clone n8n-io/task-runner-launcher
Ivรกn Ovejero Ivรกn Ovejero docs: Update release instructions (#91) fa5e5d2 1 months ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ .github
๐Ÿ“ bin
๐Ÿ“ cmd
๐Ÿ“ docs
๐Ÿ“ internal
๐Ÿ“„ .gitignore
๐Ÿ“„ .golangci.yml
๐Ÿ“„ go.mod
๐Ÿ“„ go.sum
๐Ÿ“„ LICENSE_EE.md
๐Ÿ“„ LICENSE.md
๐Ÿ“„ Makefile
๐Ÿ“„ README.md
๐Ÿ“„ SECURITY.md
๐Ÿ“„ README.md

task-runner-launcher

codecov

CLI utility to launch an n8n task runner in external mode. The launcher's purpose is to minimize resource use by launching a runner on demand, i.e. only when no runner is available and when a task is ready for pickup. It also makes sure the runner stays responsive and recovers from crashes.

./task-runner-launcher javascript
2024/11/29 13:37:46 INFO  [launcher:js] Starting launcher goroutine...
2024/11/29 13:37:46 DEBUG [launcher:js] Changed into working directory
2024/11/29 13:37:46 DEBUG [launcher:js] Prepared env vars for runner
2024/11/29 13:37:46 INFO  [launcher:js] Waiting for task broker to be ready...
2024/11/29 13:37:46 DEBUG [launcher:js] Task broker is ready
2024/11/29 13:37:46 DEBUG [launcher:js] Fetched grant token for launcher
2024/11/29 13:37:46 DEBUG [launcher:js] Launcher ID: fc6c24b9f764ae55
2024/11/29 13:37:46 DEBUG [launcher:js] Connected: ws://127.0.0.1:5679/runners/_ws?id=fc6c24b9f764ae55
2024/11/29 13:37:46 DEBUG [launcher:js] <- Received message `broker:inforequest`
2024/11/29 13:37:46 DEBUG [launcher:js] -> Sent message `runner:info`
2024/11/29 13:37:46 DEBUG [launcher:js] <- Received message `broker:runnerregistered`
2024/11/29 13:37:46 DEBUG [launcher:js] -> Sent message `runner:taskoffer` for offer ID `5990b980a04945bd`
2024/11/29 13:37:46 INFO  [launcher:js] Waiting for launcher's task offer to be accepted...

Sections

  • Setup - how to set up the launcher in a production environment
  • Development - how to set up a development environment to work on the launcher
  • Release - how to release a new version of the launcher
  • Lifecycle - how the launcher works