Snider
|
2d58145e65
|
test(monitor): add unit tests for completions, inbox, lifecycle
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>
|
2026-03-22 00:45:43 +00:00 |
|