Repository navigation
fix(deploy): 保持 HTTPS 跳转并完成 Registry 生产切换 - #34
Merged
Merged
Conversation
This branch was successfully deployed
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.
Registry 已于 2026-09-13 切换到 Heroku Eco / Neon,公开 origin 保持 https://registry.inkcre.dev。收尾检查发现 Uvicorn 未信任 Heroku 入口协议,导致
/simple补斜杠跳转到 HTTP;两个交付控制器现在配置原生FORWARDED_ALLOW_IPS,部署 smoke 验证跳转保持当前 origin 的 HTTPS。namespace 授权继续只依赖凭据。部署文档记录实际资源、Origin CA / Full (strict)、HTTP 308、尊重源站并每次重验证的缓存规则和恢复位置。MLP 已获用户接受,生产验收完成后按父任务生命周期清理整个 task packet;旧证据仍在 PR #33 的提交历史中。
已完成的生产验收:
c77300ea1029670398799266720792b54e216623验证并构建镜像;Heroku release v4 的 image ID 为sha256:31511de7a4ac54b39eb0f63e448d2e0d0fee7e0d9b0f136975ad0ef599d6e220。随后通过本 PR 固化 HTTPS 配置。本地 Ruff、格式及 PR 完整 CI 均通过。最终生产 workflow 已成功发布 main
3fc45236afcaeaa500f6cef907812a1ac8c2040b,Heroku release v6 的 image ID 为sha256:fe0eca8848831adc7e286f6f80e20ba76d51047fe336356e7b39b61831040b7f。公开域名与 app origin 均返回该 revision;再次核对全部目录与详情契约、HTTPS 跳转、匿名写入 401,以及 wheel / Core Metadata / MF manifest / remoteEntry / CSS 的字节、HEAD 和条件请求,全部通过。运行配置确认为一个 Eco dyno,业务连接使用普通registry_app。PR #34 的预览构建在合并后被关闭状态检查拒绝,未创建资源;关闭清理流程 成功,随后通过提供商 API 确认 app 和桶不存在,Neon 仅保留 production main 与空 preview-base。受限恢复目录已补充最终交付证据和文件摘要。本 PR 不修改业务模型、迁移历史或产品页面。