Skip to content

Commit f1118b4

Browse files
committed
docs(server): correct the runtime event delivery comment
1 parent e44509e commit f1118b4

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -876,9 +876,8 @@ const make = Effect.gen(function* () {
876876

877877
// When ProviderRuntimeIngestion creates a placeholder checkpoint (status "missing")
878878
// from a turn.diff.updated runtime event, capture the real git checkpoint to
879-
// replace it. The providerService.streamEvents PubSub does not reliably deliver
880-
// turn.completed runtime events to this reactor (shared subscription), so
881-
// reacting to the domain event is the reliable path.
879+
// replace it. ProviderService broadcasts runtime events to each subscriber.
880+
// This domain-event path also captures checkpoints from turn diff updates.
882881
if (event.type === "thread.turn-diff-completed") {
883882
yield* captureCheckpointFromPlaceholder(event).pipe(
884883
Effect.catch((error) =>

0 commit comments

Comments
 (0)