Repository navigation
feat(RUN-282): entity CRUD, cached read models and cache invalidation - #3
Merged
Merged
Conversation
edukmx
commented
May 29, 2026
Collaborator
- Complete CRUD for auth/backend/consumer/gateway/policy: app services, HTTP handlers, repositories and admin routes, plus functional tests.
- Add consumer DataFinder and backend resolver read models backed by in-process TTL caches and Redis pub/sub invalidation events.
- Fix LoadBalancer goroutine leak: add Close(), a TTLMap eviction callback that closes evicted balancers, and single-flight build in the backend resolver to avoid cache-stampede duplicates.
- Drop package-name stutter: consumer.ConsumerDataFinder/ConsumerData -> consumer.DataFinder/Data (mock regenerated).
- Scaffold proxy forwarder/provider data-plane path (WIP).
- Complete CRUD for auth/backend/consumer/gateway/policy: app services, HTTP handlers, repositories and admin routes, plus functional tests. - Add consumer DataFinder and backend resolver read models backed by in-process TTL caches and Redis pub/sub invalidation events. - Fix LoadBalancer goroutine leak: add Close(), a TTLMap eviction callback that closes evicted balancers, and single-flight build in the backend resolver to avoid cache-stampede duplicates. - Drop package-name stutter: consumer.ConsumerDataFinder/ConsumerData -> consumer.DataFinder/Data (mock regenerated). - Scaffold proxy forwarder/provider data-plane path (WIP). Co-authored-by: Cursor <cursoragent@cursor.com>
RUN-282 B.0 Project setup & scaffolding
ContextFoundational scaffolding that must land before any other B.x work. Mirrors the shape TrustGate already has so contributors find a familiar layout and tooling. Everything in B.1–B.9 builds on top of this. Scope (sub-issues)
Out of scope
QA checklist
|
…n them in CI - Relocate the PG_TEST_URL-gated repository_test.go suites from pkg/infra/repository/* to tests/functional/repositories/* so the ./pkg/... unit run stays fast and free of skipped integration tests. - CI functional job now runs ./tests/functional/... with -p 1 against a dedicated agentgateway_repo_test database (created in a new step) via PG_TEST_URL, so the repository suites actually execute instead of skipping. - Add a test-repositories make target for local parity. Co-authored-by: Cursor <cursoragent@cursor.com>
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.