Non-HTTP socket traffic blows up when HTTPretty is enabled
Non-HTTP socket traffic blows up when HTTPretty is enabled: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). I'm using HTTPretty to mock HTTP responses in my tests, but the code under test also opens a regular TCP connection to a non-HTTP service (in my case Redis, but it…
The task
I'm using HTTPretty to mock HTTP responses in my tests, but the code under test also opens a regular TCP connection to a non-HTTP service (in my case Redis, but it would happen with anything that's not on ports 80/443). As soon as that code path calls send() or recv() on its…
Part of XiaomiMiMo/MiMo-V2.6-RL-oss.