Skip to content

refactor: do not store events/attributes/objects in sql, use opensearch#239

Merged
righel merged 38 commits intomainfrom
do-not-store-events-sql
Mar 31, 2026
Merged

refactor: do not store events/attributes/objects in sql, use opensearch#239
righel merged 38 commits intomainfrom
do-not-store-events-sql

Conversation

@righel
Copy link
Copy Markdown
Collaborator

@righel righel commented Mar 25, 2026

this is a breaking change.
do not store events, objects, attributes, attribute tags, event tags, object references in sql. use opensearch only.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 25, 2026

Codecov Report

❌ Patch coverage is 71.50206% with 277 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.28%. Comparing base (8d0dd53) to head (086198c).
⚠️ Report is 39 commits behind head on main.

Files with missing lines Patch % Lines
api/app/repositories/objects.py 60.66% 83 Missing ⚠️
api/app/worker/tasks.py 15.38% 66 Missing ⚠️
api/app/repositories/events.py 86.09% 26 Missing ⚠️
api/app/repositories/attributes.py 79.76% 17 Missing ⚠️
api/app/repositories/notifications.py 14.28% 12 Missing ⚠️
api/app/repositories/tags.py 76.92% 12 Missing ⚠️
api/app/schemas/object_reference.py 50.00% 10 Missing ⚠️
api/app/repositories/feeds.py 0.00% 9 Missing ⚠️
api/app/repositories/object_references.py 62.50% 9 Missing ⚠️
api/app/schemas/attribute.py 43.75% 9 Missing ⚠️
... and 8 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #239      +/-   ##
==========================================
+ Coverage   74.32%   75.28%   +0.96%     
==========================================
  Files         145      142       -3     
  Lines       10246    10114     -132     
==========================================
- Hits         7615     7614       -1     
+ Misses       2631     2500     -131     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@righel righel marked this pull request as ready for review March 31, 2026 06:20
righel and others added 11 commits March 31, 2026 08:20
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
@righel righel merged commit 98df1fd into main Mar 31, 2026
5 of 6 checks passed
@righel righel linked an issue Mar 31, 2026 that may be closed by this pull request
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.

[refactor] do not store event and attributes in PostgreSQL

1 participant