Skip to content

Resolve Startup Order Race Condition Between Components #35

@ananos

Description

@ananos

Some components (e.g., Redis, NB API, agents) must be started in a specific order to function correctly. We should formalize this order and add startup checks.

Details

We should:

  • Define the correct startup order: Redis → NB API → Agents.
  • Include scripts or wait-for-it.sh logic to block until dependencies are ready.
  • Optionally log a warning or error if a component starts before its dependency.

This will make the first-time setup and deployments more reliable. This is orthogonal to a refactoring of the agent code to add discovery/reconnect logic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions