Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Hommy-master
capcut-mate
Repository navigation
Code
Issues
6
(6)
Pull requests
4
(4)
Discussions
Actions
Projects
Wiki
Security and quality
Insights
More
items
Releases
v8.1.17
Release v8.1.17
Compare
Choose a tag to compare
Sorry, something went wrong.
Filter
Loading
Sorry, something went wrong.
Uh oh!
There was an error while loading.
Please reload this page
.
No results found
Hommy-master
released this
14 Nov 04:29
·
14 commits
to main since this release
v8.1.17
b778737
📝 改动说明
🎯 问题背景
草稿目录已存在完整素材时,客户端仍发送从文件末尾开始的 Range 请求
x02.me 对这类请求返回 HTTP 500 而非标准 416
客户端把 500 当作瞬时错误反复重试,11 次后判定下载失败
真实客户端表现为首次下载成功、之后重复下载必然失败
🔧 修复内容
新增远端文件大小探测:优先 HEAD,失败时退化为 1 字节 Range 探测
本地文件已完整时直接复用,不再发起 GET,也不再重传素材
本地文件大于远端时删除并整文件重下
本地文件小于远端时保持原有 Range 断点续传
Range 请求报错后再用 HEAD 复核,本地已完整则直接判定成功
全新下载不增加任何探测请求,不影响首次下载路径
🧪 测试与验证
单元测试 48 项全部通过,其中新增 7 项回归测试
覆盖完整文件复用、半截文件续传、500/416、HEAD 不可用、全新下载等场景
真实网络复用测试 10 次全部成功,平均约 11 秒,素材零重传
真实半截文件续传成功,3.8 秒从断点完成
全新目录下载 3 次全部成功,无回归
📦 改动范围
desktop-client/nodeapi/resumableDownload.js
desktop-client/nodeapi/resumableDownload.download.test.js
✨ 效果
重复下载从“约 6 分钟后必失败”变为“约 11 秒稳定成功”
每次重复下载可节省约 52 MiB 素材重传
首次下载行为保持不变,仍由源站带宽决定
⚠️
注意事项
已安装客户端仍需重新打包或安装后才能生效
重复下载耗时主要受源站 HEAD 延迟影响
如需进一步提速,可后续增加素材元数据缓存
You can’t perform that action at this time.