conversation-session-ttft-diagnostics.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-ttft-diagnostics",
  4. "spec": "./test/e2e/conversation-session/telemetry/conversation-session-ttft-diagnostics.test.ts",
  5. "providerFixtures": [
  6. "./test/e2e/fixtures/upstream/common.json",
  7. "./test/e2e/fixtures/upstream/conversation-session/conversation-session-ttft-diagnostics.json"
  8. ],
  9. "fileFixtures": [
  10. {
  11. "path": ".zcode-e2e/ttft-diagnostics/input.txt",
  12. "source": "created-by-helper",
  13. "description": "用例通过异步 fs 创建,只在隔离 E2E workspace 执行。"
  14. },
  15. {
  16. "path": ".zcode-e2e/ttft-diagnostics/hook.cjs",
  17. "source": "created-by-helper",
  18. "description": "用例通过异步 fs 创建,只在隔离 E2E workspace 执行。"
  19. }
  20. ],
  21. "requests": [
  22. {
  23. "id": "ttft-diag-title",
  24. "kind": "common",
  25. "timingPolicy": "fast-text",
  26. "source": "synthetic",
  27. "syntheticReason": "隔离标题生成,不让无关后台请求产生 Missing Fixture 重试与性能噪音。"
  28. },
  29. {
  30. "id": "ttft-diag-hold",
  31. "kind": "main",
  32. "timingPolicy": "controlled-stream",
  33. "source": "synthetic",
  34. "syntheticReason": "固定首输出延迟,通过真实队列/取消/后台操作验证最终 OTLP。"
  35. },
  36. {
  37. "id": "ttft-diag-queue",
  38. "kind": "main",
  39. "timingPolicy": "controlled-stream",
  40. "source": "synthetic",
  41. "syntheticReason": "固定首输出延迟,通过真实队列/取消/后台操作验证最终 OTLP。"
  42. },
  43. {
  44. "id": "ttft-diag-cancel",
  45. "kind": "main",
  46. "timingPolicy": "controlled-stream",
  47. "source": "synthetic",
  48. "syntheticReason": "固定首输出延迟,通过真实队列/取消/后台操作验证最终 OTLP。"
  49. },
  50. {
  51. "id": "ttft-diag-retry-failure",
  52. "kind": "main",
  53. "timingPolicy": "controlled-stream",
  54. "source": "synthetic",
  55. "syntheticReason": "固定首输出延迟,通过真实队列/取消/后台操作验证最终 OTLP。"
  56. },
  57. {
  58. "id": "ttft-diag-retry-success",
  59. "kind": "main",
  60. "timingPolicy": "controlled-stream",
  61. "source": "synthetic",
  62. "syntheticReason": "固定首输出延迟,通过真实队列/取消/后台操作验证最终 OTLP。"
  63. },
  64. {
  65. "id": "ttft-diag-fail",
  66. "kind": "main",
  67. "timingPolicy": "controlled-stream",
  68. "source": "synthetic",
  69. "syntheticReason": "固定首输出延迟,通过真实队列/取消/后台操作验证最终 OTLP。"
  70. },
  71. {
  72. "id": "ttft-diag-guide-read",
  73. "kind": "main",
  74. "timingPolicy": "controlled-stream",
  75. "source": "synthetic",
  76. "syntheticReason": "固定首输出延迟,通过真实队列/取消/后台操作验证最终 OTLP。"
  77. },
  78. {
  79. "id": "ttft-diag-guide-final",
  80. "kind": "main",
  81. "timingPolicy": "controlled-stream",
  82. "source": "synthetic",
  83. "syntheticReason": "固定首输出延迟,通过真实队列/取消/后台操作验证最终 OTLP。"
  84. },
  85. {
  86. "id": "ttft-diag-pause",
  87. "kind": "main",
  88. "timingPolicy": "controlled-stream",
  89. "source": "synthetic",
  90. "syntheticReason": "固定首输出延迟,通过真实队列/取消/后台操作验证最终 OTLP。"
  91. },
  92. {
  93. "id": "ttft-diag-held",
  94. "kind": "main",
  95. "timingPolicy": "controlled-stream",
  96. "source": "synthetic",
  97. "syntheticReason": "固定首输出延迟,通过真实队列/取消/后台操作验证最终 OTLP。"
  98. },
  99. {
  100. "id": "ttft-diag-confirm",
  101. "kind": "main",
  102. "timingPolicy": "controlled-stream",
  103. "source": "synthetic",
  104. "syntheticReason": "固定首输出延迟,通过真实队列/取消/后台操作验证最终 OTLP。"
  105. }
  106. ]
  107. }