-
Notifications
You must be signed in to change notification settings - Fork 22
BM-615 - Add caching for assessor and set builder images #393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
e018f20
to
9dc3c71
Compare
9dc3c71
to
0b5df2b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason we wouldn't default this to true? Otherwise it still feels like a footgun that provers will eventually run into.
🚀 Documentation Preview Deployment URL: https://boundless-documentation-aqg49wqr4-risczero.vercel.app Updated at: 2025-03-20 23:43:40 UTC |
Ok yeah we can default to true. In this case maybe a |
) Closes #390 - Adds new public method to `boundless_market` - `with_stake_balance_alert` which takes a warning and error threshold to alert on - Adds new config fields to broker to set these on the market in `order_monitor` - Adds to existing test to check that market is correctly alerting when stake balance goes below thresholds
The error would panic and crash the instance, which was indefinitely irrecoverable. This rejects that invalid case, such that the node will continue. The part I am unsure about is the sanity check within the executor for keccak requests. This changes to error log and skip those requests, and didn't seem like a clean mechanism to fail to proof as a whole, but perhaps this should still go through to fail with the prove agent so that it errors and then perhaps the tasks get cancelled through taskdb? Haven't looked that in depth at the implications yet.
We now favor "Explorer" over "Indexer" in all comms
<img width="782" alt="image" src="https://github.com/user-attachments/assets/1fde4ea9-80f2-48e7-ba45-5563176e811c" /> --------- Co-authored-by: Sasha <[email protected]>
Automatic testing of Bento when the bento/ subdirectory is modified. --------- Co-authored-by: Austin Abell <[email protected]> Co-authored-by: Victor Graf <[email protected]>
Partially handles BM-616 Co-authored-by: Richard Howard <[email protected]>
Closes BM-619
Partially handles BM-616
We've seen transient errors when calling the Bonsai API. This adds retries to all API calls (previously we only retried calls to check job status). This also adds retries to the entire proving workflow, to better capture the case where are able to kick off a proving job and it terminates, but it terminates with a retryable internal server error. This should help with: #410 --------- Co-authored-by: Willem Olding <[email protected]> Co-authored-by: Victor Snyder-Graf <[email protected]> Co-authored-by: Rami Lukata <[email protected]> Co-authored-by: Angelo Capossele <[email protected]>
CI wasn't running any rust test on CI due to a wrong `ignored` keyword
eec0428
to
d735ee1
Compare
Closes #388 Uses reqwest middleware to add a HTTP-aware cache. See https://docs.rs/http-cache-reqwest/latest/http_cache_reqwest/index.html. This is used only for caching requests for assessor and set-builder images at this time. - Adds caching to requests to retrieve assessor and set builder images - - Can trivially also add it to user images but this may need more discussion - Add new command line flag `--cache-images` to broker - Adds new command line arg `--cache-dir` to broker (default `/tmp/broker_cache/`) --------- Co-authored-by: Austin Abell <[email protected]> Co-authored-by: Cohan <[email protected]> Co-authored-by: Sasha <[email protected]> Co-authored-by: pote.eth <[email protected]> Co-authored-by: Parker Thompson <[email protected]> Co-authored-by: Victor Graf <[email protected]> Co-authored-by: Rami Lukata <[email protected]> Co-authored-by: Richard Howard <[email protected]> Co-authored-by: Angelo Capossele <[email protected]>
Closes #388 Uses reqwest middleware to add a HTTP-aware cache. See https://docs.rs/http-cache-reqwest/latest/http_cache_reqwest/index.html. This is used only for caching requests for assessor and set-builder images at this time. - Adds caching to requests to retrieve assessor and set builder images - - Can trivially also add it to user images but this may need more discussion - Add new command line flag `--cache-images` to broker - Adds new command line arg `--cache-dir` to broker (default `/tmp/broker_cache/`) --------- Co-authored-by: Austin Abell <[email protected]> Co-authored-by: Cohan <[email protected]> Co-authored-by: Sasha <[email protected]> Co-authored-by: pote.eth <[email protected]> Co-authored-by: Parker Thompson <[email protected]> Co-authored-by: Victor Graf <[email protected]> Co-authored-by: Rami Lukata <[email protected]> Co-authored-by: Richard Howard <[email protected]> Co-authored-by: Angelo Capossele <[email protected]>
Closes #388 Uses reqwest middleware to add a HTTP-aware cache. See https://docs.rs/http-cache-reqwest/latest/http_cache_reqwest/index.html. This is used only for caching requests for assessor and set-builder images at this time. - Adds caching to requests to retrieve assessor and set builder images - - Can trivially also add it to user images but this may need more discussion - Add new command line flag `--cache-images` to broker - Adds new command line arg `--cache-dir` to broker (default `/tmp/broker_cache/`) --------- Co-authored-by: Austin Abell <[email protected]> Co-authored-by: Cohan <[email protected]> Co-authored-by: Sasha <[email protected]> Co-authored-by: pote.eth <[email protected]> Co-authored-by: Parker Thompson <[email protected]> Co-authored-by: Victor Graf <[email protected]> Co-authored-by: Rami Lukata <[email protected]> Co-authored-by: Richard Howard <[email protected]> Co-authored-by: Angelo Capossele <[email protected]>
Closes #388 Uses reqwest middleware to add a HTTP-aware cache. See https://docs.rs/http-cache-reqwest/latest/http_cache_reqwest/index.html. This is used only for caching requests for assessor and set-builder images at this time. - Adds caching to requests to retrieve assessor and set builder images - - Can trivially also add it to user images but this may need more discussion - Add new command line flag `--cache-images` to broker - Adds new command line arg `--cache-dir` to broker (default `/tmp/broker_cache/`) --------- Co-authored-by: Austin Abell <[email protected]> Co-authored-by: Cohan <[email protected]> Co-authored-by: Sasha <[email protected]> Co-authored-by: pote.eth <[email protected]> Co-authored-by: Parker Thompson <[email protected]> Co-authored-by: Victor Graf <[email protected]> Co-authored-by: Rami Lukata <[email protected]> Co-authored-by: Richard Howard <[email protected]> Co-authored-by: Angelo Capossele <[email protected]>
Closes #388 Uses reqwest middleware to add a HTTP-aware cache. See https://docs.rs/http-cache-reqwest/latest/http_cache_reqwest/index.html. This is used only for caching requests for assessor and set-builder images at this time. - Adds caching to requests to retrieve assessor and set builder images - - Can trivially also add it to user images but this may need more discussion - Add new command line flag `--cache-images` to broker - Adds new command line arg `--cache-dir` to broker (default `/tmp/broker_cache/`) --------- Co-authored-by: Austin Abell <[email protected]> Co-authored-by: Cohan <[email protected]> Co-authored-by: Sasha <[email protected]> Co-authored-by: pote.eth <[email protected]> Co-authored-by: Parker Thompson <[email protected]> Co-authored-by: Victor Graf <[email protected]> Co-authored-by: Rami Lukata <[email protected]> Co-authored-by: Richard Howard <[email protected]> Co-authored-by: Angelo Capossele <[email protected]>
Closes #388
Uses reqwest middleware to add a HTTP-aware cache. See https://docs.rs/http-cache-reqwest/latest/http_cache_reqwest/index.html. This is used only for caching requests for assessor and set-builder images at this time.
--cache-images
to broker--cache-dir
to broker (default/tmp/broker_cache/
)