Skip to content

fix: stop propagating entire error in networkError - #4679

Merged
ItsSudip merged 3 commits into
hotfix/25thSep2025from
fix/errorObjCreation
Sep 25, 2025
Merged

ItsSudip merged 3 commits into
hotfix/25thSep2025from
fix/errorObjCreation

Conversation

@ItsSudip

Copy link
Copy Markdown
Member

What are the changes introduced in this PR?

  1. Simplified Error Message Format:
    The error messages in Zendesk destination tests were changed from complex nested JSON structures to cleaner, more readable formats.
  2. Removed Redundant Nesting:
    The previous format had circular references where destinationResponse contained the entire error object again, creating bloated and confusing error messages.
  3. Updated Test Expectations:
    Both processor and router test data files were updated to reflect the new error message format.

What is the related Linear task?

Resolves INT-4180

Please explain the objectives of your changes below

Put down any required details on the broader aspect of your changes. If there are any dependent changes, mandatorily mention them here

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?

N/A

@coderabbitai review


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?

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

@ItsSudip
ItsSudip requested review from a team and sivashanmukh as code owners September 25, 2025 06:35
@ItsSudip
ItsSudip requested review from a team, chandumlg and krishna2020 and removed request for a team September 25, 2025 06:35
@coderabbitai

coderabbitai Bot commented Sep 25, 2025

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

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.

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

✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/errorObjCreation

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@devops-github-rudderstack

Copy link
Copy Markdown
Contributor

Allure Test reports for this run are available at:

@codecov

codecov Bot commented Sep 25, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.78%. Comparing base (2a5b355) to head (d7054e9).
⚠️ Report is 1 commits behind head on hotfix/25thSep2025.

Additional details and impacted files
@@                  Coverage Diff                   @@
##           hotfix/25thSep2025    #4679      +/-   ##
======================================================
- Coverage               91.78%   91.78%   -0.01%     
======================================================
  Files                     642      642              
  Lines                   33976    33973       -3     
  Branches                 8034     8043       +9     
======================================================
- Hits                    31186    31183       -3     
+ Misses                   2560     2538      -22     
- Partials                  230      252      +22     

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

@devops-github-rudderstack

Copy link
Copy Markdown
Contributor

Allure Test reports for this run are available at:

@ItsSudip
ItsSudip merged commit f05a41c into hotfix/25thSep2025 Sep 25, 2025
@ItsSudip
ItsSudip deleted the fix/errorObjCreation branch September 25, 2025 07:27
@devops-github-rudderstack

Copy link
Copy Markdown
Contributor

Allure Test reports for this run are available at:

@sonarqubecloud

Copy link
Copy Markdown

ItsSudip added a commit that referenced this pull request Sep 26, 2025
* fix: stop propagating entire error in networkError (#4679)

* chore(release): 1.108.2

* chore: fix sonar issue

---------

Co-authored-by: GitHub Actions <[email protected]>
Co-authored-by: Krishna Chaitanya <[email protected]>
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.

3 participants