Skip to content

test: widen intercom live search wait for slow indexing - #5800

Merged
maheshkutty merged 1 commit into
developfrom
test/intercom-live-search-wait
Nov 19, 2026
Merged

maheshkutty merged 1 commit into
developfrom
test/intercom-live-search-wait

Conversation

@maheshkutty

Copy link
Copy Markdown
Contributor

What are the changes introduced in this PR?

The Intercom live test's setup steps wait until the transform's compound contact search can find a newly created contact. The wait was 45 × 4s (~3 min), and Intercom occasionally takes longer to index, failing intercom-v2-identify-update on unrelated PRs (e.g. run 43918191050 on #5790).

  • Poll attempts: 45 → 75 (~5 min)
  • Setup step timeout: 240000 → 360000 ms via SEARCH_WAIT_TIMEOUT_MS, applied to both setup steps that use waitForTransformSearch

What is the related Linear task?

N/A

Please explain the objectives of your changes below

Reduce flakiness in live (intercom) caused by Intercom search-index lag. Test-only change.

Any changes to existing capabilities/behaviour, mention the reason & what are the changes ?

N/A

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?

A slow run takes up to ~2 min longer; the live job's 30-min timeout still has room.


Developer 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?

🤖 Generated with Claude Code

Intercom's compound contact search occasionally takes over 3 minutes to
index a new contact, failing the setup step. Poll ~5 min and raise the
setup step timeout to match.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

🔒 Scanned for secrets using gitleaks 8.30.1
@maheshkutty
maheshkutty requested review from a team as code owners November 17, 2026 07:55
@coderabbitai

coderabbitai Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5b61ce43-dd29-4087-b80e-5f136bbbc28a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Nov 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.49%. Comparing base (667a77d) to head (6a7a666).
⚠️ Report is 3 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #5800   +/-   ##
========================================
  Coverage    92.49%   92.49%           
========================================
  Files          742      742           
  Lines        41350    41350           
  Branches      9652     9735   +83     
========================================
  Hits         38246    38246           
+ Misses        2921     2843   -78     
- Partials       183      261   +78     

☔ View full report in Codecov by Harness.
📢 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.

@maheshkutty
maheshkutty merged commit 2bd4721 into develop Nov 19, 2026
52 of 53 checks passed
@maheshkutty
maheshkutty deleted the test/intercom-live-search-wait branch November 19, 2026 04:44
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.

2 participants