GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test(server): assert a background-wake follow-up delivers its final m… · pingdotgg/t3code@9ca66bb

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps/server/src/orchestration-v2
    • DelegatedCompletionDelivery.test.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/server/src/orchestration-v2/DelegatedCompletionDelivery.test.ts‎

Copy file name to clipboardExpand all lines: apps/server/src/orchestration-v2/DelegatedCompletionDelivery.test.ts
+22Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1487,6 +1487,27 @@ it.layer(Layer.merge(layerTest, ProviderContinuationRequests.layer))(
14871487
yield* eventSink.write({
14881488
commandId: reconcileCommandId("background-wake-finished"),
14891489
events: [
1490+
{
1491+
id: EventId.make("event:background-wake-result"),
1492+
type: "message.updated",
1493+
threadId: child.childThreadId,
1494+
runId: run.id,
1495+
occurredAt: now,
1496+
payload: {
1497+
id: MessageId.make("message:background-wake-result"),
1498+
threadId: child.childThreadId,
1499+
runId: run.id,
1500+
nodeId: null,
1501+
role: "assistant",
1502+
text: "The background command finished cleanly.",
1503+
attachments: [],
1504+
streaming: false,
1505+
createdBy: "agent",
1506+
creationSource: "server",
1507+
createdAt: now,
1508+
updatedAt: now,
1509+
},
1510+
},
14901511
{
14911512
id: EventId.make("event:background-wake-finished"),
14921513
type: "run.updated",
@@ -1502,6 +1523,7 @@ it.layer(Layer.merge(layerTest, ProviderContinuationRequests.layer))(
15021523
(task) => task.id === run.delegatedTaskId,
15031524
)!;
15041525
assert.equal(followup.status, "completed");
1526+
assert.equal(followup.result, "The background command finished cleanly.");
15051527
assert.equal(followup.completionDelivery?.state, "claimed");
15061528
let wake = yield* requests.take;
15071529
while (

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.