acoustic-carpenter-78188
06/12/2026, 4:07 PMpkce.py::_create_callback_server) that binds the redirect-URI port via asyncio.start_server. When that port is already in use ā a stale or concurrent login flow, or another local process holding it ā bind raises OSError(EADDRINUSE) ("[Errno 98] address already in use"), which leaks to Sentry either bare or wrapped as RuntimeSystemError("Failed to get signed url...").
The redirect-URI port comes from the backend config, so the SDK cannot pick a different one; freeing the port is a user-environment action, not an SDK bug.
Change
⢠Add errno.EADDRINUSE to _USER_ENVIRONMENT_OSERROR_ERRNOS in flyte/_sentry.py so the cause-chain walk in _is_user_error filters it, same as ENOSPC.
⢠Test covers both the bare and RuntimeSystemError-wrapped chain.
fixes FLYTE-SDK-53
fixes FLYTE-SDK-57
š¤ Generated with Claude Code
flyteorg/flyte-sdk