Story: Add tests for cron, heartbeat, subagent plugins #106

Closed
opened 2026-02-26 14:48:56 +00:00 by doxios · 0 comments
Collaborator

Epic: #101

Description

These three scheduled/automation plugins have no dedicated plugin tests. Note: test_scheduled.py has some tests but they are currently failing (Story #1). This story adds proper plugin-level tests.

Acceptance Criteria

  • cobot/plugins/cron/tests/test_plugin.py exists with tests for job scheduling, execution, and error handling
  • cobot/plugins/heartbeat/tests/test_plugin.py exists with tests for heartbeat timing, disabled state, and cron integration
  • cobot/plugins/subagent/tests/test_plugin.py exists with tests for spawn, concurrency limits, and cleanup
  • All new tests pass
  • ruff check cobot/ passes
**Epic:** #101 ## Description These three scheduled/automation plugins have no dedicated plugin tests. Note: `test_scheduled.py` has some tests but they are currently failing (Story #1). This story adds proper plugin-level tests. ## Acceptance Criteria - [ ] `cobot/plugins/cron/tests/test_plugin.py` exists with tests for job scheduling, execution, and error handling - [ ] `cobot/plugins/heartbeat/tests/test_plugin.py` exists with tests for heartbeat timing, disabled state, and cron integration - [ ] `cobot/plugins/subagent/tests/test_plugin.py` exists with tests for spawn, concurrency limits, and cleanup - [ ] All new tests pass - [ ] `ruff check cobot/` passes
k9ert closed this issue 2026-02-26 16:04:39 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ultanio/cobot#106
No description provided.