A knowledge item that failed once keeps error_message set; when it is reprocessed or driven through the finalizing pipeline, the stale message was never cleared, so the UI kept showing an outdated failure on items that were processing or had completed successfully. - SetFinalizing and FinalizeSubtask now clear error_message in the same atomic UPDATE that transitions parse_status - ProcessDocument clears knowledge.ErrorMessage when flipping the row to processing for a new attempt Add a SQLite-backed regression test covering both transitions. |
||
|---|---|---|
| .. | ||
| repository | ||
| service | ||