Repository navigation
refactor(live-tests): use shared integrations-lib helpers - #5634
maheshkutty merged 2 commits into
Conversation
|
👋 I'm rudder-devbox. I opened this PR from a Linear ticket. Mention |
|
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 |
|
The Braze live job failed because I aligned both Braze prerequisite-profile polls with the existing read-back policy: 9 attempts with capped exponential backoff, covering roughly 79 seconds while staying within the 120-second step timeout. TypeScript, Prettier, and the retained live-harness tests (20/20) pass. The fix is pushed in a466498. |
|
Knowledge distillation completed |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #5634 +/- ##
========================================
Coverage 93.33% 93.33%
========================================
Files 703 703
Lines 38759 38759
Branches 9015 9073 +58
========================================
Hits 36174 36174
+ Misses 2400 2381 -19
- Partials 185 204 +19 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|



What are the changes introduced in this PR?
@rudderstack/integrations-libto^0.2.78.build/live-testexports for spec discovery, secret resolution, polling/retry, OAuth refresh, and rudder-auth container management.What is the related Linear task?
Resolves RUD-3225
Please explain the objectives of your changes below
This consolidates generic live-test behavior in
@rudderstack/integrations-libwhile keeping transformer-owned pipeline and scenario contracts local. It reduces duplicated maintenance and makes unknown destination selections fail clearly during discovery.Any changes to existing capabilities/behaviour, mention the reason & what are the changes ?
Existing enabled live specs continue to execute through the same transform and proxy pipeline. Unknown destination filters now fail immediately with a clear
no live-test spec found forerror instead of silently producing an empty suite.Any new dependencies introduced with this change?
No new dependency was introduced.
@rudderstack/integrations-libwas upgraded from^0.2.77to^0.2.78; the existing[email protected]satisfies its optional peer dependency.Any new generic utility introduced or modified. Please explain the changes.
Added transformer-specific
requiredSecretFieldandrequiredResourceIdwrappers over the library’s genericrequireLiveField. Generic helper implementations previously maintained in the transformer were deleted.Any technical or performance related pointers to consider with the change?
The live runner imports helpers from the documented
@rudderstack/integrations-lib/build/live-testentry point. OAuth token payloads remain merged wholesale to preserve integration-specific token field names.Validation
npm run lint— passednpx tsc --noEmit -p tsconfig.test.json— passednode .github/scripts/live-test-matrix.js— passed; generated 11 destinationsno live-test spec found forDeveloper checklist
Reviewer checklist