acoustic-carpenter-78188
03/23/2026, 9:06 PMNOT_FOUND gRPC errors when tailing logs in Logs.tail()
• Non-NOT_FOUND errors (e.g. UNAVAILABLE, INTERNAL) are now re-raised immediately instead of silently looping forever
• Previously, after exhausting retries on non-NOT_FOUND errors, the code fell through both `if`/`else` branches and looped infinitely in while True without any sleep, causing flyte get logs to hang
Test plan
• Run flyte get logs <run> <action> against an action with available logs — should stream normally
• Run flyte get logs against a non-existent action — should raise LogsNotYetAvailableError after retries
• Simulate a non-NOT_FOUND gRPC error — should raise immediately instead of hanging
flyteorg/flyte-sdkacoustic-carpenter-78188
03/23/2026, 9:32 PM