-
Notifications
You must be signed in to change notification settings - Fork 82
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
feat: Notify if simulation succeeded at least once in the new API. #2280
Comments
Here is an example notification I found in the logs (simulation succeeded once flag in bold):
If you are unable to see this field in your solver, can you please paste the full json of a |
Currently I am using the deprecated json API. In the schema for the new API, I don't see where this field is, and hence my question. It looks like it has just an enum specifying the type of simulation failure and no extra information. Asking because I need to adapt the code to the new API. |
The enum fields aren't documented in detail here services/crates/solvers/openapi.yml Line 59 in 632695d
but SimulationFailed should contain a field called services/crates/solvers/src/api/routes/notify/dto/notification.rs Lines 114 to 160 in 632695d
|
Thank you. Closing. |
Problem
It is not clear to me where in the notify call to the new API :
c2a67c9#diff-2d7ec54baf3c2df9830102c6ad5c9662f82670d932b0e6eaccd4c87f4936a211R35-R62
I can access the information about if the simulation succeeded at least once (the purpose of this PR #2077) .
In case this information is not passed, I'd like to ask that this information is re-added back.
The text was updated successfully, but these errors were encountered: