Skip to content

test(backend): Testcontainers, ArchUnit and a JaCoCo floor - #158

Merged
CMaintz merged 3 commits into
fix/postgres-query-bugsfrom
test/integration-infra
Sep 30, 2026
Merged

CMaintz merged 3 commits into
fix/postgres-query-bugsfrom
test/integration-infra

Conversation

@CMaintz

@CMaintz CMaintz commented Sep 30, 2026 •

Copy link
Copy Markdown
Owner

Stacked on #160, which sits on #157. Kept separate because the ruleset guard won't take build config and prod source in the same PR.

  • Postgres Testcontainers tests for search, embeddings, AI usage and Flyway. They skip if Docker isn't running.
  • ArchUnit rules for the hex layering. AiController and CrawlerAdminController are allowed exceptions for now.
  • JaCoCo floor at 31% line coverage, to be bumped as coverage grows.
  • Pinned commons-compress to 1.28.0, since Testcontainers pulls in 1.24.0 which has two CVEs.

558 tests passing locally.

…aCoCo floor

- pgvector/pgvector:pg16 integration tests for full-text search, nearest
  neighbour search, AI usage aggregates and the Flyway migration chain
- ArchUnit rules for the hexagonal layering
- JaCoCo report on every test run with a 31% line-coverage floor
@CMaintz CMaintz changed the title test(backend): Testcontainers persistence tests, ArchUnit, JaCoCo — and two query bugs they caught test(backend): Testcontainers persistence tests, ArchUnit layering, JaCoCo floor Sep 30, 2026
@CMaintz
CMaintz changed the base branch from fix/jackson-cve to fix/postgres-query-bugs September 30, 2026 12:46
@CMaintz CMaintz closed this Sep 30, 2026
@CMaintz CMaintz reopened this Sep 30, 2026
@CMaintz CMaintz changed the title test(backend): Testcontainers persistence tests, ArchUnit layering, JaCoCo floor test(backend): Testcontainers, ArchUnit and a JaCoCo floor Sep 30, 2026
@CMaintz
CMaintz merged commit d9206d4 into fix/postgres-query-bugs Sep 30, 2026
18 checks passed
@CMaintz
CMaintz deleted the test/integration-infra branch September 30, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant