You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Two servers on one machine report the same name #545
Two J5 servers on one machine report the same name. A server names itself from the host's friendly name or hostname (apps/server/src/environment/ServerEnvironmentLabel.ts), with no override. In a two-server peering test on one host, both servers are openclaw, so agents and people cannot tell which participant lives where, and mismatch messages are ambiguous.
Jackson has hit this running --peer by hand, and a tester agent hit it during the Squadron fold tests.
Fix
Let an environment variable set the server's name, read before the hostname fallback. The test setup script sets it to "Local" and "Remote" for the two servers.
This is a few lines in an upstream-owned file and changes what upstream's server does, so it needs a FORK.md entry and a register entry in docs/j5/product/upstream.md. Upstream has the same clash for any two servers on one machine, so it is a candidate to offer back (#276).
The alternative, running the second server in its own hostname namespace, was rejected: the process would look like root inside the namespace, which provider CLIs and the browser sandbox may react to.
Activity
feat(server): a server's name can be set, so two on one machine can b…