@@ -4859,7 +4859,7 @@ describe("deliverSubagentAnnouncement requester session backfill (issue #86034)"
|
4859 | 4859 | // already-loaded requester session entry carries `lastTo`/`lastChannel`, so |
4860 | 4860 | // effectiveDirectOrigin must backfill from it before the deliverability gate, |
4861 | 4861 | // otherwise generated media is silently dropped. |
4862 | | -it("backfills to/channel/accountId from the requester session entry when completion origin is missing them", async () => { |
| 4862 | +it("backfills to/accountId from the requester session entry when completion origin is incomplete", async () => { |
4863 | 4863 | const agentId = `backfill-${Date.now()}-${Math.random().toString(16).slice(2)}`; |
4864 | 4864 | const sessionKey = `agent:${agentId}:telegram:5866004662`; |
4865 | 4865 | const storeTemplate = path.join( |
@@ -4904,12 +4904,12 @@ describe("deliverSubagentAnnouncement requester session backfill (issue #86034)"
|
4904 | 4904 | targetRequesterSessionKey: sessionKey, |
4905 | 4905 | triggerMessage: "image done", |
4906 | 4906 | steerMessage: "image done", |
4907 | | -// Origin carries channel/accountId but NOT `to` — simulates an |
| 4907 | +// Origin carries channel but NOT `to` or `accountId` — simulates an |
4908 | 4908 | // image_generate task created off the direct-reply path. |
4909 | | -requesterOrigin: { channel: "telegram", accountId: "bot-1" }, |
4910 | | -requesterSessionOrigin: { channel: "telegram", accountId: "bot-1" }, |
4911 | | -completionDirectOrigin: { channel: "telegram", accountId: "bot-1" }, |
4912 | | -directOrigin: { channel: "telegram", accountId: "bot-1" }, |
| 4909 | +requesterOrigin: { channel: "telegram" }, |
| 4910 | +requesterSessionOrigin: { channel: "telegram" }, |
| 4911 | +completionDirectOrigin: { channel: "telegram" }, |
| 4912 | +directOrigin: { channel: "telegram" }, |
4913 | 4913 | requesterIsSubagent: false, |
4914 | 4914 | expectsCompletionMessage: true, |
4915 | 4915 | bestEffortDeliver: true, |
|