Skip to content

Commit 0fadabd

Browse files
kraptor23claude
andcommitted
fix(server): treat task.updated as session activity and log touch failures as error tags
Review feedback: Codex background tasks transition through task.updated without necessarily emitting task.progress, so include it in the activity set; log the normalized causeErrorTag instead of the raw cause, matching the runStopAll finalizer. Co-Authored-By: Claude Fable 5 <[email protected]>
1 parent 80ea4c5 commit 0fadabd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/server/src/provider/Layers/ProviderService.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ export const SESSION_ACTIVITY_EVENT_TYPES: ReadonlySet<ProviderRuntimeEvent["typ
186186
"turn.aborted",
187187
"task.started",
188188
"task.progress",
189+
"task.updated",
189190
"task.completed",
190191
]);
191192

@@ -324,7 +325,7 @@ const makeProviderService = Effect.fn("makeProviderService")(function* (
324325
Effect.logWarning("provider.session.activity-touch-failed", {
325326
threadId: event.threadId,
326327
eventType: event.type,
327-
cause,
328+
errorTag: causeErrorTag(cause),
328329
}),
329330
),
330331
);

0 commit comments

Comments
 (0)