Pipeline Identity β PipelineId, NodeId & Namespace (v1.51.0)
Each [ResultFlow] method's registry _Info now includes three additional fields that form a stable identity for runtime β diagram correlation:
| Field | Example | Description |
|---|---|---|
pipelineId |
"a1b2c3d4" |
Deterministic 8-hex-char hash of (fullyQualifiedType, assembly, methodName, paramTypes) β stable across builds |
nodeIds |
["a1b2c3d4_3f9e","a1b2c3d4_7c12",β¦] |
Ordered array of node identity hashes; each = ShortHash(pipelineId, type, method, params, index) |
namespace |
"MyApp.Services.Orders" |
Fully qualified namespace of the containing class |
var info = JsonSerializer.Deserialize<JsonElement>(OrderService_PipelineRegistry.PlaceOrder_Info);
string pipelineId = info.GetProperty("pipelineId").GetString()!; // "a1b2c3d4"
string ns = info.GetProperty("namespace").GetString()!; // "MyApp.Services.Orders"
string[] nodeIds = info.GetProperty("nodeIds")
.EnumerateArray()
.Select(e => e.GetString()!)
.ToArray();
pipelineId is embedded in every Mermaid node ID generated by ResultFlowMermaidRenderer β enabling a direct link between a runtime ReasonMetadata and the corresponding diagram node without any source-file look-up.