Diagnoselogs und Test für DB-Reset-Verifikation (FAILED_FINAL)
- [TEMP-TRACE] INFO-Logs in SqliteDocumentRecordRepositoryAdapter: deleteByFingerprint() zeigt Fingerprint, jdbcUrl und rowsAffected; findByFingerprint() zeigt Fingerprint, jdbcUrl und Lookup-Ergebnis - [TEMP-TRACE] Log in DocumentProcessingCoordinator.processDeferredOutcome() zeigt Fingerprint und Lookup-Ergebnis-Typ nach DB-Abfrage - Bestehende [TEMP-TRACE] Logs in GuiBatchRunCoordinator und SqliteUnitOfWorkAdapter sind ebenfalls enthalten - Neuer Test resetDocumentByFingerprint_deletesFailedFinalRecord_resultIsDocumentUnknown: legt FAILED_FINAL-Datensatz in echter SQLite-DB an, führt Reset aus und prüft, dass der Datensatz danach DocumentUnknown zurückliefert Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
+2
@@ -351,6 +351,8 @@ public class DocumentProcessingCoordinator {
|
||||
// Step 1: Load the document master record
|
||||
DocumentRecordLookupResult lookupResult =
|
||||
documentRecordRepository.findByFingerprint(fingerprint);
|
||||
logger.info("[TEMP-TRACE] processDeferredOutcome: Fingerprint={}, Lookup-Ergebnis={}",
|
||||
fingerprint.sha256Hex(), lookupResult.getClass().getSimpleName());
|
||||
|
||||
// Step 2: Handle persistence lookup failure
|
||||
if (lookupResult instanceof PersistenceLookupTechnicalFailure failure) {
|
||||
|
||||
Reference in New Issue
Block a user