Skip to content

chore: remove zoho_dev destination - #4426

Merged
ItsSudip merged 1 commit into
developfrom
chore/removeZoho_dev
Jun 24, 2025
Merged

ItsSudip merged 1 commit into
developfrom
chore/removeZoho_dev

Conversation

@ItsSudip

@ItsSudip ItsSudip commented Jun 23, 2025 •

Copy link
Copy Markdown
Member

This PR removes all code, configuration, and references related to the zoho_dev destination from the codebase.


Related Linear Task

  • Resolves: INT-3856

Motivation & Context

  • The zoho_dev destination is no longer required or supported.
  • This cleanup helps reduce maintenance overhead and potential confusion for developers and users.

Changes Introduced

  • Deleted all source code, test files, and configuration related to zoho_dev.
  • Removed zoho_dev from destination canonical names and any feature flags or service registration.
  • Cleaned up any documentation or comments referencing zoho_dev.

Impact & Considerations

  • No breaking changes to existing destinations or platform behavior.
  • No new dependencies introduced.
  • No changes to existing generic utilities.
  • No technical or performance impact expected.

Checklist

  • Code follows project style guidelines.
  • No breaking changes introduced.
  • All related documentation updated or removed as needed.
  • All changes manually tested.
  • PR limited to 10 file changes and a single Linear task.
  • Relevant unit and component test-cases updated or removed.

Reviewer Notes

  • Please verify that all references to zoho_dev have been removed.
  • Confirm that no credentials or confidential data are exposed in this PR.
  • Ensure the PR title accurately reflects the type of change.

@ItsSudip
ItsSudip requested review from a team and sivashanmukh as code owners June 23, 2025 11:21
@ItsSudip
ItsSudip requested review from a team, koladilip and sandeepdsvs June 23, 2025 11:21
@coderabbitai

coderabbitai Bot commented Jun 23, 2025 •

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Chores
    • Removed support for the legacy "zoho_dev" mapping and related feature flag.
    • Cleaned up internal configuration and mappings for destination handling.

Walkthrough

The changes remove the DestHandleMapForCDKV2 mapping from the codebase, eliminating all related import statements and logic that previously mapped destination names. The internal logic of affected functions and methods now directly uses the provided destination names. Additionally, the ZOHO_DEV feature flag is removed from the feature configuration.

Changes

Files/Paths Change Summary
src/constants/destinationCanonicalNames.js Removed DestHandleMapForCDKV2 constant and its export.
src/cdk/v2/utils.ts, src/services/destination/nativeIntegration.ts Removed import and usage of DestHandleMapForCDKV2; logic now uses destination names directly.
src/features.ts Removed ZOHO_DEV from the routerTransform feature flag configuration.

Suggested reviewers

  • sivashanmukh
  • krishna2020
  • koladilip

Suggestions for improvement:
Ensure that all references to the removed mapping and feature flag are fully cleaned up across documentation and tests. Consider verifying that the direct use of destination names does not affect backward compatibility or introduce edge cases in destination handling.

✨ Finishing Touches
  • 📝 Generate Docstrings

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
src/cdk/v2/utils.ts (1)

39-39: Consider addressing the TODO comment.

The TODO comment mentions resolving the CDK v2 destination directory. Since you're making changes to destination handling logic, this might be a good opportunity to address this technical debt.

Would you like me to help investigate what needs to be resolved for the CDK v2 destination directory, or should this be tracked as a separate task?

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7c94a94 and 798f651.

⛔ Files ignored due to path filters (5)
  • test/integrations/destinations/zoho/dataDelivery/data.ts is excluded by !**/test/**
  • test/integrations/destinations/zoho/dataDelivery/zoho_dev.ts is excluded by !**/test/**
  • test/integrations/destinations/zoho_dev/dataDelivery/data.ts is excluded by !**/test/**
  • test/integrations/destinations/zoho_dev/network.ts is excluded by !**/test/**
  • test/integrations/destinations/zoho_dev/router/data.ts is excluded by !**/test/**
📒 Files selected for processing (4)
  • src/cdk/v2/utils.ts (1 hunks)
  • src/constants/destinationCanonicalNames.js (1 hunks)
  • src/features.ts (0 hunks)
  • src/services/destination/nativeIntegration.ts (1 hunks)
💤 Files with no reviewable changes (1)
  • src/features.ts
🧰 Additional context used
📓 Path-based instructions (1)
`**/*.js`: Focus on ESLint errors (max 3) and warnings (max 5).

**/*.js: Focus on ESLint errors (max 3) and warnings (max 5).

  • src/constants/destinationCanonicalNames.js
⏰ Context from checks skipped due to timeout of 90000ms (10)
  • GitHub Check: Build User Transformer Docker Image - PR / Build Transformer Docker Image AMD64
  • GitHub Check: Build Transformer Docker Image - PR / Build Transformer Docker Image ARM64
  • GitHub Check: Build Transformer Docker Image - PR / Build Transformer Docker Image AMD64
  • GitHub Check: Code Coverage
  • GitHub Check: UT Tests
  • GitHub Check: check-health
  • GitHub Check: test_and_publish
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: Analyze (go)
  • GitHub Check: Analyze (actions)
🔇 Additional comments (3)
src/constants/destinationCanonicalNames.js (1)

193-193: LGTM - Export statement correctly updated.

The removal of DestHandleMapForCDKV2 from the exports aligns with the PR objective to eliminate zoho_dev destination mappings.

Let's verify that no references to the removed constant remain in the codebase:

#!/bin/bash
# Description: Search for any remaining references to DestHandleMapForCDKV2
# Expect: No occurrences should be found

echo "Searching for DestHandleMapForCDKV2 references..."
rg "DestHandleMapForCDKV2" --type js --type ts

echo "Searching for zoho_dev references..."
rg "zoho_dev" --type js --type ts
src/services/destination/nativeIntegration.ts (1)

189-189: Good simplification - direct assignment removes unnecessary mapping layer.

The change to directly assign destinationType to originalDestName simplifies the logic and is consistent with the removal of DestHandleMapForCDKV2 from the constants file.

src/cdk/v2/utils.ts (1)

40-40: Consistent with mapping removal - direct assignment maintains simplicity.

The direct assignment of destName to originalDestName aligns with the removal of destination name mapping throughout the codebase.

@devops-github-rudderstack

Copy link
Copy Markdown
Contributor

Allure Test reports for this run are available at:

@codecov

codecov Bot commented Jun 23, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.14%. Comparing base (ab20435) to head (798f651).
Report is 47 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #4426      +/-   ##
===========================================
- Coverage    91.14%   91.14%   -0.01%     
===========================================
  Files          638      638              
  Lines        33478    33475       -3     
  Branches      7902     7896       -6     
===========================================
- Hits         30513    30510       -3     
- Misses        2696     2726      +30     
+ Partials       269      239      -30     

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

@sonarqubecloud

Copy link
Copy Markdown

@ItsSudip
ItsSudip merged commit fa7e9d9 into develop Jun 24, 2025
@ItsSudip
ItsSudip deleted the chore/removeZoho_dev branch June 24, 2025 05:45
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.

4 participants