@sleep2agi/commhub-server 0.9.0-preview.257 → 0.9.0-preview.258

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -108,6 +108,12 @@ describe("send_task durable idempotency", () => {
108
108
  const replay = await call(handler, args);
109
109
 
110
110
  expect(first.ok).toBe(true);
111
+ // #3309 分支 —— send_task 的**第二个出口**(幂等重放)此前只有 toEqual 整体比较,
112
+ // 而工具名不在那一行(`call(handler, args)`)⇒ 归因不到。补一条同变量键集:
113
+ // 重放回执比新派单少 actual_to 之外的队列建议,多 idempotent_replay / task_status。
114
+ expect(Object.keys(replay).sort()).toEqual([
115
+ "actual_to", "idempotent_replay", "message_id", "ok", "task_id", "task_status",
116
+ ]);
111
117
  expect(replay).toEqual({
112
118
  ok: true,
113
119
  message_id: first.message_id,