conversation-session-compact-stream-fallback.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-compact-stream-fallback",
  4. "spec": "./test/e2e/conversation-session/context/conversation-session-compact-stream-fallback.test.ts",
  5. "providerFixtures": [
  6. "./test/e2e/fixtures/upstream/common.json",
  7. "./test/e2e/fixtures/upstream/conversation-session/conversation-session-compact-stream-fallback.json"
  8. ],
  9. "fileFixtures": [],
  10. "requests": [
  11. {
  12. "id": "compact-stream-fallback-title",
  13. "description": "compact stream fallback seed 首发的 case-local 标题响应。",
  14. "kind": "common",
  15. "source": "synthetic",
  16. "timingPolicy": "fast-text",
  17. "syntheticReason": "首发会触发 title sidecar;固定标题响应并用 case marker 隔离跨 case 匹配。"
  18. },
  19. {
  20. "id": "compact-stream-fallback-seed",
  21. "description": "形成可 compact 的稳定历史。",
  22. "kind": "main",
  23. "source": "synthetic",
  24. "timingPolicy": "fast-text",
  25. "syntheticReason": "transport fallback 门禁只需要一段已完成历史;固定文本避免真实 provider 漂移。"
  26. },
  27. {
  28. "id": "compact-stream-fallback-stream-failure",
  29. "description": "compact 首个 stream 请求的确定性 non-retryable 失败。",
  30. "kind": "fault",
  31. "source": "synthetic",
  32. "timingPolicy": "fault-stream",
  33. "syntheticReason": "fixture 只有在 compact body 明确包含 stream:true 时命中,以稳定证明 stream-first;404 避免 adapter 内部重试放大。"
  34. },
  35. {
  36. "id": "compact-stream-fallback-non-stream-success",
  37. "description": "同一逻辑 compact attempt 的 non-stream JSON fallback 成功响应。",
  38. "kind": "main",
  39. "source": "synthetic",
  40. "timingPolicy": "fast-text",
  41. "syntheticReason": "fixture 显式排除 stream:true,证明首腿失败后才进入 non-stream,并固定 summary 以验证最终 success marker。"
  42. }
  43. ]
  44. }