Repository navigation
Commit f140ec7
fix(server): Stop ends a Codex command after the thread was settled
Settling a Codex thread unsubscribes it, and Codex unloads it a minute
later, killing its terminals. Stop then asked Codex to terminate the
terminal, got "thread not found", and failed before the settle step,
so the banner kept showing the command as running.
Treat "thread not found" from terminate as already terminated, like an
exited app-server.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>1 parent 1302cca commit f140ec7
2 files changed
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3869 | 3869 | | |
3870 | 3870 | | |
3871 | 3871 | | |
3872 | | - | |
| 3872 | + | |
| 3873 | + | |
| 3874 | + | |
3873 | 3875 | | |
3874 | 3876 | | |
3875 | 3877 | | |
| |||
3888 | 3890 | | |
3889 | 3891 | | |
3890 | 3892 | | |
3891 | | - | |
| 3893 | + | |
| 3894 | + | |
| 3895 | + | |
| 3896 | + | |
| 3897 | + | |
| 3898 | + | |
| 3899 | + | |
3892 | 3900 | | |
3893 | | - | |
| 3901 | + | |
3894 | 3902 | | |
3895 | 3903 | | |
3896 | 3904 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2053 | 2053 | | |
2054 | 2054 | | |
2055 | 2055 | | |
| 2056 | + | |
| 2057 | + | |
| 2058 | + | |
| 2059 | + | |
| 2060 | + | |
| 2061 | + | |
| 2062 | + | |
2056 | 2063 | | |
2057 | 2064 | | |
2058 | 2065 | | |
| |||
0 commit comments