Skip to content

refactor(render): simplify error counting logic using closures#510

Merged
fllesser merged 1 commit intomasterfrom
fix/render-content-error-handle
Mar 17, 2026
Merged

refactor(render): simplify error counting logic using closures#510
fllesser merged 1 commit intomasterfrom
fix/render-content-error-handle

Conversation

@fllesser
Copy link
Owner

No description provided.

@github-actions github-actions bot added the bug Something isn't working label Mar 17, 2026
@fllesser fllesser merged commit 46d532e into master Mar 17, 2026
15 checks passed
@fllesser fllesser deleted the fix/render-content-error-handle branch March 17, 2026 05:52
@github-actions
Copy link

类型 PIL 耗时(秒) HTML 耗时(秒) 渲染所用图片总大小(MB) PIL 导出图片大小(MB) HTML 导出图片大小(MB)
微博视频2 0.01135 0.75246 0.01280 0.03541 0.14920
微博视频 0.01564 0.76827 0.01280 0.03432 0.14748
微博纯文2 0.03191 0.83566 0.00605 0.12023 0.20299
微博转发纯文 0.07992 1.02934 0.01382 0.24414 0.44455
微博转发(横图) 0.19052 1.47551 1.26621 0.48412 2.13023
B站转发动态 0.21314 1.54851 0.37278 0.38265 1.40774
哔哩哔哩动态(包含emoji) 0.24261 1.84414 0.01244 0.18507 0.36532
微博转发(竖图) 0.29218 2.56433 1.33334 0.41583 3.54991
微博图集(超过9张) 0.29675 1.20528 1.01614 0.31669 0.90518
微博图集(3张) 0.32476 1.00518 2.73813 0.34359 1.14213
微博图集(2张) 0.33486 1.12500 4.88308 0.64458 2.19027
微博图集(4张) 0.40680 1.68207 2.34023 0.72816 2.40468
B站动态 0.52583 3.00480 0.00653 1.34777 2.67611
微博图集(9张) 1.20564 2.03832 10.98936 0.98579 3.06691

@codecov
Copy link

codecov bot commented Mar 17, 2026

Codecov Report

❌ Patch coverage is 15.00000% with 17 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/nonebot_plugin_parser/renders/base.py 0.00% 17 Missing ⚠️
Files with missing lines Coverage Δ
src/nonebot_plugin_parser/download/task.py 89.09% <100.00%> (ø)
src/nonebot_plugin_parser/renders/base.py 30.61% <0.00%> (-3.10%) ⬇️

... and 2 files with indirect coverage changes

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

Successfully merging this pull request may close these issues.

1 participant