footprintjs - v11.2.0
    Preparing search index...

    Class ControlDepRecorder

    Stateful accumulator that watches FlowRecorder events and answers "which decision allowed this stage to run?" Attach via executor.attachCombinedRecorder(recorder) (or attachFlowRecorder).

    Implements

    Index
    id: string
    • Resolve the NEAREST governing decision for an execution step: walks the runtime ancestor chain (the step itself first) until it hits a registered branch entry. undefined when the step is not downstream of any recorded decision.

      Parameters

      • runtimeStageId: string

      Returns ControlDependency | undefined

    • A branch that throws never fires onStageExecuted — without this hook its pending slot would leak and the post-fan-out convergence stage (whose context also chains to the selector) would be misattributed as a branch entry under best-effort (failFast: false) fan-outs.

      Parameters

      Returns void

    • Current-run control evidence for the native snapshot. Project only the stage identities collected during traversal; never walk the execution tree. Parentless roots cannot have a governing control edge.

      Returns {
          capture?: { control: "captured" | "partial"; runId: string; version: 1 };
          data: {
              controlDeps: { [k: string]: ControlDependency };
              decisions: ControlDecisionRecord[];
          };
          name: string;
      }