feat(pages): 支持 GitHub Release 部署源

增加 latest/tag 手动检查与同步、ETag 与限流退避、资源替换确认,以及对应的前端来源管理和部署来源展示。
This commit is contained in:
deqiying
2026-07-19 18:31:42 +08:00
parent 38b0516937
commit c39a3edcc3
34 changed files with 5751 additions and 278 deletions
+8 -1
View File
@@ -211,9 +211,16 @@ of_pages_projects
GitHub:
```text
SHA-256("github|" + owner_repo + "|" + selector + "|" + tag + "|" + asset_name)
LP(value) = uint64be(byte_length(UTF8(value))) || UTF8(value)
SHA-256(
"openflare:pages:github-release:v2" ||
LP(owner_repo) || LP(selector) || LP(tag) || LP(asset_name)
)
```
GitHub identity 对每个 UTF-8 字段使用无歧义的长度前缀编码,不能使用分隔符直接拼接;自动更新开关和检查间隔不参与 identity。
Remote:
```text