mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#5021
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/4360
Author: @xvcezrqpbxtpzblrt
Created: 10/27/2026
Status: ❌ Closed
Base:
main← Head:fix/4218-lifecycle📝 Commits (1)
c8ded0b[GUI] Seal helper rows when a turn ends so none stay working (#4218)📊 Changes
3 files changed (+36 additions, -1 deletions)
View changed files
📝
apps/host/server/agent/agent-bridge.mjs(+7 -0)📝
apps/host/server/agent/children.mjs(+18 -1)📝
apps/host/tests/agent-children.test.mjs(+11 -0)📄 Description
## Problem
A helper (subagent) row could stay working after its run ended. The page has no other source for the row, so it kept showing a helper that was no longer running, with a duration that kept growing. Reopening the chat showed the same ghost row.
Fix
interruptedbefore its stream closes and before the page is told the turn ended.ChildProjector.finishednow countsinterruptedas final, so a sealed row stops being "live" and its duration stops growing.markStopped()lets a stop the person asked for read "stopped, can continue" instead of "cancelled".Validation
node --test tests/agent-children.test.mjs— 6 pass, 0 fail (includes a new test: a sealed row readsinterrupted, is final, and sealing twice changes nothing).Scope
This is the seal half of #4218. Kept apart from the row store and the subagent panel so it can be reviewed on its own.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.