Retry failed PVF execution (AmbiguousWorkerDeath) (#6235)
* Fix a couple of typos * Retry failed PVF execution PVF execution that fails due to AmbiguousWorkerDeath should be retried once. This should reduce the occurrence of failures due to transient conditions. Closes #6195 * Address a couple of nits * Write tests; refactor (add `validate_candidate_with_retry`) * Update node/core/candidate-validation/src/lib.rs Co-authored-by:Andronik <write@reusable.software> Co-authored-by:
eskimor <eskimor@users.noreply.github.com> Co-authored-by:
Andronik <write@reusable.software>
Showing
- polkadot/Cargo.lock 1 addition, 0 deletionspolkadot/Cargo.lock
- polkadot/node/core/candidate-validation/Cargo.toml 1 addition, 0 deletionspolkadot/node/core/candidate-validation/Cargo.toml
- polkadot/node/core/candidate-validation/src/lib.rs 44 additions, 20 deletionspolkadot/node/core/candidate-validation/src/lib.rs
- polkadot/node/core/candidate-validation/src/tests.rs 136 additions, 8 deletionspolkadot/node/core/candidate-validation/src/tests.rs
- polkadot/node/core/pvf/src/execute/queue.rs 3 additions, 3 deletionspolkadot/node/core/pvf/src/execute/queue.rs
Please register or sign in to comment