Commit 7133758
committed
fix(prover-node): don't treat prune-induced faults as genuine failures
Two prune-vs-failure gaps remained after decoupling checkpoint failure from
epoch failure:
- Session classification only checked isFailed(), missing a control-plane
cancel that reaches start()'s catch before the reconcile marks the session
'cancelled'. Such a cancelled-but-not-failed prover was misclassified as the
session's own 'failed', triggering a spurious full-snapshot upload for a
prune. Treat a cancelled prover as prune-ambiguous too.
- A data-plane fork fault reaches the checkpoint-level onFailed upload
indistinguishable from a genuine sub-tree failure (no cancel has landed
yet). Gate the upload on the archiver: a pruned checkpoint's last block is no
longer canonical there, so skip the expensive world-state + archiver snapshot
when it has been pruned out.1 parent 9d756c7 commit 7133758
4 files changed
Lines changed: 111 additions & 13 deletions
File tree
- yarn-project/prover-node/src
- job
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
324 | 347 | | |
325 | 348 | | |
326 | 349 | | |
| |||
447 | 470 | | |
448 | 471 | | |
449 | 472 | | |
450 | | - | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
451 | 477 | | |
452 | 478 | | |
453 | 479 | | |
| |||
468 | 494 | | |
469 | 495 | | |
470 | 496 | | |
471 | | - | |
472 | | - | |
473 | | - | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
474 | 501 | | |
475 | 502 | | |
476 | 503 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
239 | 240 | | |
240 | | - | |
| 241 | + | |
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
377 | 417 | | |
378 | 418 | | |
379 | 419 | | |
| |||
772 | 812 | | |
773 | 813 | | |
774 | 814 | | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
775 | 819 | | |
776 | 820 | | |
777 | 821 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
641 | | - | |
| 641 | + | |
| 642 | + | |
642 | 643 | | |
643 | 644 | | |
644 | 645 | | |
645 | 646 | | |
646 | 647 | | |
647 | 648 | | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
648 | 660 | | |
649 | 661 | | |
650 | 662 | | |
| |||
664 | 676 | | |
665 | 677 | | |
666 | 678 | | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
667 | 693 | | |
668 | 694 | | |
669 | 695 | | |
| |||
0 commit comments