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

Function requeuedTestRun

internal/task/manager_test.go:1652–1666  ·  view source on GitHub ↗
(run Run)

Source from the content-addressed store, hash-verified

1650}
1651
1652func requeuedTestRun(run Run) Run {
1653 run.Status = TaskRunStatusQueued
1654 run.ClaimedBy = nil
1655 run.SessionID = ""
1656 run.ClaimToken = ""
1657 run.ClaimTokenHash = ""
1658 run.LeaseUntil = time.Time{}
1659 run.HeartbeatAt = time.Time{}
1660 run.ClaimedAt = time.Time{}
1661 run.StartedAt = time.Time{}
1662 run.EndedAt = time.Time{}
1663 run.Error = ""
1664 run.Result = nil
1665 return run
1666}
1667
1668func (s *inMemoryManagerStore) ReserveQueuedRun(
1669 _ context.Context,

Callers 4

ReleaseRunLeaseMethod · 0.85
ForceReleaseTaskRunMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected