SonarQube issue entity deletions are not currently handled via live events when they are no longer present in new scans. Webhook delivery succeeds, but stale issues continue to persist until the scheduled resync reconciliation phase, leading to inaccurate data for a period of time.
Suggested Improvement:
To ensure accurate and near real-time synchronization, during live events updates:
  • Issues from the previous scan should be marked for deletion (deleted_raw_results)
  • Issues from the current scan should be marked for update (updated_raw_results)
  • Ocean should handle both accordingly during processing (upsert + deletion)
Created by Anna Persico
·