Skip to content

Conversation

@RC-CHN
Copy link
Member

@RC-CHN RC-CHN commented Jan 5, 2026

修复了 #4294 ,解决了较大的备份文件下载时出现的问题

Modifications / 改动点

添加conditional参数为备份下载启用断点续传

  • This is NOT a breaking change. / 这不是一个破坏性变更。

Screenshots or Test Results / 运行截图或测试结果

681fb84a8b6bfc22092e783cb9929178

Checklist / 检查清单

  • 😊 如果 PR 中有新加入的功能,已经通过 Issue / 邮件等方式和作者讨论过。/ If there are new features added in the PR, I have discussed it with the authors through issues/emails, etc.
  • 👀 我的更改经过了良好的测试,并已在上方提供了“验证步骤”和“运行截图”。/ My changes have been well-tested, and "Verification Steps" and "Screenshots" have been provided above.
  • 🤓 我确保没有引入新依赖库,或者引入了新依赖库的同时将其添加到了 requirements.txtpyproject.toml 文件相应位置。/ I have ensured that no new dependencies are introduced, OR if new dependencies are introduced, they have been added to the appropriate locations in requirements.txt and pyproject.toml.
  • 😮 我的更改没有引入恶意代码。/ My changes do not introduce malicious code.

Summary by Sourcery

Bug Fixes:

  • 通过支持使用 Range 请求恢复中断的下载,解决在下载大型备份文件时出现的不稳定和失败问题。
Original summary in English

Summary by Sourcery

Bug Fixes:

  • Resolve instability and failures when downloading large backup files by allowing interrupted downloads to be resumed via Range requests.
- 通过允许客户端使用 Range 请求恢复中断的备份下载,修复了大型备份文件下载失败或不稳定的问题。
Original summary in English

Summary by Sourcery

Bug Fixes:

  • 通过支持使用 Range 请求恢复中断的下载,解决在下载大型备份文件时出现的不稳定和失败问题。
Original summary in English

Summary by Sourcery

Bug Fixes:

  • Resolve instability and failures when downloading large backup files by allowing interrupted downloads to be resumed via Range requests.

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. area:webui The bug / feature is about webui(dashboard) of astrbot. labels Jan 5, 2026
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - 我已经审阅了你的更改,一切看起来都很棒!


Sourcery 对开源项目是免费的——如果你喜欢我们的审查结果,欢迎分享 ✨
帮我变得更有用吧!请在每条评论上点 👍 或 👎,我会根据你的反馈来改进后续的审查。
Original comment in English

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jan 5, 2026
@Soulter Soulter changed the title feat(dashboard): enable Range request support for backup downloads feat(webui): enable Range request support for backup downloads Jan 5, 2026
@Soulter Soulter merged commit ef1c66a into AstrBotDevs:master Jan 5, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:webui The bug / feature is about webui(dashboard) of astrbot. lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants