Skip to content

AIRA-43: Incident Manager Core ServiceΒ #66

@learn-design-develop

Description

@learn-design-develop

πŸ‘€ User Story

As the core system, I need an incident manager to orchestrate webhook processing, deduplication, state management, and persistence.

🎯 Rationale

Single-worker orchestrator for Phase 1.

βœ… Acceptance Criteria

  • IncidentManager methods: create_incident(), update_incident(), get_incident_by_id(), get_incidents_by_status()
  • Use SQLAlchemy session with rollback and retry on transient errors
  • Invoke DedupService and StateMachine
  • JSON logging (component, incident_id, duration_ms, status, correlation_id)
  • Handle DB failures, Redis timeouts, unexpected exceptions
  • Unit & integration tests

πŸ“‹ Metadata

  • Status: MVP

  • Category: Core Workflow

  • Week: Week 4

  • Complexity: Medium

  • Critical Path: Yes

  • Dependencies: AIRA-40, AIRA-41


Original Ticket: #43
Phase 1 MVP Tracking Issue

Metadata

Metadata

Labels

core-logicBusiness logic implementationcritical-pathBlocking other ticketsmvpPhase 1 MVP scope

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions