Skip to content

[DOCS] The chat's notice that the daemon runs another build #1309

Backlog

Description

@edenreich

Summary

inference-gateway/cli#1972 makes a chat notice a stale daemon. The daemon declares a build identity in its hello ack, the SHA-256 of its executable, and a chat that joins a daemon of another build says so once and keeps working:

infer daemon runs another build than this chat, so what this build changed there is missing - stop it (pid 86806) and run again

Both infer chat --daemon and a plain chat's rooms warn, on the first connection and again only if a reconnect lands on yet another build. A daemon that declares no build predates the change and counts as another build. Released builds compare the same way, so a chat after an upgrade notices a daemon still running the previous version. The fix is infer daemon stop and running again.

Land this with the CLI release that ships the PR.

Affected pages:

  • cli.md:
    • "Starting the daemon": next to infer daemon stop, say that a chat warns once when the daemon it joins runs another build, names the pid to stop, and keeps working, since what the chat's own build changed on the daemon's side is missing there until the daemon restarts
    • the infer chat --daemon section, if the page has one: the same one-line note

Source: inference-gateway/cli#1972, inference-gateway/cli#1966.

Acceptance Criteria

  • cli.md explains the "runs another build" notice: when a chat shows it, that the chat keeps working, and that infer daemon stop plus a restart clears it
  • The note says released builds compare the same way, so it also appears after an upgrade while the old daemon still runs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    Projects

    • Status
      Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions