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

Function taskSessionMatchesRecordedSubprocess

internal/daemon/task_runtime.go:821–829  ·  view source on GitHub ↗
(liveness *store.SessionLivenessMeta)

Source from the content-addressed store, hash-verified

819}
820
821func taskSessionMatchesRecordedSubprocess(liveness *store.SessionLivenessMeta) bool {
822 if liveness == nil || liveness.SubprocessPID <= 0 {
823 return false
824 }
825 if liveness.SubprocessStartedAt == nil || liveness.SubprocessStartedAt.IsZero() {
826 return false
827 }
828 return procutil.MatchesStartTime(liveness.SubprocessPID, *liveness.SubprocessStartedAt)
829}
830
831func firstTaskRecoveryDetail(values ...string) string {
832 for _, value := range values {

Callers 2

Calls 2

MatchesStartTimeFunction · 0.92
IsZeroMethod · 0.45

Tested by 1