Repository navigation
fix: google sheets metadata maintenance - #4463
Conversation
Summary by CodeRabbit
WalkthroughThe Changes
Sequence Diagram(s)sequenceDiagram
participant InputEvents
participant processRouterDest
participant SuccessResponses
participant ErrorResponses
InputEvents->>processRouterDest: Provide input events
loop For each event
processRouterDest->>processRouterDest: Process event
alt Success
processRouterDest->>SuccessResponses: Add event and metadata
else Error
processRouterDest->>ErrorResponses: Add error response
end
end
alt Any successes
processRouterDest->>SuccessResponses: Batch and attach metadata
end
processRouterDest->>InputEvents: Return [SuccessResponses, ErrorResponses]
Suggested reviewers
Suggestions for improvement: 📜 Recent review detailsConfiguration used: .coderabbit.yaml ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (1)`**/*.js`: Focus on ESLint errors (max 3) and warnings (max 5).
⚙️ Source: CodeRabbit Configuration File List of files the instruction was applied to:
🧠 Learnings (2)📓 Common learningssrc/v0/destinations/googlesheets/transform.js (4)⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
🔇 Additional comments (3)
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed 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)
Other keywords and placeholders
Documentation and Community
|
|
Allure Test reports for this run are available at:
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #4463 +/- ##
===========================================
+ Coverage 91.24% 91.25% +0.01%
===========================================
Files 639 639
Lines 33658 33664 +6
Branches 7938 7946 +8
===========================================
+ Hits 30710 30720 +10
+ Misses 2712 2708 -4
Partials 236 236 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|



What are the changes introduced in this PR?
The Google Sheets destination's processRouterDest function was producing duplicate outputs when processing failed events, resulting in both an empty success response and an error response for the same input event.
This caused:
Root Cause Analysis Primary Issues Identified:
What is the related Linear task?
Resolves INT-3755
Please explain the objectives of your changes below
In response to this alert caused by googlesheets behaviour
Any changes to existing capabilities/behaviour, mention the reason & what are the changes ?
Yes, response of googlesheets destination is changed.
Any new dependencies introduced with this change?
No
Any new generic utility introduced or modified. Please explain the changes.
No
Any technical or performance related pointers to consider with the change?
No
@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.