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
feat: Enable Scale-from-Zero with Flow Control enabled (#1952)
* contracts: add PodLocator for candidate resolution
This defines the contract for resolving candidate pods based on request
metadata, decoupling the resolution logic from the storage layer.
* director: delegate candidate resolution
Refactors the Director to use the injected PodLocator interface instead
of the private getCandidatePodsForScheduling method. This prepares the
Director for lazy resolution without changing current behavior.
* flowcontrol: add metadata support to request type
Updates the FlowControlRequest interface to carry request metadata
instead of a pre-resolved list of candidate pods. This prepares the
system for lazy pod resolution.
- Adds GetMetadata() to FlowControlRequest.
- Removes CandidatePodsForScheduling() from FlowControlRequest.
- Updates mocks in flowcontrol/types and contracts.
* requestcontrol: enable scale-from-zero
Refactors the request processing flow to support queuing when no
backends are available.
- Inverts Director flow: Admission is now called before Pod Resolution.
- Updates AdmissionController interface to remove eager pod list.
- LegacyAdmissionController now resolves pods internally via PodLocator.
- ShardProcessor (Flow Control) now resolves pods lazily via PodLocator
during the dispatch cycle.
- Updates Runner wiring to inject PodLocator where needed.
* resolve merge conflicts after rebase
* Address reviewer feedback
0 commit comments