Repository navigation
Commit c907625
fix(server): leave an app-owned task's node out of an orphaned run's cascade
An app-owned delegated task has a parent-thread subagent node with the
parent run's id and its subagent's id. The projection-rebuilt cascade
filtered out its subagent row and turn item but still matched that node,
so Stop on an orphaned parent marked it interrupted while the task kept
running. Nodes whose id is an app-owned subagent's are now excluded, and
the orphaned-stop test seeds both kinds of node.
Refs #15197
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>1 parent d9f769f commit c907625
2 files changed
Lines changed: 39 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
694 | 694 | | |
695 | 695 | | |
696 | 696 | | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
697 | 721 | | |
698 | 722 | | |
699 | 723 | | |
| |||
769 | 793 | | |
770 | 794 | | |
771 | 795 | | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
772 | 799 | | |
773 | 800 | | |
774 | 801 | | |
| |||
783 | 810 | | |
784 | 811 | | |
785 | 812 | | |
| 813 | + | |
| 814 | + | |
786 | 815 | | |
787 | 816 | | |
788 | 817 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
236 | 245 | | |
237 | 246 | | |
238 | | - | |
| 247 | + | |
239 | 248 | | |
240 | 249 | | |
241 | 250 | | |
| |||
0 commit comments