Commit f5ae093
committed
Fix span reporting when actor aborts with pending waitUntil tasks
The span attached to a subrequest is held by the fetch promise, which can be passed to waitUntilTasks. When an actor aborts while another request's waitUntil task is still pending, span reporting can partially fail. Span reporting relies on timing from the current request.
If there are reasons not to reorder ~IncomingRequest to cancel pending operations before removing from the list, we can reconsider the assumption that an active request is available during that time.1 parent 66291c9 commit f5ae093
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
314 | | - | |
315 | 313 | | |
316 | 314 | | |
317 | 315 | | |
| |||
338 | 336 | | |
339 | 337 | | |
340 | 338 | | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
341 | 343 | | |
342 | 344 | | |
343 | 345 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | | - | |
| 414 | + | |
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
| |||
0 commit comments