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

Function failAutonomyRunRecord

src/utils/autonomyRuns.ts:299–310  ·  view source on GitHub ↗
(
  run: AutonomyRunRecord,
  error: string,
  nowMs: number,
)

Source from the content-addressed store, hash-verified

297}
298
299function failAutonomyRunRecord(
300 run: AutonomyRunRecord,
301 error: string,
302 nowMs: number,
303): AutonomyRunRecord {
304 return {
305 ...run,
306 status: 'failed',
307 endedAt: nowMs,
308 error,
309 }
310}
311
312function recoverStaleActiveAutonomyRun(
313 run: AutonomyRunRecord,

Callers 2

markAutonomyRunFailedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected