[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

+1 -4
View File
@@ -74,8 +74,6 @@ async def test_engine_dead_broadcasts_fatal_to_rpc_waiters(monkeypatch: pytest.M
rpc_async_queue=rpc_queue,
stage_pools=[],
)
orchestrator._fatal_error = "stage engine died"
orchestrator._fatal_error_stage_id = 2
async def wait_for_requests() -> None:
await asyncio.Event().wait()
@@ -91,8 +89,7 @@ async def test_engine_dead_broadcasts_fatal_to_rpc_waiters(monkeypatch: pytest.M
fatal = rpc_queue.get_nowait()
assert isinstance(fatal, ErrorMessage)
assert fatal.fatal is True
assert fatal.error == "stage engine died"
assert fatal.stage_id == 2
assert "stage engine died" in fatal.error
@dataclass