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

Function latestRunActivityAt

internal/task/manager.go:4069–4077  ·  view source on GitHub ↗
(run Run)

Source from the content-addressed store, hash-verified

4067}
4068
4069func latestRunActivityAt(run Run) time.Time {
4070 latest := run.QueuedAt
4071 for _, candidate := range []time.Time{run.ClaimedAt, run.StartedAt, run.EndedAt} {
4072 if candidate.After(latest) {
4073 latest = candidate
4074 }
4075 }
4076 return latest
4077}
4078
4079func normalizeOwnership(owner *Ownership) *Ownership {
4080 if owner == nil {

Callers 2

prefersActiveRunFunction · 0.85
latestTaskActivityAtFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected