Cover checkCompletions, checkInbox, syncRepos, loop, Poke, Start/Shutdown, New, initSyncTimestamp, and agentStatusResource. Mock HTTP endpoints with httptest, use t.TempDir for workspace scanning, and create fake status.json files for completions. Also fix dispatch.go build error (removed unsupported RunOptions fields: KillGroup, Timeout, GracePeriod). Coverage: 23.2% → 86.5% Co-Authored-By: Virgil <virgil@lethean.io> |
||
|---|---|---|
| .. | ||
| harvest.go | ||
| harvest_test.go | ||
| monitor.go | ||
| monitor_test.go | ||
| sync.go | ||