Repository navigation
重构鹈鹕后台任务与分页比较工作台 - #279
Merged
Merged
重构鹈鹕后台任务与分页比较工作台#279
Conversation
HTExplicit
enabled auto-merge (squash)
October 10, 2026 10:58
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.
鹈鹕测试改为服务端后台任务:新页面提交一次后按任务 ID 观察,刷新、断线或关闭页面不取消;只有明确停止才取消排队和在途工作。相同 client_task_id 复用任务,参数冲突报错;重启/关闭保留已完成结果并标记未完成项中断,不重放请求。旧 /tests SSE 继续保持原来的请求绑定取消语义。
工作台采用任务列表和作品区,提供每页 50 个账号的搜索/平台/分组/状态筛选、跨页选择、有效默认模型、模型默认档位、组合去重、兼容性检查及批量配置。结果使用轻量分页摘要,完整作品和原文按单项读取;支持 2–4 项跨任务比较、放大、原文下载、复制参数和失败项新任务重试。
复用既有表、24 小时保留、10 个执行位及同账号串行;无数据库迁移。固定题目、账号发送逻辑、观察隔离和预览沙箱不变。沿用官方 v0.2.15 已有的 Cline/Command Code 发送能力,不引入新协议。
验证:定向后台任务/接口 Go unit 测试通过;前端组合、分页、重连、停止、失败重试及跨任务比较测试通过;vue-tsc 和改动文件 ESLint 通过。可控页面样例覆盖完成、无 HTML、失败、排队、取消和过期,已检查中文亮色、英文暗色、键盘步骤/Esc 和 390px 窄屏(无横向溢出),样例上游调用为 0。新增真实数据库摘要/分页/原文/中断测试交由正常必需 CI 执行。生产真实后台任务和借用验收在固定版本部署后进行,不将样例或源码检查等同于线上模型成功。