conversation-session-stop-held-queue.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-stop-held-queue",
  4. "spec": "./test/e2e/conversation-session/queue/conversation-session-stop-held-queue.test.ts",
  5. "providerFixtures": [
  6. "./test/e2e/fixtures/upstream/common.json",
  7. "./test/e2e/fixtures/upstream/conversation-session/conversation-session-stop-held-queue.json"
  8. ],
  9. "fileFixtures": [],
  10. "requests": [
  11. {
  12. "id": "conversation-session-stop-held-queue-title-sidecar",
  13. "kind": "common",
  14. "source": "synthetic",
  15. "timingPolicy": "fast-text",
  16. "syntheticReason": "默认回放捕获到显式发送成功后的标题旁路;本例登记固定响应以避免依赖共享旧 fixture。"
  17. },
  18. {
  19. "id": "upstream-stop-held-queue-first-contract",
  20. "kind": "main",
  21. "source": "synthetic",
  22. "timingPolicy": "fast-text",
  23. "syntheticReason": "B08 允许显式立即发送首项一次;发送前及完成后,其余暂停项均不得自动消费。"
  24. },
  25. {
  26. "id": "upstream-stop-held-running-slow-stream",
  27. "kind": "main",
  28. "source": "synthetic",
  29. "timingPolicy": "controlled-stream",
  30. "syntheticReason": "held queue 需要当前轮保持 running;真实 provider 过快完成会让后续输入变成普通新轮。"
  31. },
  32. {
  33. "id": "upstream-stop-held-queue-second-contract",
  34. "kind": "main",
  35. "source": "synthetic",
  36. "timingPolicy": "fast-text",
  37. "syntheticReason": "held queue 的产品语义是保留队列且不自动消费;fixture 只覆盖 marker 合同。"
  38. },
  39. {
  40. "id": "upstream-stop-held-queue-third-contract",
  41. "kind": "main",
  42. "source": "synthetic",
  43. "timingPolicy": "fast-text",
  44. "syntheticReason": "held queue 的产品语义是保留队列且不自动消费;fixture 只覆盖 marker 合同。"
  45. },
  46. {
  47. "id": "upstream-stop-held-queue-append-contract",
  48. "kind": "main",
  49. "source": "synthetic",
  50. "timingPolicy": "fast-text",
  51. "syntheticReason": "取消发送确认必须保留原草稿和队列,不发送 APPEND marker。"
  52. }
  53. ]
  54. }