Skip to content

让 Registry 版本页回跳 Web 确认安装 - #56

Merged
xiaoland merged 7 commits into
mainfrom
feat/registry-install-handoff
Sep 23, 2026
Merged

xiaoland merged 7 commits into
mainfrom
feat/registry-install-handoff

Conversation

@xiaoland

@xiaoland xiaoland commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

目的\n\n插件发现与版本选择留在 Registry Web;点击「Install in Web app」后,仅将插件名与精确版本带回 client-web,由用户确认安装。PR 预览提供真实可安装的数据,支持在预览环境审阅这条链路。\n\n## 实现\n\n- Registry 页面保留 client_origin,版本页生成只含 install/version 的回跳链接。\n- 默认返回官方 Web;仅接受 HTTPS origin 或本地开发 HTTP origin,无效值返回 400。\n- 每个隔离预览通过 Publisher API 发布固定的第一方 RSS 0.2.1 Release;wheel 校验 SHA-256,临时 Publisher 凭据发布后撤销。重复部署核验已有数据,不清空人工审阅内容。\n- 补充 Registry Web 和预览交付文档、既有数据库/HTTP 验收断言。\n\n## 预览与验证\n\n- Registry 预览:https://inkcre-ext-reg-pr-56-bcb9e238282c.herokuapp.com/\n- 已验证目录、RSS 0.2.1 Release、wheel ETag 和 Registry → client-web PR #118 安装确认页回跳。Web 预览未连接部署,故尚未将此称为 Core 实际安装验收。\n- 格式、lint、类型、Web CSS、契约、构建与包检查通过。本地无隔离 PostgreSQL,数据库/HTTP 验收由 PR CI 执行。\n- 预览工作流的控制器来自 main;本 PR 的自动播种逻辑需合入后才能为后续 PR 自动执行。#56 当前预览已用相同逻辑单独播种。

@xiaoland
xiaoland temporarily deployed to preview September 23, 2026 07:59 Destroyed
@xiaoland
xiaoland temporarily deployed to preview September 23, 2026 08:06 Destroyed
@xiaoland

Copy link
Copy Markdown
Member Author

预览关联已补强:保留 preview 环境密钥与分支规则,关闭 workflow_run 自动创建的 main Deployment,并显式为精确 PR head 创建 Deployment 和 ext-reg preview 状态;关闭 PR 后会将相关 Deployment 标为 inactive。当前 head 04be4d8 的完整 CI 与隔离预览均通过,/livez revision 精确匹配;PR Checks 已显示可点击的预览地址。注意:可信控制器工作流须先进入 main,新逻辑才能由后续运行自动执行;本次 head 的 Deployment/状态已按同一语义补记。

@xiaoland
xiaoland marked this pull request as ready for review September 23, 2026 14:25
@xiaoland
xiaoland merged commit 2fb5532 into main Sep 23, 2026
2 checks passed
@xiaoland

Copy link
Copy Markdown
Member Author

最终交付:本 PR 已合并为 2fb5532。经单独授权,已手动发布该精确 main,生产运行全部通过:https://github.com/InKCre/ext-reg/actions/runs/35880557966 。独立 /livez 探针返回相同 revision;生产目录搜索、RSS 0.2.1 选择及 Web 精确版本确认页面均已复核。合并前公开预览已完成与已连接 Web 的跨站往返。PR 关闭的预览清理成功,无额外生产资源删除。新生成的 package release PR #57 未纳入本次运行时交付。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant