Repository navigation
feat(pushwoosh): add pushwoosh destination definition - #2809
Conversation
|
Thank you @shaders for contributing this PR. |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
There was a problem hiding this comment.
🟡 Changes recommended
The required transformer release remains unspecified and unrolled, risking exposure of a nonfunctional destination.
1 open finding
What changed in this PR
Adds a beta, cloud-mode Pushwoosh destination supporting identify and track events.
Changes:
- Defines Pushwoosh credentials, source compatibility, and routing.
- Adds form-builder configuration and generated validation schema.
- Adds destination validation fixtures.
| File | Description |
|---|---|
src/configurations/destinations/pushwoosh/db-config.json |
Registers the destination and capabilities. |
src/configurations/destinations/pushwoosh/ui-config.json |
Defines credential and consent forms. |
src/configurations/destinations/pushwoosh/schema.json |
Validates destination configuration. |
test/data/validation/destinations/pushwoosh.json |
Covers valid and invalid configurations. |
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2809 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 133 133
Branches 26 26
=========================================
Hits 133 133 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Router-only batching-framework destination: track batches to post-events (100 per request), identify sends user tags via setTags. ## What are the changes introduced in this PR? New PUSHWOOSH destination on the batching framework (router transform only, no processor): - track → Pushwoosh events endpoint, batched up to 100 events per request; properties become event attributes. - identify → Pushwoosh setTags by userId; traits become user tags (identity/PII traits like email, phone, name, address are excluded). - userId is required (Pushwoosh matches users by User ID); missing userId/event name → InstrumentationError. - Delivery handler maps Pushwoosh error responses; a 400 from a malformed event in a batch is retried unbatched. ## What is the related Linear task? N/A — partner contribution from Pushwoosh (no Linear task on our side). ## Please explain the objectives of your changes below Gives Pushwoosh customers a native RudderStack destination instead of a Webhook + custom transformation. **Dependent change:** destination definition in rudderlabs/rudder-integrations-config#2809. The secret-paths CI check here will pass once that PR is on main. ### 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? Endpoints currently point to Pushwoosh's EU region; other regions will follow in a separate PR. <hr> ### Developer checklist - [x] My code follows the style guidelines of this project - [x] **No breaking changes are being introduced.** - [ ] All related docs linked with the PR? - [x] All changes manually tested? - [x] Any documentation changes needed with this change? - [ ] Is the PR limited to 10 file changes? - [x] Is the PR limited to one linear task? - [x] 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. --------- Co-authored-by: bebop <[email protected]>

What are the changes introduced in this PR?
Adds a new cloud-mode destination definition for Pushwoosh (customer engagement platform: push, in-app, email, SMS). Config fields: Application Code and API Token (secret). Supported message types: track, identify. Marked as beta.
What is the related Linear task?
N/A — partner contribution from Pushwoosh (no Linear task on our side).
Please explain the objectives of your changes below
Pushwoosh customers who route events through RudderStack need a native destination instead of a Webhook + custom transformation. The transformer part is in rudderlabs/rudder-transformer#5645.
Runtime dependency
Runtime dependency:
rudderlabs/rudder-transformer#5645, released invX.Y.Z, rolled out ☐Note: the transformer PR's secret-paths CI check reads PUSHWOOSH from this repo's main, so the two PRs depend on each other. We're happy to follow whichever merge order you prefer.
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 checks got introduced or modified in test suites. Please explain the changes.
N/A — added validation test data for the new destination only.
Developer checklist
Reviewer checklist