Story: Add CI smoke test to catch API mismatches #109

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

Epic: #101

Description

Both #97 (run_loop_sync) and the telegram call_extension bug were API mismatches that went undetected because there was no test that simply imported and verified key interfaces exist. A smoke test that imports every plugin and checks critical method signatures would catch these instantly.

Acceptance Criteria

  • tests/test_smoke.py exists
  • Test imports every plugin module without errors
  • Test verifies all plugins can be instantiated with mock config
  • Test verifies BasePlugin subclass methods exist (no stale references)
  • Test verifies CLI entry points resolve correctly (catches #97-style bugs)
  • Runs in CI as part of the default test suite
  • ruff check cobot/ passes
**Epic:** #101 ## Description Both #97 (`run_loop_sync`) and the telegram `call_extension` bug were API mismatches that went undetected because there was no test that simply imported and verified key interfaces exist. A smoke test that imports every plugin and checks critical method signatures would catch these instantly. ## Acceptance Criteria - [ ] `tests/test_smoke.py` exists - [ ] Test imports every plugin module without errors - [ ] Test verifies all plugins can be instantiated with mock config - [ ] Test verifies `BasePlugin` subclass methods exist (no stale references) - [ ] Test verifies CLI entry points resolve correctly (catches #97-style bugs) - [ ] Runs in CI as part of the default test suite - [ ] `ruff check cobot/` passes
k9ert closed this issue 2026-02-26 16:18:43 +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#109
No description provided.