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 3bfe821
Browse filesBrowse the repository at this point in the historyBrowse files
* fix(gateway): rebuild chat metadata when auth-profile snapshots change
chat.metadata cached a prepared generation built before the runtime
auth-profile store snapshot was published (empty-store fallback) and
generationFactsMatch never compared auth state, so the Control UI showed
"No models available" after a gateway restart until an unrelated config
edit. Capture per-agent auth snapshot revisions in the generation facts,
subscribe the metadata lifecycle to auth-store mutations, and run one
awaited revision-aware catch-up refresh after listener registration so
publications that precede registration are still observed.
* fix(gateway): bound cloud worker tunnel startup and surface dispatch failure detail
Live stress-testing the Control UI cloud flow found sessions.dispatch
hanging unbounded (observed 12+ min) when the worker SSH tunnel could
not connect: the runner's exited promise settled only on "close" (a
spawn error never settled it), the reconnect loop swallowed every
failure with no logging, the poisoned ready promise was re-handed to
every later dispatch, and dispatch errors dropped the actionable reason
recorded in worker_environments.last_error.
- settle exited on the real "exit" event, wire the owner abort signal
into spawn, bound stop()'s post-SIGKILL wait, and fail stop honestly
when termination is unconfirmed instead of fabricating an exit
- add a 60s per-attempt readiness deadline and log each failed connect
attempt (bounded, redacted); keep an unconfirmed child tracked and
wait for its real exit before retrying
- add a 3-minute epoch-fenced startTunnel deadline with a typed,
actionable error; detach its cleanup so the deadline holds
- append the bounded recorded reason to the five dispatch-visible
worker environment error messages (docs already promise these)
- remote socket setup: drop "--" from chmod (BSD/macOS chmod treats it
as a filename), which blocked every tunnel to a macOS worker host
- workspace quiescence: tolerate EPERM without crashing the protocol
while keeping unsignalable freeze targets counted as live so
quiescence fails closed
* test(gateway): type worker child kill mock
0 commit comments