From 5f9b23ca6c0e1eabc0d5a85874e5c451992417c3 Mon Sep 17 00:00:00 2001 From: jbiskur Date: Thu, 23 Apr 2026 22:01:23 +0100 Subject: [PATCH] feat(data-pathways): add optional sourceId to SendPumpPulseCommand MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Threads source identity through the pump-pulse contract so callers can distinguish pulses from different sources on the same pathway+flowType. The server (data-pathways control-plane) already accepts this field in its Zod schema; without it, all pulses land on a single NULL-sourceId row per flowType and shadow any non-null siblings. Additive-only — no body-shape change for existing callers. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/commands/data-pathways/pump-pulse.send.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/data-pathways/pump-pulse.send.ts b/src/commands/data-pathways/pump-pulse.send.ts index d3a7194..1e3fc8b 100644 --- a/src/commands/data-pathways/pump-pulse.send.ts +++ b/src/commands/data-pathways/pump-pulse.send.ts @@ -4,6 +4,7 @@ import { type DataPathwayPumpPulseResponse, DataPathwayPumpPulseResponseSchema } export interface SendPumpPulseInput { pathwayId: string + sourceId?: string flowType: string timeBucket: string eventId: string | null