MCPcopy Create free account
hub / github.com/compozy/agh / failRunRecord

Method failRunRecord

internal/task/manager.go:3392–3402  ·  view source on GitHub ↗
(
	ctx context.Context,
	taskRecord Task,
	run Run,
	failure RunFailure,
	actor ActorContext,
)

Source from the content-addressed store, hash-verified

3390}
3391
3392func (m *Service) failRunRecord(
3393 ctx context.Context,
3394 taskRecord Task,
3395 run Run,
3396 failure RunFailure,
3397 actor ActorContext,
3398) (*Run, error) {
3399 return m.failRunRecordWithOptions(ctx, taskRecord, run, failure, actor, failRunRecordOptions{
3400 stopTerminalSession: true,
3401 })
3402}
3403
3404func (m *Service) failRunRecordWithOptions(
3405 ctx context.Context,

Callers 2

FailRunMethod · 0.95

Calls 1

Tested by

no test coverage detected