Commit 2edc5dc
committed
propagate display name for process failures
Pull Request resolved: #1911
Looks like this now:
```
The actor <root>.<tests.test_supervision_hierarchy.Nest top> and all its descendants have failed.
This occurred because the actor <root>.<tests.test_supervision_hierarchy.Nest top>.<tests.test_supervision_hierarchy.Lambda nested{'a_dim': 0/1}> was running on a process which failed.
The error was:
process failure: Killed(sig=9)
```
Kinda janky because supervision code is messy. When we clean up supervision code, we should make sure the owning actor knows the friendly names of all of its children (e.g. has a map from actor/proc id to their fully qualified display names). A parent always knows what the name will be before it spawns it.
ghstack-source-id: 324165921
@exported-using-ghexport
Differential Revision: [D87284093](https://our.internmc.facebook.com/intern/diff/D87284093/)
**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D87284093/)!1 parent 36c0579 commit 2edc5dc
File tree
7 files changed
+134
-38
lines changed- monarch_hyperactor/src
- v1
- ndslice/src
- python
- monarch
- _rust_bindings/monarch_hyperactor
- _src/actor
- tests
7 files changed
+134
-38
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
| |||
156 | 160 | | |
157 | 161 | | |
158 | 162 | | |
159 | | - | |
160 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
161 | 170 | | |
162 | 171 | | |
163 | 172 | | |
| |||
387 | 396 | | |
388 | 397 | | |
389 | 398 | | |
390 | | - | |
391 | | - | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
392 | 405 | | |
393 | 406 | | |
394 | 407 | | |
| |||
543 | 556 | | |
544 | 557 | | |
545 | 558 | | |
| 559 | + | |
| 560 | + | |
546 | 561 | | |
547 | 562 | | |
548 | 563 | | |
| |||
669 | 684 | | |
670 | 685 | | |
671 | 686 | | |
672 | | - | |
673 | 687 | | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
674 | 695 | | |
675 | | - | |
| 696 | + | |
676 | 697 | | |
677 | 698 | | |
678 | 699 | | |
679 | 700 | | |
680 | 701 | | |
681 | 702 | | |
682 | 703 | | |
683 | | - | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
684 | 709 | | |
685 | 710 | | |
686 | 711 | | |
| |||
689 | 714 | | |
690 | 715 | | |
691 | 716 | | |
692 | | - | |
| 717 | + | |
| 718 | + | |
693 | 719 | | |
694 | 720 | | |
695 | 721 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
182 | 187 | | |
183 | 188 | | |
184 | 189 | | |
| |||
190 | 195 | | |
191 | 196 | | |
192 | 197 | | |
| 198 | + | |
193 | 199 | | |
194 | 200 | | |
195 | 201 | | |
| |||
199 | 205 | | |
200 | 206 | | |
201 | 207 | | |
| 208 | + | |
202 | 209 | | |
203 | 210 | | |
204 | 211 | | |
| |||
211 | 218 | | |
212 | 219 | | |
213 | 220 | | |
| 221 | + | |
214 | 222 | | |
215 | 223 | | |
216 | 224 | | |
217 | 225 | | |
218 | 226 | | |
219 | 227 | | |
220 | 228 | | |
221 | | - | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
222 | 234 | | |
223 | 235 | | |
224 | 236 | | |
| |||
296 | 308 | | |
297 | 309 | | |
298 | 310 | | |
| 311 | + | |
299 | 312 | | |
300 | 313 | | |
301 | 314 | | |
| |||
324 | 337 | | |
325 | 338 | | |
326 | 339 | | |
| 340 | + | |
327 | 341 | | |
328 | 342 | | |
329 | 343 | | |
| |||
345 | 359 | | |
346 | 360 | | |
347 | 361 | | |
| 362 | + | |
348 | 363 | | |
349 | 364 | | |
350 | 365 | | |
| |||
492 | 507 | | |
493 | 508 | | |
494 | 509 | | |
| 510 | + | |
495 | 511 | | |
496 | 512 | | |
497 | 513 | | |
| |||
554 | 570 | | |
555 | 571 | | |
556 | 572 | | |
557 | | - | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
558 | 588 | | |
559 | 589 | | |
560 | 590 | | |
561 | 591 | | |
562 | 592 | | |
563 | 593 | | |
564 | | - | |
| 594 | + | |
565 | 595 | | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | 596 | | |
576 | 597 | | |
577 | 598 | | |
| |||
593 | 614 | | |
594 | 615 | | |
595 | 616 | | |
596 | | - | |
| 617 | + | |
597 | 618 | | |
598 | 619 | | |
599 | 620 | | |
| |||
720 | 741 | | |
721 | 742 | | |
722 | 743 | | |
723 | | - | |
| 744 | + | |
724 | 745 | | |
725 | 746 | | |
726 | 747 | | |
| |||
744 | 765 | | |
745 | 766 | | |
746 | 767 | | |
747 | | - | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
748 | 773 | | |
749 | 774 | | |
750 | 775 | | |
751 | | - | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
752 | 782 | | |
753 | 783 | | |
754 | 784 | | |
| |||
827 | 857 | | |
828 | 858 | | |
829 | 859 | | |
830 | | - | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
831 | 865 | | |
832 | 866 | | |
833 | 867 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
769 | 769 | | |
770 | 770 | | |
771 | 771 | | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
772 | 797 | | |
773 | 798 | | |
774 | 799 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
471 | | - | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
472 | 474 | | |
473 | 475 | | |
474 | 476 | | |
| |||
1255 | 1257 | | |
1256 | 1258 | | |
1257 | 1259 | | |
1258 | | - | |
1259 | | - | |
1260 | | - | |
1261 | | - | |
1262 | 1260 | | |
1263 | 1261 | | |
1264 | 1262 | | |
| |||
1347 | 1345 | | |
1348 | 1346 | | |
1349 | 1347 | | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
1350 | 1357 | | |
1351 | 1358 | | |
1352 | 1359 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
112 | 114 | | |
113 | 115 | | |
114 | 116 | | |
115 | | - | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | | - | |
| 120 | + | |
119 | 121 | | |
120 | 122 | | |
121 | 123 | | |
| |||
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
132 | | - | |
| 134 | + | |
133 | 135 | | |
0 commit comments