Skip to content

test(migrations): 移除独占历史库的重复清理 - #155

Merged
xiaoland merged 1 commit into
mainfrom
refactor/preview-validation-convergence
Oct 23, 2026
Merged

xiaoland merged 1 commit into
mainfrom
refactor/preview-validation-convergence

Conversation

@xiaoland

@xiaoland xiaoland commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Memos 迁移测试已为每个场景创建并销毁独占历史数据库,旧的逐行清理及 ID 集合不再承担资源释放职责。本次删除这层重复清理,保留 fixture 的整库销毁、迁移往返、真实附件下载和全部数据保全断言。

本地 pdm run check 通过(90 passed、60 skipped);本 PR CI 的可丢弃 PostgreSQL 业务组实际 44 passed(8.15 秒),包含两项迁移场景,所有必需检查通过。独立审查确认忽略缩进后的差异仅为清理代码删除。

不改生产代码、schema 或已部署 migration。确认必需检查通过后,取消本次非必需 Preview 部署并合并,已创建资源由关闭 PR 的既有流程退役。回退本提交即可恢复原清理方式。

@xiaoland
xiaoland merged commit 389263c into main Oct 23, 2026
6 of 7 checks passed

This branch was successfully deployed

1 active deployment
preview — 2d867e56 Deployed Oct 23, 2026 by xiaoland via Retire preview resources #496
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