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
Warehouse connection registry is shared across projects served by one process #1566
The warehouse connection registry (packages/opencode/src/altimate/native/connections/registry.ts) is process-global, but one server process serves several project directories (each request carries its own Instance.directory). As a result:
The first project to load decides the connections for every project: project B sees project A's project-local .altimate-code/connections.json entries, and B's own file is ignored.
Two projects that use the same connection name share one cached connector and one SSH tunnel. Reloading or removing in one project closes the other project's connector or tunnel.
#1559 stopped an empty-registry re-read from loading another project's file into the shared registry, but the registry itself is still shared.
Expected
Registry state (configs, connectors, in-flight connects, SSH tunnels) is kept per project directory. The global file and ALTIMATE_CODE_CONN_* env vars stay shared sources, merged into each project's state. A populated registry is still never replaced automatically.
Steps to reproduce
Run one server and open two projects, A and B, each with its own .altimate-code/connections.json.
Activity
fix: close the reload and reset windows for in-flight warehouse connects
fix: give each warehouse connect attempt its own SSH tunnel and dispo…
fix: close remaining warehouse teardown gaps from review
fix: keep session warehouse credentials across instance disposal
fix: keep warehouse connection registry state per project directory (#…