All checks were successful
CI / Unit & Component Tests (pull_request) Successful in 3m41s
CI / OCR Service Tests (pull_request) Successful in 19s
CI / Backend Unit Tests (pull_request) Successful in 3m34s
CI / fail2ban Regex (pull_request) Successful in 43s
CI / Semgrep Security Scan (pull_request) Successful in 19s
CI / Compose Bucket Idempotency (pull_request) Successful in 1m1s
The canonical importer commits through its own transactions, so this test cannot use @Transactional rollback for isolation. Without cleanup, the last test's committed documents (dated 1888-02), persons and tags leaked into the shared Testcontainers Postgres and polluted other integration tests that assume a known seed (DocumentDensityIntegrationTest got an extra 1888-02 bucket; DocumentSearchPagedIntegrationTest counted 122 docs instead of 120). Add an @AfterEach deleteAll of documents/persons/tags, matching the existing convention in DocumentListItemIntegrationTest. Refs #669