Skip to content
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

Unended sessions leaving hanging programs #37

Closed
areibman opened this issue Oct 7, 2023 · 1 comment
Closed

Unended sessions leaving hanging programs #37

areibman opened this issue Oct 7, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@areibman
Copy link
Contributor

areibman commented Oct 7, 2023

🐛 Bug Report

Unless Client.end_session is run, the program will hang.

🔎 Describe the Bug
Give a clear and concise description of the bug.

🔄 Reproduction Steps

  1. Run pytest tests/test_teardown.py. Notice how the program hangs

🙁 Expected Behavior
Program should not hang.

📸 Screenshots
If applicable, add screenshots to help explain the problem.

(env) (base) ➜  agentops git:(33-decorators-are-unsafe) ✗ pytest tests/test_teardown.py -s
============================================== test session starts ==============================================
platform darwin -- Python 3.11.3, pytest-7.4.0, pluggy-1.3.0
rootdir: /Users/reibs/Projects/agentops-ai/agentops
plugins: anyio-4.0.0, asyncio-0.21.1, mock-3.11.1, requests-mock-1.11.0, httpx-0.24.0
asyncio: mode=Mode.STRICT
collected 1 item

tests/test_teardown.py .

=============================================== 1 passed in 3.21s ===============================================

@areibman areibman added the bug Something isn't working label Oct 7, 2023
@areibman
Copy link
Contributor Author

areibman commented Nov 2, 2023

Solved in #43

@areibman areibman closed this as completed Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant