MCPcopy Index your code
hub / github.com/simstudioai/sim / isGroupEligible

Function isGroupEligible

apps/sim/lib/table/workflow-columns.ts:123–130  ·  view source on GitHub ↗
(
  group: WorkflowGroup,
  row: TableRow,
  opts?: { isManualRun?: boolean; mode?: 'all' | 'incomplete' }
)

Source from the content-addressed store, hash-verified

121}
122
123export function isGroupEligible(
124 group: WorkflowGroup,
125 row: TableRow,
126 opts?: { isManualRun?: boolean; mode?: 'all' | 'incomplete' }
127): boolean {
128 const reason = classifyEligibility(group, row, opts)
129 return reason === 'eligible' || reason === 'manual-bypass'
130}
131
132/** Walks a row's workflow groups (in `workflowGroups` order) and returns the
133 * first one whose deps are met and that isn't already in-flight under a

Callers 1

Calls 1

classifyEligibilityFunction · 0.85

Tested by

no test coverage detected