fix(server): harden task lifecycle and database upgrades - #534
Merged
Merged
Conversation
3 of 4 tasks
Collaborator
Author
本轮独立代码复核对
首轮三类运行时回归在旧提交上共 6 项失败;修复后已通过,并补充 SSE 断连与 memory/SQLite 对照。#533 的当前验收包含“明确 legacy 队列迁移边界”,不要求本 PR 替换 SDK 架构,因此保留 Closes #533。跨仓库 codex-a2a#338 仅作参考关联;已关闭的 #516 仅作资源清理背景,不重复关闭。 |
Collaborator
Author
|
本轮复核完成,修复已提交并推送为 最新验证:doctor 完整通过(883 项测试、93.44% 覆盖率),asyncio debug 下相关 95 项测试通过,协议探针 8/8;最新提交远端 5 项检查全部通过。未运行真实 OpenCode 集成或线上观察,完整 EventQueueLegacy 迁移仍遵循文档中的独立迁移条件。 PR 标题已改为英文 commit message 风格,描述按最终代码与两个 commits 重写为中文。保留 Closes #533;跨仓库参考仅作 related,#515/#516 为已关闭背景,不重复关闭。当前没有发现尚未解决的阻断问题。#534 保持 Draft,等待人工审核;开发 worktree 已提交推送且干净,主目录继续保持最新 main。 |
liujuanjuan1984
marked this pull request as ready for review
September 29, 2026 13:18
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.
修复执行异常和停服后任务停留在 WORKING、后台资源未释放,以及旧数据库升级后终态保护和查询失效的问题。
验证:
./scripts/doctor.sh通过,907 项测试,覆盖率 93.46%,协议检查 8/8、远端 5 项 CI 全部通过;新增关闭竞态回归在修复前有 8 项失败,修复后通过。Refs #533:完整 legacy 队列替换尚未包含,保持 issue open。
参考:https://github.com/liujuanjuan1984/codex-a2a/issues/338(related)。