Skip to content

RP-18: Persist correlated incidents in Elasticsearch#14

Merged
b17saurabh merged 1 commit into
mainfrom
RP-18/persist-correlated-incidents-in-elasticsearch
Jun 14, 2026
Merged

RP-18: Persist correlated incidents in Elasticsearch#14
b17saurabh merged 1 commit into
mainfrom
RP-18/persist-correlated-incidents-in-elasticsearch

Conversation

@b17saurabh

Copy link
Copy Markdown
Contributor

feat: persist correlated incidents in Elasticsearch (RP-18)

  • Add IncidentStore ABC with IncidentFilter, IncidentSortField, IncidentSortOrder models
  • Add incident_index_strategy with rp-inc-{yyyy.MM.dd} naming, strict mapping, ILM policy
  • Add ElasticsearchIncidentStore adapter with nullable auth (username/password)
  • Wire exports into infrastructure/elasticsearch/init.py
  • Add 40 tests covering index naming, templates, doc building, query building, config, lifecycle, and all CRUD operations
  • All ruff, mypy, and pytest checks pass

- Add IncidentStore ABC with IncidentFilter, IncidentSortField, IncidentSortOrder models
- Add incident_index_strategy with rp-inc-{yyyy.MM.dd} naming, strict mapping, ILM policy
- Add ElasticsearchIncidentStore adapter with nullable auth (username/password)
- Wire exports into infrastructure/elasticsearch/__init__.py
- Add 40 tests covering index naming, templates, doc building, query building, config, lifecycle, and all CRUD operations
- All ruff, mypy, and pytest checks pass
@b17saurabh b17saurabh merged commit 1ab9520 into main Jun 14, 2026
8 checks passed
@b17saurabh b17saurabh deleted the RP-18/persist-correlated-incidents-in-elasticsearch branch June 14, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant