test(auth): add auth subsystem black-box test suite - #32
Conversation
eeb74c1 to
a9cf2c4
Compare
PR Summary by Qodotest(auth): add black-box auth subsystem test suite (Keycloak/Postgres/compose)
AI Description
Diagram
High-Level Assessment
Files changed (14)
|
Code Review by Qodo
1.
|
Add Ginkgo black-box tests against real Keycloak/PostgreSQL/control-plane containers covering the auth middleware: proxy-secret validation, JIT actor provisioning, OIDC JWT round-trips, actor status enforcement, RFC 7807 error formats, and concurrent first-login races. Signed-off-by: Chad Crum <1462069+chadcrum@users.noreply.github.com> Co-Authored-By: Claude <noreply@anthropic.com>
34d0e18 to
ad51d8e
Compare
Summary
Black-box subsystem tests for the auth layer added in #24. Exercises the full authentication middleware against real containers (Keycloak 26, PostgreSQL, control-plane with
AUTH_DISABLED=false).27 Ginkgo test cases covering:
Stack
Docker compose with non-conflicting ports (25432, 28180, 28080) to coexist with dev stacks:
quay.io/sclorg/postgresql-16-c9s- test database with direct access for actor status manipulationquay.io/keycloak/keycloak:26.0- OIDC provider, reuses existingdeploy/keycloak/realm-export.jsonContainerfilewithAUTH_CACHE_TTL=2sfor testable status changesCI
Adds
auth-subsystemparallel job to.github/workflows/subsystem.yamlusing existingblack-box.yamlreusable workflow.Resolves FLPATH-4482