You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Log property insert failures from bad model data at debug level #145
When the ML queue inserts a property that it got from the model, a failed insert logs at error level. Most of these failures come from bad data that the model returned, not from a fault in the program, so the logs are noisy.
Locations:
src/processing/ml_queue_actor.rs:170: error!(..., "Inserting new property") for any PropertiesError other than Conflict.
src/db/properties_repository.rs:134: error!(..., "error trying to insert/link property") for each failed statement.
The filter on the model output should already stop bad values. But remove_blocked in src/processing/llama_actor.rs removes only the values in PLACEHOLDERS. Values that are bad in other ways still get through.
To do:
Get the errors that these log lines still record, and find which model values cause them.
Filter those values in llama_actor.rs, next to remove_blocked, so they do not get to the insert.
For model input, log the failure at debug level. Keep error level for database failures that do not come from the data, or give them a separate PropertiesError variant so the caller can tell them apart. Do not make all insert errors debug, because that also hides real database faults.
Activity