Commit 4bb484b
Surface parent-perspective message for cancelled/terminated children
When a child workflow is cancelled or terminated, the child-side failure
message (`Workflow cancelled.` / `Workflow cancelled: <reason>`) carried
no useful context for the parent that catches the propagated exception.
ChildRunHistory::exceptionForResolution now overrides the message to
identify the child run and preserve any caller-supplied reason. Failed
children continue to surface the user-thrown exception verbatim.
Also fix V2RunDetailViewTest webhook fixture to tag commands with the
canonical default codec instead of the abstract Serializer FQCN, which
the codec registry no longer accepts.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d080f9d commit 4bb484b
2 files changed
Lines changed: 41 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
471 | 478 | | |
472 | 479 | | |
473 | 480 | | |
474 | 481 | | |
475 | | - | |
| 482 | + | |
| 483 | + | |
476 | 484 | | |
477 | 485 | | |
478 | 486 | | |
| |||
511 | 519 | | |
512 | 520 | | |
513 | 521 | | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
514 | 553 | | |
515 | 554 | | |
516 | 555 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2169 | 2169 | | |
2170 | 2170 | | |
2171 | 2171 | | |
2172 | | - | |
| 2172 | + | |
2173 | 2173 | | |
2174 | 2174 | | |
2175 | 2175 | | |
| |||
0 commit comments