Repository navigation
test: isolate HTTP session manager fixtures - #569
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR consolidates HTTP session manager isolation logic into a single centralized pytest fixture and updates all test modules across the integration and UI test suites to use it. Previously, each test module manually managed global session state; now they delegate to a shared ChangesTest Session Isolation Refactoring
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
isolated_http_session_managerfixture for HTTP tests that still use synchronous session cleanupDisplay Eventslabel exposed by the pageVerification
uv run pytest tests/ui/test_developer_console.py tests/ui/test_security.py tests/integration/test_wire_http_integration.py tests/ui/test_http_server_workspace_transfer.py tests/integration/test_durable_runtime_smoke.py tests/ui/test_http_server.py tests/ui/test_http_server_failover.py -q(387 passed, 1 skipped)uv run ruff check tests/conftest.py tests/ui/test_http_server.py tests/ui/test_http_server_failover.py tests/ui/test_security.py tests/ui/test_developer_console.py tests/integration/test_wire_http_integration.py tests/ui/test_http_server_workspace_transfer.py tests/integration/test_durable_runtime_smoke.pyuv run ruff format --check tests/conftest.py tests/ui/test_http_server.py tests/ui/test_http_server_failover.py tests/ui/test_security.py tests/ui/test_developer_console.py tests/integration/test_wire_http_integration.py tests/ui/test_http_server_workspace_transfer.py tests/integration/test_durable_runtime_smoke.pygit diff --checkuv run pytest tests/ -q(33 failed, 3622 passed, 4 skipped, 0 errors; remaining failures match pre-existing old-debt areas, while the fix: fail loud on unfenced durable config #568 setup ERROR regression is cleared)Summary by CodeRabbit
Tests
Chores