Commit 31021ce
committed
Merge upstream main (PR #183) — discard classifier-mode-on-quota-gate
Upstream PR #183 ("Adding a classifier mode to quota gate") adds a
classifier path to the pre-refactor quota_gate / composite_gate /
AttributeGate / DispatchGate machinery that this branch removed in
favor of the unified Gate/Verdict model. The PR also stamps a typed
Classification field on InternalRouting alongside the framework's
generic Labels map.
This branch already implements the same functional capability via the
reservation-classifier gate (operator-configurable redis-backed
multi-key in-flight cap that stamps a `class` label), which composes
naturally with the tier-priority RMP and admission gate. There is no
useful payload in PR #183's code beyond what we already have, and its
shape conflicts with the redesigned interfaces.
Resolution: -X ours wholesale, plus re-applying our deletions of the
files PR #183 modified that this branch had already removed
(composite_gate{,_test}.go, quota_gate{,_test}.go,
test/integration/gate_factory_redis_test.go,
test/integration/sortedset_quota_gate_test.go).
Signed-off-by: joeltg <joel@reflection.ai>1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
8 | 16 | | |
9 | 17 | | |
10 | 18 | | |
| |||
0 commit comments