acoustic-carpenter-78188
06/26/2026, 11:46 PMerror.pb for these failures, but a raw OSError with errno.EIO was converted through the generic fallback instead of being attributed as a system failure.
That means filesystem/image read failures like [Errno 5] Input/output error during module import can be surfaced with the wrong attribution, even though EIO indicates the runtime failed to read bytes from the underlying filesystem/storage layer rather than a deterministic user-code error.
Solution
Classify only task-load OSError values with errno.EIO as RuntimeSystemError before converting and uploading the load failure error document.
All other load-time exceptions, including non-EIO OSError values such as FileNotFoundError, continue through the existing generic path.
Testing
• uv run python -m pytest tests/flyte/internal/bin/test_runtime.py tests/flyte/internal/runtime/test_entrypoints.py
• uv run python -m ruff check src/flyte/_internal/runtime/entrypoints.py tests/flyte/internal/runtime/test_entrypoints.py
flyteorg/flyte-sdkacoustic-carpenter-78188
06/27/2026, 12:25 AM