2026-11-01 Python 3.12; pinned runtime/test dependencies from requirements files. Regression sensitivity: original auth.py and cursor.py, remaining code fixed. FFFFF.FF.....FF...... [100%] =============================== warnings summary =============================== ../.venv/lib/python3.12/site-packages/fastapi/testclient.py:1 /workspace/scratch/03a740016edf/.venv/lib/python3.12/site-packages/fastapi/testclient.py:1: StarletteDeprecationWarning: Using `httpx` with `starlette.testclient` is deprecated; install `httpx2` instead. from starlette.testclient import TestClient as TestClient # noqa unit-tests/test_mr_regressions.py::test_stale_positive_cache_never_authorizes_revoked_token[/api/v1/chats/00000000-0000-0000-0000-000000000002/messages-POST] /workspace/scratch/03a740016edf/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py:63: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited await response(scope, receive, sender) Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED unit-tests/test_mr_regressions.py::test_stale_positive_cache_never_authorizes_revoked_token[/api/v1/users/me-GET] FAILED unit-tests/test_mr_regressions.py::test_stale_positive_cache_never_authorizes_revoked_token[/api/v1/chats/00000000-0000-0000-0000-000000000002/messages-POST] FAILED unit-tests/test_mr_regressions.py::test_stale_positive_cache_never_authorizes_revoked_token[/api/v1/auth/sessions/current-DELETE] FAILED unit-tests/test_mr_regressions.py::test_valid_cache_hit_checks_session_without_loading_user FAILED unit-tests/test_mr_regressions.py::test_database_failure_on_positive_cache_hit_is_503 FAILED unit-tests/test_mr_regressions.py::test_cursor_timestamp_is_rejected_through_http[messages-253402300800000000] FAILED unit-tests/test_mr_regressions.py::test_cursor_timestamp_is_rejected_through_http[messages-1000000000000000000000000000000] FAILED unit-tests/test_mr_regressions.py::test_cursor_timestamp_is_rejected_through_http[chats-253402300800000000] FAILED unit-tests/test_mr_regressions.py::test_cursor_timestamp_is_rejected_through_http[chats-1000000000000000000000000000000] 9 failed, 12 passed, 2 warnings in 0.77s Fixed implementation: ..................... [100%] =============================== warnings summary =============================== ../.venv/lib/python3.12/site-packages/fastapi/testclient.py:1 /workspace/scratch/03a740016edf/.venv/lib/python3.12/site-packages/fastapi/testclient.py:1: StarletteDeprecationWarning: Using `httpx` with `starlette.testclient` is deprecated; install `httpx2` instead. from starlette.testclient import TestClient as TestClient # noqa -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 21 passed, 1 warning in 0.82s python3 scripts/check_contract.py PASS: offline skeleton structure, local refs and Python syntax; application NOT tested. Integration suite NOT RUN: Docker/PostgreSQL/Redis unavailable. New integration cases are in student-tests/test_cache.py and test_pagination.py.