Make remote runtime fully async with aiohttp + testing#214
Conversation
klieret
commented
Jun 27, 2025
- Make remote runtime fully async with aiohttp
- [pre-commit.ci] auto fixes from pre-commit.com hooks
- CI: Properly cleanup sessions
for more information, see https://pre-commit.ci
This mimicks the prior behavior of the requests library and makes it more resilient to the server closing client connections
7b0c949 to
818d7d6
Compare
for more information, see https://pre-commit.ci
|
@klieret I found the issue:
In the old version of the code, the So I just changed the new code to match the old behavior and always create a new session per request. This fixed the I went ahead and pushed to this branch because it seemed easiest but can also pull my changes back out into my fork if that's better. Thanks! Let me know if there are any other issues. CC: @joyliu-q |
|
Looks like tests all passed in CI, let me know if you have any other feedback 🙂 |
|
Hi! Just checking on this |
|
Hi @saltzm thank you so much for the PR! I've just merged it :) Will look at the other PRs in a second. Sorry again that this took for forever, but I'm really happy for the improvements! |
|
All good, thanks! |