Repository navigation
Conversation
Owner
|
审查了
现有后端 |
added 3 commits
November 25, 2026 15:52
…s-r2-hybrid-upstream # Conflicts: # CHANGELOG.md
…s-r2-hybrid-upstream # Conflicts: # CHANGELOG.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
为什么改
自托管部署常把素材保存在本地磁盘或挂载的 NAS 目录。生图和视频供应商只接收外链时,无法读取局域网文件地址。混合策略允许本地承担长期存储,由私有对象存储提供限时参考素材链接。
改了什么
0048_reference_cache.sql、0049_storage_hybrid_policy.sql和部署说明。怎么验证
bun test --timeout 30000全量复跑 5,297 项均通过。首次的默认超时出在通用弹窗检查,单独复测也通过。风险与兼容性
APP_STORAGE_REFERENCE_CACHE_*单独启用临时外链时,目标仍限定为私有 Cloudflare R2。部署文档说明了临时前缀和生命周期配置。自检清单
[Unreleased]