Skip to content

fix(preview): 隔离候选构建和受信交付 - #207

Closed
xiaoland wants to merge 2 commits into
mainfrom
fix/preview-runner-isolation
Closed

xiaoland wants to merge 2 commits into
mainfrom
fix/preview-runner-isolation

Conversation

@xiaoland

@xiaoland xiaoland commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

改动

  • 在两个独立 runner 处理应用 Preview。候选 runner 构建 Registry 和三个镜像;受信 runner 只 checkout 工作流 SHA,再按同一次运行的唯一 artifact ID 下载。
  • 受信 SQL 核对 Preview 父分支和数据库部署身份。可信工具派生运行连接。用候选镜像运行必须的迁移或探测时,容器使用非特权 UID、删除默认 capabilities、禁止提权,日志以数据处理。
  • 延续现有 Preview 准入、Heroku 与 Cloudflare 交付方式及删除生命周期。

验证

  • actionlint、适用预提交门禁和 26 项聚焦测试通过。实际构建 11 个 wheel,生成 59 个通过检查的 Registry 文件。
  • 现有三个 Preview 镜像经 Docker save/load 保持 image ID。独占 PostgreSQL 验证首次引导、Core 登录、生产标记拒绝及错误迁移版本的报告。
  • 用当前主分支的旧调用协议实跑 11 wheel、59 文件;最终 PR 的检查与现有 Preview 通过。新受信控制器的 GitHub artifact 交接及供应商交付在生效后复验。GitHub 环境权限、同级 Neon provisioning 和已有继承凭据另行处理。

@xiaoland xiaoland closed this Nov 28, 2026
@xiaoland
xiaoland deleted the fix/preview-runner-isolation branch November 28, 2026 18:33

This branch was successfully deployed

1 active deployment
preview — 87c8998d Deployed Nov 28, 2026 by xiaoland via impl-py preview cleanup #610
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