Repository navigation
fix: remove hubspot system defined field from payload - #4193
Conversation
WalkthroughThe changes primarily introduce the Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant ProcessIdentify
participant TraitsHandler
participant JSONTransformer
participant SystemFieldRemover
Client->>ProcessIdentify: Initiate identify process
ProcessIdentify->>TraitsHandler: Populate traits
TraitsHandler-->>ProcessIdentify: Return traits
ProcessIdentify->>SystemFieldRemover: Remove system fields from traits
SystemFieldRemover-->>ProcessIdentify: Cleaned traits
ProcessIdentify->>JSONTransformer: Transform properties
JSONTransformer-->>ProcessIdentify: Return raw properties
ProcessIdentify->>SystemFieldRemover: Remove system fields from properties
SystemFieldRemover-->>ProcessIdentify: Cleaned properties
ProcessIdentify-->>Client: Return processed data
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (5)
🔇 Additional comments (4)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Allure Test reports for this run are available at:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #4193 +/- ##
========================================
Coverage 91.05% 91.06%
========================================
Files 635 635
Lines 33152 33159 +7
Branches 7829 7825 -4
========================================
+ Hits 30188 30195 +7
- Misses 2716 2747 +31
+ Partials 248 217 -31 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Allure Test reports for this run are available at:
|
|
Allure Test reports for this run are available at:
|
|



What are the changes introduced in this PR?
In this pr, we are removing
hs_object_idfrom identify the event.hs_object_idis readOnly field that can be used as lookupField but not as payload for destinationWhat is the related Linear task?
Resolves INT-3408
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.
Summary by CodeRabbit
New Features
Refactor
Tests