feat: add deployment topology and shared state - #13
Merged
Merged
Conversation
Adds namespaced manifests for the gateway, GPU serving pool, Redis state, KEDA autoscaling on queue depth, Prometheus scraping, network policy, and secret-manager-sourced credentials. Invariant tests enforce unprivileged workloads, digest-pinned images, bounded resources, real probes, and the absence of committed secret material.
Adds a Redis-backed response cache and fixed-window quota behind a small async protocol, selected by ROUTER_REDIS_URL. Without it the gateway keeps in-process state, which is correct for a single replica only.
Verifies the committed Ray Serve configuration against the catalog, renders the canary plan with its rollback target, and validates the Kubernetes manifests with kubeconform. Applying to a cluster remains disabled until a deployment destination is configured.
CI invokes the pytest entry point directly, which does not add the repository root to sys.path the way `python -m pytest` does, so `from tests.conftest import FakeRedis` failed collection in CI while passing locally. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Implements sections 13, 14, and 17 of the design specification.
Tests: 24 new unit tests, 1 new integration test. Local suite 120 passed, 97% branch coverage.