Repository navigation
Conversation
7 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Primary change type
Problem and motivation
Ending one Assistant runtime could hold startup for every Studio session. A repeated retirement could also resolve before the first cleanup completed, and a late workspace lookup could publish a new runtime after End.
Summary and scope
Join retirement by Studio ID, fence pending authorization/startup, and expose exact-instance cleanup plus bounded, truthful cleanup results. Failed cleanup retains ownership and blocks replacement of that session. Other sessions remain independent. Add a synchronous whole-host admission fence for the lifecycle coordinator.
Related work
Related issue: https://linear.app/sapiom/issue/SAP-3292
Native stack target:
main. Depends on the preceding branch, preserving Epic 2 dependency ancestry through #987. Depends on #993. This increment supplies host retirement primitives; the companion Terminal change and lifecycle controls follow.Validation
pr:sizeis absent in sapiom-js; incrementalgit diff --numstatmeasures 264 changed lines, including tests.Tests and documentation
Behavior tests cover the new contract and failure paths; inline documentation describes limits and provenance.
Compatibility and release impact
@sapiom/harness.Security
AI assistance
Checklist