You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 16, 2026. It is now read-only.
All tests use in-memory stores or mocks. There are no integration tests that exercise the real Postgres repository or Redis runtime store, or that test end-to-end flows through the full stack.
Current state
Postgres repository tested with pgxmock (SQL-level mocking)
Redis runtime store tested with miniredis
No test exercises the real Postgres query planner, transaction behavior, or constraint enforcement
No end-to-end test: session creation → grant request → approval → proxy execution → revocation
No test for cleanup worker against real persistence
Required work
Add testcontainers-based integration tests for Postgres repository (real Postgres instance, apply migrations, run full CRUD)
Add testcontainers-based integration tests for Redis runtime store (real Redis instance, test budget enforcement under concurrency)
Add end-to-end integration test: full flow from session creation through grant issuance to proxy execution and cleanup
Summary
All tests use in-memory stores or mocks. There are no integration tests that exercise the real Postgres repository or Redis runtime store, or that test end-to-end flows through the full stack.
Current state
Required work
//go:build integrationso they don't run in basic CI (add a separate CI job for integration tests)Files
internal/store/postgres/,internal/store/redis/,internal/app/.github/workflows/ci.yml— add integration test job with Postgres and Redis servicesPriority
Low-medium — mocks cover logic but miss real database behavior.
🤖 Generated with Claude Code