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

Method failRunAfterSessionStartError

internal/task/manager.go:1328–1336  ·  view source on GitHub ↗
(
	ctx context.Context,
	taskRecord Task,
	run Run,
	actor ActorContext,
	message string,
)

Source from the content-addressed store, hash-verified

1326}
1327
1328func (m *Service) failRunAfterSessionStartError(
1329 ctx context.Context,
1330 taskRecord Task,
1331 run Run,
1332 actor ActorContext,
1333 message string,
1334) (*Run, error) {
1335 return m.failRunRecord(ctx, taskRecord, run, RunFailure{Error: message}, actor)
1336}
1337
1338func validateRunningSessionBinding(run Run) error {
1339 if strings.TrimSpace(run.SessionID) == "" {

Callers 1

startRunSessionMethod · 0.95

Calls 1

failRunRecordMethod · 0.95

Tested by

no test coverage detected