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 16faff1
Browse filesBrowse the repository at this point in the historyBrowse files
Bind the Runtime to its Environment and serve one Session at a time (#926)
* Add agent.RemoveSessionState to delete other Sessions' native state
* Bind the Runtime to its Environment and serve one Session at a time
Remove the Session from runtime_prepare, workspace_write and the capability
identity (proto 0.26.0). A prepare for another Session closes an idle executor,
removes the other Sessions' native state and then prepares; a busy executor
answers resource_unavailable. With one Session per Runtime, the executor
capacity limits are gone.
* Limit the one-Session rule to Runtimes bound to an Environment
An unbound Runtime, such as the service-side host for environment: none,
serves Sessions concurrently again: restore the executor capacity limits,
idle eviction and session_binding_conflict with their tests.
* Switch Sessions inside the new Executor's preparation
Run every non-destructive admission check before closing another Session,
close and remove state outside the receive loop, ignore the enrollment
receipt's Session, require a canonical Session key on bound Runtimes, skip
stray files under the runtime directory, and fix stale docs.
0 commit comments