| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- {
- "version": 1,
- "caseName": "conversation-session-edit",
- "spec": "./test/e2e/conversation-session/editing/conversation-session-edit.test.ts",
- "providerFixtures": [
- "./test/e2e/fixtures/upstream/common.json",
- "./test/e2e/fixtures/upstream/conversation-session/conversation-session-edit.json"
- ],
- "fileFixtures": [
- {
- "path": ".zcode-e2e/shared/readonly-tool.txt",
- "source": "created-by-helper",
- "description": "prepareConversationE2E 写入的只读工具输入文件,用于构造 edit 前后的 tool_result 历史。"
- }
- ],
- "requests": [
- {
- "id": "upstream-conversation-edit-title-generic",
- "kind": "common",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "标题不属于 edit 产品语义,只需要稳定返回,防止标题请求误命中业务 fixture。"
- },
- {
- "id": "upstream-conversation-edit-original-final",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "首轮只用于构造可编辑 completed 历史,真实 provider 回复内容不影响 edit 产品语义。"
- },
- {
- "id": "upstream-conversation-readonly-edit-final",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "该响应稳定完成 edit 后的只读工具历史,用于断言旧 user query 被替换。"
- },
- {
- "id": "upstream-conversation-edit-held-running-controlled-stream",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "controlled-stream",
- "syntheticReason": "真实 provider 可能过快完成;旧 legacy slow stream 90.2s 贴近测试 90s 等待边界,会把时序抖动误报成产品 bug。"
- },
- {
- "id": "upstream-conversation-edit-held-rerun-controlled-stream",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "controlled-stream",
- "syntheticReason": "该 case 需要 edit 重跑保持 streaming 以验证 held queue、普通 queue、goal queue 和重复 compact guard;使用 30s case-local 流避免 legacy 90.2s 边界超时。"
- },
- {
- "id": "upstream-conversation-edit-manual-compact-success",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "该响应只用于证明 compact marker 完成且 queue 保留,不依赖真实 summary 内容。"
- },
- {
- "id": "upstream-conversation-edit-interrupted-source-controlled-stream",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "controlled-stream",
- "syntheticReason": "D10 需要稳定制造已出现首个 assistant delta 但仍可 stop 的窗口;短 source 只保留 interrupted 语义,避免回放尾部拖慢该 case。"
- },
- {
- "id": "upstream-conversation-edit-interrupted-rerun-final",
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "该响应只用于区分 edit 后 rerun 是否真的执行;source interrupted 窗口仍由 legacy slow-stream fixture 构造。"
- },
- {
- "id": "upstream-conversation-readonly-tool-call",
- "kind": "common",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "只读工具首段用于构造稳定 tool_use/tool_result 历史;工具业务由本地文件 fixture 决定,不依赖真实模型选择。"
- }
- ]
- }
|