Skip to content

[backend] fix non-idempotent operation during concurrent stream sync (#15207)#15582

Draft
OctaveLaventure wants to merge 1 commit intomasterfrom
issue/15207-stream-deduplication
Draft

[backend] fix non-idempotent operation during concurrent stream sync (#15207)#15582
OctaveLaventure wants to merge 1 commit intomasterfrom
issue/15207-stream-deduplication

Conversation

@OctaveLaventure
Copy link
Copy Markdown
Contributor

@OctaveLaventure OctaveLaventure commented Apr 20, 2026

Proposed changes

  • prevent relation duplication with parallel workers on ADD operations

Related issues

Checklist

  • I consider the submitted work as finished
  • I tested the code for its functionality
  • I wrote test cases for the relevant uses case (coverage and e2e)
  • I added/update the relevant documentation (either on github or on notion)
  • Where necessary I refactored code to improve the overall quality

Further comments

@OctaveLaventure OctaveLaventure self-assigned this Apr 20, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 26.11%. Comparing base (8dd5e6c) to head (312deef).
⚠️ Report is 23 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #15582      +/-   ##
==========================================
- Coverage   33.52%   26.11%   -7.42%     
==========================================
  Files        3167     3190      +23     
  Lines      214695   217696    +3001     
  Branches    39431    37264    -2167     
==========================================
- Hits        71978    56847   -15131     
- Misses     142717   160849   +18132     
Flag Coverage Δ
opencti-client-python 45.60% <ø> (ø)
opencti-front 3.03% <ø> (+0.09%) ⬆️
opencti-graphql 52.73% <100.00%> (-17.09%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@OctaveLaventure OctaveLaventure added the filigran team use to identify PR from the Filigran team label Apr 20, 2026
@OctaveLaventure OctaveLaventure linked an issue Apr 20, 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

filigran team use to identify PR from the Filigran team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ensure reports rel_object.internal_id are deduplicated

1 participant