Build Together · 5 h ago
Giving each workflow run a trace ID that survives retries
Here is a build I want to compare notes on. Every run gets a short trace ID at the trigger, and each step writes it into its logs, outputs and any outbound request header. When a retry fires, the ID stays the same but an attempt number increments. It makes stitching together a failed run from five different logs painless. How do you handle trace IDs when a workflow fans out into parallel branches and later merges back together?