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): trigger the shell summary refresh with a lifecycle acti… · pingdotgg/t3code@c5ce425

File tree

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

‎apps/server/src/orchestration/Layers/ProjectionPipeline.test.ts‎

Copy file name to clipboardExpand all lines: apps/server/src/orchestration/Layers/ProjectionPipeline.test.ts
+16-25Lines changed: 16 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2422,44 +2422,35 @@ it.layer(BaseTestLayer)("OrchestrationProjectionPipeline", (it) => {
24222422
json_object('requestId', 'user-input-active'),
24232423
NULL,
24242424
'2026-02-26T12:35:07.000Z'
2425-
),
2426-
(
2427-
'activity-user-input-active-failed',
2428-
'thread-stale-user-input',
2429-
NULL,
2430-
'error',
2431-
'provider.user-input.respond.failed',
2432-
'Provider user input response failed',
2433-
json_object(
2434-
'requestId',
2435-
'user-input-active',
2436-
'detail',
2437-
'Provider is temporarily unavailable'
2438-
),
2439-
NULL,
2440-
'2026-02-26T12:35:08.000Z'
24412425
)
24422426
`;
24432427

2428+
// A user-input lifecycle activity is one of the events that still
2429+
// refreshes the shell summary, so it forces the read under test.
24442430
yield* appendAndProject({
2445-
type: "thread.message-sent",
2431+
type: "thread.activity-appended",
24462432
eventId: EventId.make("evt-stale-user-input-3"),
24472433
aggregateKind: "thread",
24482434
aggregateId: ThreadId.make("thread-stale-user-input"),
2449-
occurredAt: "2026-02-26T12:35:09.000Z",
2435+
occurredAt: "2026-02-26T12:35:08.000Z",
24502436
commandId: CommandId.make("cmd-stale-user-input-3"),
24512437
causationEventId: null,
24522438
correlationId: CorrelationId.make("cmd-stale-user-input-3"),
24532439
metadata: {},
24542440
payload: {
24552441
threadId: ThreadId.make("thread-stale-user-input"),
2456-
messageId: MessageId.make("message-stale-user-input"),
2457-
role: "user",
2458-
text: "Continue",
2459-
turnId: null,
2460-
streaming: false,
2461-
createdAt: "2026-02-26T12:35:09.000Z",
2462-
updatedAt: "2026-02-26T12:35:09.000Z",
2442+
activity: {
2443+
id: EventId.make("activity-user-input-active-failed"),
2444+
tone: "error",
2445+
kind: "provider.user-input.respond.failed",
2446+
summary: "Provider user input response failed",
2447+
payload: {
2448+
requestId: "user-input-active",
2449+
detail: "Provider is temporarily unavailable",
2450+
},
2451+
turnId: null,
2452+
createdAt: "2026-02-26T12:35:08.000Z",
2453+
},
24632454
},
24642455
});
24652456

Collapse file

‎apps/server/src/orchestration/Layers/ProjectionPipeline.ts‎

Copy file name to clipboardExpand all lines: apps/server/src/orchestration/Layers/ProjectionPipeline.ts
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -893,10 +893,6 @@ const makeOrchestrationProjectionPipeline = Effect.fn("makeOrchestrationProjecti
893893
return;
894894
}
895895

896-
// Message events cannot change any derived summary field except
897-
// latestUserMessageAt, which is a monotonic maximum that folds in
898-
// directly — the full refresh would re-read every message, plan,
899-
// activity, and approval on each streaming assistant delta.
900896
// A message cannot change any summary field except latestUserMessageAt,
901897
// which is a monotonic maximum that folds in directly. The full refresh
902898
// would re-read every message body in the thread per user message.

0 commit comments

Comments
0 (0)
You are visitor 01402792 — 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.