[Bugfix] Per-replica fault isolation: keep API server alive on single-stage death (#4285) (#4583)

Signed-off-by: Shenglei Fu <sfu@confluent.io>
Signed-off-by: Shenglei Fu <117230642+ShengleiFu@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Yueqian Lin <70319226+linyueqian@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-08-10 23:00:18 -04:00
1 parent c27623c29c
commit ee118ab492
9 files changed
+1157 -290

No files matched your search

@@ -83,6 +83,11 @@ class _FakePool:
self.stage_client = SimpleNamespace(requires_multimodal_data=False, custom_process_input_func=None)
self.aborted: list[list[str]] = []
def live_replica_ids(self) -> list[int]:
# Single always-live replica: these tests cover CFG bundling, not
# replica death, and the forward path fast-fails on an empty pool.
return [0]
async def abort_requests(self, request_ids):
self.aborted.append(list(request_ids))