agent/pkg/monitor
Snider 456430e85b 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-21 13:39:25 +00:00
..
harvest.go feat(agent): wire channel notifications into monitor 2026-03-21 12:56:24 +00:00
harvest_test.go test(monitor): add harvest and channel notification tests 2026-03-21 13:21:23 +00:00
monitor.go feat(agent): wire channel notifications into monitor 2026-03-21 12:56:24 +00:00
monitor_test.go test(monitor): add unit tests for completions, inbox, lifecycle 2026-03-21 13:39:25 +00:00
sync.go refactor: flatten go/ subdir, migrate to dappco.re/go/agent, restore process service 2026-03-21 11:10:44 +00:00