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

Function invalidRunRecoveryTransition

internal/task/manager.go:1501–1509  ·  view source on GitHub ↗
(run Run, previousStatus RunStatus, action RunBootRecoveryAction)

Source from the content-addressed store, hash-verified

1499}
1500
1501func invalidRunRecoveryTransition(run Run, previousStatus RunStatus, action RunBootRecoveryAction) error {
1502 return fmt.Errorf(
1503 "%w: task run %q cannot recover from %q via %q",
1504 ErrInvalidStatusTransition,
1505 run.ID,
1506 previousStatus,
1507 action,
1508 )
1509}
1510
1511func (m *Service) recordRecoveredRun(
1512 ctx context.Context,

Callers 2

recoverRunByRequeueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected