Skip to content

Conversation

@StevenJacobs61
Copy link
Contributor

Features

  • Removed loop executors

Bugfixes

  • Error occurring applying asynchronous fetching of auth credentials in a loop task

@StevenJacobs61 StevenJacobs61 added the version:patch non-breaking bug fixes; no input/output changes (except defaults) label Feb 5, 2026
@StevenJacobs61 StevenJacobs61 changed the base branch from ndd-dev to fix/retry-status February 5, 2026 14:40
@StevenJacobs61 StevenJacobs61 force-pushed the fix/removed-async-auth-lookups branch from 378aace to 5027112 Compare February 5, 2026 14:42
@StevenJacobs61 StevenJacobs61 changed the title Fix/removed async auth lookups fix: removed async auth calls Feb 5, 2026
Base automatically changed from fix/retry-status to ndd-dev February 5, 2026 16:02
@StevenJacobs61 StevenJacobs61 changed the base branch from ndd-dev to fix/retry-status February 5, 2026 16:05
logger.info("Access token expired, refreshing token")
await loop.run_in_executor(None, auth.login)
headers = await loop.run_in_executor(None, auth.get_headers)
auth.login()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auth.login() is blocking. Calling it synchronously from async code will block the event loop and can stall uploads or progress reporting. Please run login off the event loop again (eg await asyncio.to_thread(auth.login) or executor).

logger.info("Access token expired, refreshing token")
await loop.run_in_executor(None, auth.login)
headers = await loop.run_in_executor(None, auth.get_headers)
auth.login()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment as before

Copy link
Contributor

@favour-neuraco favour-neuraco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM W comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

version:patch non-breaking bug fixes; no input/output changes (except defaults)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants