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
Commit 0a7c784
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server,app): own the tunnel client, clearer login and npm errors, stale grants (#85)
* fix(server,app): own the tunnel client, clearer login and npm errors, stale grants
- The CLI now owns frpc's lifetime for its data dir: a server killed hard
left its frpc running (ppid 1) through restarts and `vana server stop`.
The supervisor stops any frpc on <dataDir>/tunnel/frpc.toml when the
server exits and before every (re)start; `vana server stop` stops it too.
- `vana login` says "Your Personal Server is not running" when this account
has a data dir here or a registration at the gateway, and keeps "No
Personal Server found" for new accounts.
- Installing the server runtime falls back to an npm on PATH when the one
beside Node is missing or broken, and otherwise explains how to fix it
(exit 6) instead of crashing with `spawn .../npm ENOENT`.
- `vana app requests show|list` check each grant at the gateway and report
revoked or replaced grants with live: false and a new `vana app request`
as next; an unreachable gateway is reported as unverified.
Claude-Session: https://claude.ai/code/session_01Fcv6uEy4zcXaigzDNxeW3j
* test(server): kill the supervised server only after it is ready
The real-process supervisor tests sent kill -9 as soon as the fake server
wrote its pid file, which it does just before its ready line. On a busy
runner the kill could land in between: a server that dies before it is
ready is a failed first start, which is never restarted, so the test
waited 10s for a restart that could not come. Wait for server-ready too.
Also bound the ps that a restart waits on.
Claude-Session: https://claude.ai/code/session_01Fcv6uEy4zcXaigzDNxeW3j
0 commit comments