Repository navigation
Commit a689e5a
fix(provider): settle a stuck custom fetch on caller cancel too
Race the custom fetch against the combined request signal (first-byte
deadline, caller cancel, timeouts), not only the deadline, so a Stop is not
held up by pre-request work that ignores the signal. The tool-race test now
waits for the pending tool part before reporting the execution started.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>1 parent b852ba4 commit a689e5a
3 files changed
Lines changed: 39 additions & 9 deletions
File tree
- packages/opencode
- src/provider
- test
- release-validation
- session
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2037 | 2037 | | |
2038 | 2038 | | |
2039 | 2039 | | |
2040 | | - | |
2041 | | - | |
2042 | | - | |
| 2040 | + | |
| 2041 | + | |
| 2042 | + | |
| 2043 | + | |
2043 | 2044 | | |
2044 | | - | |
2045 | | - | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
2046 | 2051 | | |
2047 | 2052 | | |
2048 | 2053 | | |
2049 | 2054 | | |
2050 | 2055 | | |
2051 | | - | |
2052 | | - | |
| 2056 | + | |
| 2057 | + | |
2053 | 2058 | | |
2054 | 2059 | | |
2055 | | - | |
| 2060 | + | |
2056 | 2061 | | |
2057 | 2062 | | |
2058 | 2063 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
298 | 321 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
303 | 305 | | |
304 | 306 | | |
305 | 307 | | |
| |||
0 commit comments