-
Notifications
You must be signed in to change notification settings - Fork 131
tests: make wsproto agent_server fixture teardown robust #1278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ate attr\n\n- Record creator_pid and only tear down from original parent\n- Avoid using multiprocessing.Process._parent_pid which is private\n- Minor safety: terminate only if alive on startup failure\n\nCo-authored-by: openhands <[email protected]>
|
@OpenHands Think deeply, run the entire test suite, then run this test in isolation, and come up with a few reasons why was this flaky, which MIGHT NOT be the same reason this PR attempts to fix. /codereview-roasted |
|
I'm on it! enyst can track my progress at all-hands.dev |
|
Summary of work and answer What I did
Why this was flaky (beyond the PR’s teardown guard)
Bottom line
|
|
[Automatic Post]: It has been a while since there was any activity on this PR. @enyst, are you still working on it? If so, please go ahead, if not then please request review, close it, or request that someone else follow up. |
|
@OpenHands Read the entire PR diff and PR comments. Please fix these two:
|
|
I'm on it! enyst can track my progress at all-hands.dev |
|
Summary of changes pushed to chore/robust-wsproto-teardown Your two requested fixes have been implemented in a single, focused change to tests/agent_server/test_agent_server_wsproto.py and pushed to the existing PR branch. What I fixed
Additional robustness for auth and WebSockets
Verification
Conciseness
Checklist
These changes have been committed and pushed to chore/robust-wsproto-teardown with Co-authored-by: openhands [email protected]. |
|
[Automatic Post]: It has been a while since there was any activity on this PR. @enyst, are you still working on it? If so, please go ahead, if not then please request review, close it, or request that someone else follow up. |
2 similar comments
|
[Automatic Post]: It has been a while since there was any activity on this PR. @enyst, are you still working on it? If so, please go ahead, if not then please request review, close it, or request that someone else follow up. |
|
[Automatic Post]: It has been a while since there was any activity on this PR. @enyst, are you still working on it? If so, please go ahead, if not then please request review, close it, or request that someone else follow up. |
This PR proposes to make the wsproto test more robust, it can happen that terminate fails in pytest.
—-
(Agent Summary)
Why
How
Result
Co-authored-by: openhands [email protected]
@enyst can click here to continue refining the PR