-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(host): create initial cancel handling (#316)
* [WIP](host): connect cancel API * feat(host): create initial cancel handling * refactor(host,task_manager): remove duplicate struct and impls * refactor(lib): remove reference where not needed * refactor(host,task_manager): replace struct with type * chore(host): use get instead of post for reporting * fix(task_manager): clear hash map for in memory db * refactor(host,task_manager): clean up function params * refactor(host): minimize fetching and type complexity * refactor(host): skip task if getting task data is unsuccessful * feat(host): pass error from proving to task actor * feat(host): make getting task manager more ergonomic * refactor(core,lib): clean up preflight code * feat(host): simplify proof request config reading * fix(lib): fix typo * refactor(host): extract cache utils to separate module * fix(core): handle errors for blob checking * fix(task_manager): handle proof retrieval better * refactor(host): make proof handler more ergonomic * fix(tasks): pass closure instead of variable * fix(tasks): handle inconsistency in status triplet * chore(core,lib): clean up dependency declaration * feat(core,host,lib,risc0,sp1): unify proof output * fix(clippy): fix lint * refactor(host): add error trace * refactor(tasks): use type instead of struct * refactor(tasks): move struct definition * feat(host): use single channel for tasks * feat(all): pass a store to provers to cancel a remote task * fix(all): fix some async errors * fix(core,host,lib): handle async boundary * fix(provers): fix types on trait implementors * fix(core): fix lints * fix(provers): fix lints * fix(core): fix test mock * fix(core): use provers instead of drivers * fix(lib,tasks): account for multi prover environment * fix(tasks): fix clippy lints * feat(risc0): add cancellation to bonsai (#320) * feat(risc0): add cancellation to bonsai * fix(risc0): remove id after cancellation * fix(risc0): add prover code to proof key * feat(sp1): add cancellation support (#322) * feat(sp1): add cancellation support * fix(sp1): add prover code to proof key * refactor(risc0,sp1): rename arguments * fix(clippy): remove unused imports * fix(clippy): rename unused args and unwrap result
- Loading branch information
1 parent
a017242
commit f6d02b3
Showing
33 changed files
with
1,417 additions
and
987 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.