Skip to content

Conversation

@fllesser
Copy link
Owner

No description provided.

@codecov
Copy link

codecov bot commented Feb 10, 2026

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
42 1 41 2
View the full list of 1 ❄️ flaky test(s)
tests.parsers.test_twitter::test_video

Flake rate in main: 22.64% (Passed 246 times, Failed 72 times)

Stack Traces | 20.1s run time
.venv/lib/python3.14.../httpx/_transports/default.py:101: in map_httpcore_exceptions
    yield
.venv/lib/python3.14.../httpx/_transports/default.py:394: in handle_async_request
    resp = await self._pool.handle_async_request(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.venv/lib/python3.14.../httpcore/_async/connection_pool.py:256: in handle_async_request
    raise exc from None
.venv/lib/python3.14.../httpcore/_async/connection_pool.py:236: in handle_async_request
    response = await connection.handle_async_request(
.venv/lib/python3.14.../httpcore/_async/connection.py:103: in handle_async_request
    return await self._connection.handle_async_request(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.venv/lib/python3.14.../httpcore/_async/http11.py:136: in handle_async_request
    raise exc
.venv/lib/python3.14.../httpcore/_async/http11.py:106: in handle_async_request
    ) = await self._receive_response_headers(**kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.venv/lib/python3.14.../httpcore/_async/http11.py:177: in _receive_response_headers
    event = await self._receive_event(timeout=timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.venv/lib/python3.14.../httpcore/_async/http11.py:217: in _receive_event
    data = await self._network_stream.read(
.venv/lib/python3.14.../httpcore/_backends/anyio.py:32: in read
    with map_exceptions(exc_map):
         ^^^^^^^^^^^^^^^^^^^^^^^
../......../_temp/uv-python-dir/cpython-3.14.3-linux-x86_64-gnu/lib/python3.14/contextlib.py:162: in __exit__
    self.gen.throw(value)
.venv/lib/python3.14.../site-packages/httpcore/_exceptions.py:14: in map_exceptions
    raise to_exc(exc) from exc
E   httpcore.ReadTimeout

The above exception was the direct cause of the following exception:
tests/parsers/test_twitter.py:32: in test_video
    await asyncio.gather(*[parse_video(url) for url in urls])
tests/parsers/test_twitter.py:21: in parse_video
    result = await parser.parse(keyword, searched)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../nonebot_plugin_parser/parsers/base.py:87: in parse
    return await self._handlers[keyword](self, searched)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../nonebot_plugin_parser/parsers/twitter.py:34: in _parse
    resp = await self._req_xdown_api(url)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../nonebot_plugin_parser/parsers/twitter.py:26: in _req_xdown_api
    response = await client.post(url, data=data)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.venv/lib/python3.14................../site-packages/httpx/_client.py:1859: in post
    return await self.request(
.venv/lib/python3.14................../site-packages/httpx/_client.py:1540: in request
    return await self.send(request, auth=auth, follow_redirects=follow_redirects)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.venv/lib/python3.14................../site-packages/httpx/_client.py:1629: in send
    response = await self._send_handling_auth(
.venv/lib/python3.14................../site-packages/httpx/_client.py:1657: in _send_handling_auth
    response = await self._send_handling_redirects(
.venv/lib/python3.14................../site-packages/httpx/_client.py:1694: in _send_handling_redirects
    response = await self._send_single_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.venv/lib/python3.14................../site-packages/httpx/_client.py:1730: in _send_single_request
    response = await transport.handle_async_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.venv/lib/python3.14.../httpx/_transports/default.py:393: in handle_async_request
    with map_httpcore_exceptions():
         ^^^^^^^^^^^^^^^^^^^^^^^^^
../......../_temp/uv-python-dir/cpython-3.14.3-linux-x86_64-gnu/lib/python3.14/contextlib.py:162: in __exit__
    self.gen.throw(value)
.venv/lib/python3.14.../httpx/_transports/default.py:118: in map_httpcore_exceptions
    raise mapped_exc(message) from exc
E   httpx.ReadTimeout

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@github-actions
Copy link

github-actions bot commented Feb 10, 2026

类型 PIL 耗时(秒) HTML 耗时(秒) 渲染所用图片总大小(MB) PIL 导出图片大小(MB) HTML 导出图片大小(MB)
微博视频2 0.01086 1.02068 0.00000 0.03541 0.17206
微博视频 0.01087 0.98064 0.01280 0.03432 0.17000
微博纯文2 0.03235 1.05250 0.00605 0.12023 0.28607
微博转发纯文 0.06840 1.18872 0.01382 0.24414 0.40196
微博转发(视频) 0.09322 1.33477 14.91427 0.37463 0.78030
微博转发(横图) 0.18435 1.43693 1.26621 0.48412 1.43761
哔哩哔哩动态 0.24199 2.72579 0.01244 0.18458 0.41459
微博图集(超过9张) 0.27831 1.29448 1.01493 0.31695 0.68635
微博转发(竖图) 0.27892 2.11387 1.33334 0.41583 2.48094
微博图集(3张) 0.33157 1.12335 2.73813 0.34359 0.93089
微博图集(2张) 0.35735 1.23763 4.88308 0.64458 1.68558
bilibili-read 0.36046 2.53744 0.47975 1.35513 2.58685
微博图集(4张) 0.38633 1.59958 2.34023 0.72814 1.69757
bilibili-opus 0.48767 2.67487 1.21296 1.35135 2.35157
微博图集(9张) 1.24498 1.89869 10.98936 0.98579 2.37885

@fllesser fllesser merged commit c115378 into master Feb 10, 2026
14 of 15 checks passed
@fllesser fllesser deleted the render/default-avatar branch February 10, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant