Repository navigation
Zeta 后端:终止后 killed 终态被列表轮询覆盖为 unknown - #257
Merged
todosdev[bot] merged 2 commits intoNov 29, 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
killed被下一次列表轮询用unknown覆盖的问题(QA Update dependency @simplewebauthn/server to v13.3.2 #48 D1 缺陷)。killed粘住;同时不破坏单飞门与幂等释放。Changes
worker/src/routes/livy.tswriteStatusIfActive:写库统一加AND status NOT IN ('success','dead','killed','error','unknown')守卫,终态不被迟到或竞态的刷新降级。settleBatchStatus、refreshBatchStatus以及详情端点的 404 / 2xx 写库路径全部收口到该守卫。worker/src/routes/__tests__/livy.test.tsstate与 DBstatus均保持killed。Testing
cd worker && pnpm vitest run src/routes/__tests__/livy.test.ts→ 50 passed。cd worker && pnpm type-check→ 通过。tds/conv-01a2271e-3816-7ea9-aa94-f431d4bd3be8@02a7a15)→ Validate 47s 全步骤通过:lint / format / build web / typecheck worker / test worker / test web。livy.ts后该测试失败(state: 'unknown'),恢复修复后通过,证明用例守住此缺陷。说明:本次改动只涉及 worker 后端源码,仓库不追踪
dist/之类生成产物,无需要重建的打包工件。