Skip to content

[BUG] TaskMaster AI Errors Crash Main System #49

@DonHugo

Description

@DonHugo

Bug Description

Errors in TaskMaster AI component can crash the entire system.

Current Behavior:

  • TaskMaster exceptions propagate to main system
  • No error isolation
  • System goes down completely

Expected Behavior:

  • TaskMaster errors isolated
  • Main system continues operating
  • Errors logged and reported
  • Graceful degradation

Impact: High - Full system outage

Required Actions:

  • Isolate TaskMaster in try/catch blocks
  • Add error boundaries
  • Implement fallback behavior (disable TaskMaster if failing)
  • Test error scenarios
  • Add TaskMaster health monitoring

Acceptance Criteria:

  • TaskMaster errors don't crash main system
  • Errors properly logged with context
  • System continues operating without TaskMaster
  • User notified of degradation via MQTT
  • Automatic recovery attempts with backoff

Test Scenarios:

  • TaskMaster API timeout
  • TaskMaster returns invalid data
  • TaskMaster process crash

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions