Skip to main content
← Back to list
01Issue
BugShippedSwamp CLIPublic
Assigneeshammz

Relationships

#2735 Telemetry bridge attributes a parent run's later method invocations to its nested child run

Opened by hammz · 9/29/2026· Shipped 9/30/2026

Summary

The libswamp telemetry bridge (src/libswamp/workflows/telemetry_bridge.ts, observe) sets workflowName and runId from every started event in the stream. A workflow step that runs a nested workflow forwards the child's started event into the parent's stream. So after a nested step starts, every method invocation the bridge records, including ones from the parent's later steps, is attributed to the child's workflow name and run id.

Context

Found while fixing swamp-club#2470. Nested started events now carry parentRunId, so the bridge can tell them apart. The fix needs a decision on attribution: record child steps under the child run (the bridge would need a per-run stack), or record everything under the top-level run.

Steps to reproduce

  1. Workflow child with one model_method step. Workflow parent with a workflow step running child, followed by a model_method step.
  2. Run parent with telemetry enabled.
  3. The parent's second step invocation is reported with the child's workflowName and runId.
02Bog Flow
✓OPEN✓TRIAGED✓IN PROGRESS✓SHIPPED+ 1 MOREASSIGNED+ 5 MOREREVIEW+ 9 MOREPR_MERGED+ 2 MORESESSION_SUMMARIZED

Shipped

9/30/2026, 5:21:39 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
hammz assigned hammz9/30/2026, 3:35:25 PM

Sign in to post a ripple.