littlehorse-enterprises / littlehorse

This repository contains the code for the LittleHorse Server, Dashboard, CLI, and Java/Go/Python SDK's. Brought to you by LittleHorse Enterprises LLC
https://littlehorse.dev/
Other
66 stars 7 forks source link

Valid `LHW_SERVER_CONNECT_LISTENER` #868

Open coltmcnealy-lh opened 1 month ago

coltmcnealy-lh commented 1 month ago

The RegisterTaskWorker rpc should validate that LHW_SERVER_CONNECT_LISTENER provided by the task worker is indeed valid.

Currently, it silently accepts the invalid configuration and the Task Worker is simply never given any tasks (and there's not crash, etc).

The long term solution is to deprecate that configuration and have it be inferred based on which port accepts the request.