Repository navigation
Commit d64cd39
fix(server): a planned detach waits out a native turn that survived its interrupt
When the native interrupt fails, or the turns to interrupt cannot be
read, the moving thread's subscription stays open instead of failing.
The run keeps streaming until the native turn really ends, as on main,
so its continuation never starts beside a live native turn and the run
does not request a restart of a shared runtime.
AI-assisted; verified with the tests and tools listed above.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 62fe0ee commit d64cd39
2 files changed
Lines changed: 25 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1907 | 1907 | | |
1908 | 1908 | | |
1909 | 1909 | | |
| 1910 | + | |
1910 | 1911 | | |
1911 | | - | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
1912 | 1917 | | |
1913 | 1918 | | |
1914 | 1919 | | |
| |||
1951 | 1956 | | |
1952 | 1957 | | |
1953 | 1958 | | |
| 1959 | + | |
| 1960 | + | |
| 1961 | + | |
| 1962 | + | |
| 1963 | + | |
| 1964 | + | |
| 1965 | + | |
| 1966 | + | |
| 1967 | + | |
| 1968 | + | |
1954 | 1969 | | |
1955 | 1970 | | |
1956 | | - | |
1957 | | - | |
1958 | | - | |
1959 | | - | |
1960 | | - | |
1961 | | - | |
1962 | | - | |
1963 | | - | |
1964 | | - | |
1965 | | - | |
1966 | | - | |
1967 | | - | |
1968 | | - | |
| 1971 | + | |
| 1972 | + | |
| 1973 | + | |
| 1974 | + | |
| 1975 | + | |
1969 | 1976 | | |
1970 | 1977 | | |
1971 | | - | |
1972 | | - | |
1973 | | - | |
| 1978 | + | |
1974 | 1979 | | |
1975 | 1980 | | |
1976 | 1981 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
| 640 | + | |
| 641 | + | |
640 | 642 | | |
641 | 643 | | |
642 | 644 | | |
| |||
648 | 650 | | |
649 | 651 | | |
650 | 652 | | |
651 | | - | |
652 | 653 | | |
653 | 654 | | |
654 | | - | |
655 | | - | |
656 | | - | |
657 | | - | |
658 | | - | |
| 655 | + | |
659 | 656 | | |
660 | 657 | | |
661 | 658 | | |
| |||
0 commit comments