You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use cases, pain points, and background
If the user exits the Gym servers via ctrl+c (or gym exits by itself unexpectedly), we want to cancel all inflight requests so that nothing is left dangling.
Description:
In the process.kill for each child server here we need to ensure the process is fully killed and not running in the background. Maybe just process.kill() twice will work?
Design:
What files should be touched? What logic should be written?
Out of scope:
Acceptance Criteria:
Implement the full logic for the above
Test it adhoc by running requests and then quitting the servers. you can use something like ps aux | grep app.py to see if there are any gym servers running. Do a positive test first without any code changes to see if you can reliably repro the servers not quitting i.e. app.py still present. Then implement the code change and do a negative test i.e. app.py not present with your code changes
Activity