Repository navigation
Cbox deploy.yml 回填 O1 修复(版本自证 + 严格断言) - #35
Merged
todosdev[bot] merged 2 commits intoNov 19, 2026
Merged
Conversation
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.
Summary
/api/setup前后分别轮询/api/public自证边缘生效版本,避免边缘传播延迟导致跨版本调用。/api/setup的 5 次循环重试,避免触发频控;断言升级为双向严格集合匹配与状态校验。Changes
.github/workflows/deploy.yml(「Run database migrations」步骤):APP_VERSION;verify_version函数,在pre-setup与post-setup双段带时间戳轮询/api/public自证版本;success === true、条目状态仅允许applied或skipped、禁止重复项,且响应迁移条目集合与代码派生集合完全双向一致。Testing
pnpm lint && pnpm format:check && pnpm typecheck && pnpm test && pnpm check:identity && pnpm check:deploy全部通过(434 项测试全部绿灯)。