Skip to content

fix(preview): 收敛复用应用到当前数据库 - #81

Merged
xiaoland merged 1 commit into
mainfrom
hotfix/preview-database-convergence
Aug 24, 2026
Merged

fix(preview): 收敛复用应用到当前数据库#81
xiaoland merged 1 commit into
mainfrom
hotfix/preview-database-convergence

Conversation

@xiaoland

@xiaoland xiaoland commented Aug 24, 2026

Copy link
Copy Markdown
Member

问题

复用的 Heroku preview app 仍指向先前 Neon preview branch 时,trusted delivery controller 在更新配置前要求数据库 host 已相等,导致当前权威 preview branch 无法接管应用。

修复

  • 保留现有 release 检测,只用于安排 PostgREST 配置时序
  • 删除旧数据库 host 必须预先一致的检查
  • 由后续既有 configure_app / configure_postgrest 正常收敛到本轮数据库 URL

范围

只修改 default-branch preview delivery controller;不修改数据库、运行时或 PR #65 的产品代码。未新增或运行测试。

- let the preview database workflow remain authoritative for the current branch
- update reused Heroku app configuration instead of requiring stale hosts to match
@xiaoland
xiaoland merged commit f8d2e3b into main Aug 24, 2026
5 of 6 checks passed
@xiaoland
xiaoland deleted the hotfix/preview-database-convergence branch August 24, 2026 09:15
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