< Summary

Information
Class: NexusLabs.Needlr.AgentFramework.Progress.ReducerNodeInvokedEvent
Assembly: NexusLabs.Needlr.AgentFramework
File(s): /home/runner/work/needlr/needlr/src/NexusLabs.Needlr.AgentFramework/Progress/ReducerNodeInvokedEvent.cs
Line coverage
100%
Covered lines: 12
Uncovered lines: 0
Coverable lines: 12
Total lines: 25
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%
get_Timestamp()100%11100%
get_WorkflowId()100%11100%
get_AgentId()100%11100%
get_ParentAgentId()100%11100%
get_Depth()100%11100%
get_SequenceNumber()100%11100%
get_NodeId()100%11100%
get_GraphName()100%11100%
get_BranchId()100%11100%
get_InputBranchCount()100%11100%
get_Duration()100%11100%

File(s)

/home/runner/work/needlr/needlr/src/NexusLabs.Needlr.AgentFramework/Progress/ReducerNodeInvokedEvent.cs

#LineLine coverage
 1namespace NexusLabs.Needlr.AgentFramework.Progress;
 2
 3/// <summary>
 4/// A reducer node in a DAG workflow was invoked. Reducer nodes are deterministic
 5/// functions (no LLM calls) that aggregate branch outputs during fan-in convergence.
 6/// </summary>
 7/// <remarks>
 8/// <para>
 9/// This event is distinct from <see cref="AgentInvokedEvent"/> because reducer nodes
 10/// do not carry LLM-specific metadata (token usage, model, etc.). Consumers that
 11/// only care about agent turns can safely ignore this event type.
 12/// </para>
 13/// </remarks>
 414public sealed record ReducerNodeInvokedEvent(
 115    DateTimeOffset Timestamp,
 116    string WorkflowId,
 117    string? AgentId,
 118    string? ParentAgentId,
 119    int Depth,
 120    long SequenceNumber,
 121    string NodeId,
 222    string? GraphName,
 223    string? BranchId,
 324    int InputBranchCount,
 525    TimeSpan Duration) : IProgressEvent;