-
Notifications
You must be signed in to change notification settings - Fork 86
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
bug: We don't /notify
solvers on some errors
#2140
Comments
cc @ColePBryan (user which reported that they are missing |
I see that we have notifies for simulation errors: https://production-6de61f.kb.eu-central-1.aws.cloud.es.io/app/r/s/Gk4lS |
And for negative scores, I don't know what is the exact case here, but we usually report either
|
Some of the simulation errors are ignored: services/crates/driver/src/infra/simulator/mod.rs Lines 169 to 202 in b5a258a
But it needs to be confirmed if the following errors are properly built from responses: services/crates/driver/src/infra/simulator/tenderly/mod.rs Lines 115 to 118 in 492605c
Further investigation is required on what errors are not received by solvers exactly. |
Do we have a concrete solver that didn't receive a notification for a specific auction? Unlike stated in the issue description, I see logs for simulation failures, non-positive score (encoding errors are mostly also simulation failures). We don't notify runner ups with their rank, but this is by design (rank can be fetched from the solver competition endpoint) |
The specific example that sparked this issue is here where the |
In this specific auction, the error was in estimating the access list, which currently is classified as a "Basic" Simulation error (for which we don't notify solvers). I will make a PR to address this. |
# Description We don't always notify solvers if their solutions fails in certain cases (e.g. if we cannot generate an access list for their solution). However for debugging, a solver should receive a /notify request for every solution it provided that doesn't end up ranking. # Changes - [ ] Make some types of simulation errors that are related to the underlying transaction failing simulation classifying as such - [ ] For remaining errors, still notify solvers but classify that this was a "driver" error (ie not their fault) ## How to test CI ## Related Issues Fixes #2140
Problem
It looks like there are some errors for which we don't correctly call the
/notify
endpoint to give the solver debugging information.Impact
External solver maintainers have a hard time debugging issues with their solutions.
To reproduce
Check these logs to see that we don't have a single notification for:
Expected behaviour
A solver should receive a
/notify
request for every solution it provided. Either a reason why it was discarded or the rank it achieved in the competition.The text was updated successfully, but these errors were encountered: