Repository navigation
fix(intercom): abort archived contact conflicts - #5678
maheshkutty merged 1 commit into
Conversation
|
👋 I'm rudder-devbox. I opened this PR from a Linear ticket. Mention |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #5678 +/- ##
========================================
Coverage 92.12% 92.12%
========================================
Files 713 713
Lines 39591 39594 +3
Branches 9276 9277 +1
========================================
+ Hits 36474 36477 +3
Misses 2852 2852
Partials 265 265 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|



What are the changes introduced in this PR?
Narrow Intercom's retryable
/contacts409 handling so archived-contact conflicts preserve status 409 and are terminated by the router. Add deterministic v0 and v1 data-delivery coverage for the archived variant while preserving the existing transient conflict tests.What is the related Linear task?
Resolves RUD-3345
Please explain the objectives of your changes below
Prevent permanent archived-contact conflicts from retrying for the full router retry window or entering the event-order barrier. Non-archived conflicts remain retryable because they can result from Intercom's eventually consistent contact search index.
Any changes to existing capabilities/behaviour, mention the reason & what are the changes ?
Archived-contact
POST /contactsconflicts now fall through as status 409 without retryable stat tags. Other contact conflicts remain status 500/retryable, and all other response handling is unchanged.Any new dependencies introduced with this change?
N/A
Any new generic utility introduced or modified. Please explain the changes.
N/A
Any technical or performance related pointers to consider with the change?
Detection depends on Intercom including the word
archivedin an error message. Matching is case-insensitive and scans all error entries to tolerate minor wording and envelope variations.Validation:
npm run lint— passednpm test -- --testPathPattern="intercom" --no-coverage— passed (1 suite, 54 tests)npm run test:ts -- component --destination=intercom— passed (1 suite, 70 tests; archived and ordinary v0/v1 conflict scenarios passed)npm run generate:secret-pathswith integrations-config — passed; no manifest changeDeveloper checklist
My code follows the style guidelines of this project
No breaking changes are being introduced.
All related docs linked with the PR?
All changes manually tested?
Any documentation changes needed with this change?
Is the PR limited to 10 file changes?
Is the PR limited to one linear task?
Are relevant unit and component test-cases added in new readability format?
Reviewer checklist
Is the type of change in the PR title appropriate as per the changes?
Verified that there are no credentials or confidential data exposed with the changes.