MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / syncFailedManagedFlowForRun

Function syncFailedManagedFlowForRun

src/utils/autonomyRuns.ts:319–332  ·  view source on GitHub ↗
(
  run: AutonomyRunRecord,
  rootDir: string,
)

Source from the content-addressed store, hash-verified

317}
318
319async function syncFailedManagedFlowForRun(
320 run: AutonomyRunRecord,
321 rootDir: string,
322): Promise<void> {
323 if (run.parentFlowId && run.parentFlowSyncMode === 'managed') {
324 await markManagedAutonomyFlowStepFailed({
325 flowId: run.parentFlowId,
326 runId: run.runId,
327 error: run.error ?? 'Autonomy run failed.',
328 rootDir,
329 nowMs: run.endedAt,
330 })
331 }
332}
333
334function matchesActiveAutonomyRunSource(
335 run: AutonomyRunRecord,

Callers 2

createAutonomyRunCoreFunction · 0.85
markAutonomyRunFailedFunction · 0.85

Calls 1

Tested by

no test coverage detected