Preserve independent background sessions through owner shutdown and idle cleanup

This commit is contained in:
2026-11-07 16:23:20 +00:00
parent 4ead2abdbf
commit b15597662f
9 changed files with 360 additions and 51 deletions
+3
View File
@@ -141,6 +141,9 @@ func TestHostedDetachRetainsAnswerableInteractions(t *testing.T) {
}
wait(before)
before.Detach()
// Default lifetime is unbounded: keep the original upstream callback identity
// even across more than one host expiry tick while Pipelines is down.
time.Sleep(1200 * time.Millisecond)
after, err := Open(ctx)
if err != nil {
t.Fatal(err)