Repository navigation
feat(gainsight_px_audience): add Gainsight PX Audience destination - #5669
Conversation
…UT /users/update per row ACT2-1014. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…njection in prepareRequest ACT2-1014. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…egenerate secret paths ACT2-1014. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #5669 +/- ##
===========================================
+ Coverage 92.11% 92.12% +0.01%
===========================================
Files 708 713 +5
Lines 39529 39590 +61
Branches 9264 9278 +14
===========================================
+ Hits 36412 36473 +61
Misses 2852 2852
Partials 265 265 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Review panel — GAINSIGHT_PX_AUDIENCE (ACT2-1014), all five PRsThe panel ran five independent review lenses (security, correctness, product, ops, coherence) over all five PRs together, so the cross-repo contracts were checked too. I also ran live tests against the Gainsight PX US sandbox. Verdict: Approve with follow-ups. Nothing blocking. Every should-fix and the cheap nits are fixed on these branches, with commits listed below. Each fix had an independent scoped re-review, and both re-reviews approved. Live checks (PX sandbox, US)
Tests and mutation testing (correctness lens)
Findings and how each was resolved
Checks that passed
CI and release order
Limits
|
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@shekhar-rudder could you re-approve? Your approval was dismissed when d9e7dec landed. That commit addresses your last two comments: apiKey validation moved into the input schema, and the parked live scenario is removed. No other changes since you approved. |
|
Marking ready. The only red check is |
…ey header in transform Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-batch scenarios Co-Authored-By: Claude Opus 5.5 <[email protected]>
…op parked live scenario Co-Authored-By: Claude Opus 5.5 <[email protected]>
d9e7dec to
2e7fca8
Compare
|



What
GAINSIGHT_PX_AUDIENCEDestinationIntegration: onePUT /v1/users/updateper row (ID in the body, never the URL),{ customAttributes: { <attr>: true|false } }; no lookup, never creates users.X-APTRINSIC-API-KEYis set by the router transform fromdestination.Config.apiKey(trimmed; the input schema rejects a blank or whitespace-only key as a configuration error), the same way braze_audience sets its auth header. NoprepareRequest.secretPaths(regenerated):GAINSIGHT_PX_AUDIENCE: ["headers.X-APTRINSIC-API-KEY"], so Live Events masks it.false= success (leaving a user PX doesn't know), 404 ontrue= abort with PX's message (replays next run). Everything else uses the framework's default classification (429 throttled, 5xx retry, other 4xx abort).failureReasonreturns PX's own message: the joinedexternalapierror.subErrors[].message, else the top-levelmessage, elseGainsight PX request failed with status <n>.transformerProxystays on infeatures.tsbecause the 404 override only runs on the proxy delivery path.features.ts:routerTransform,batching,transformerProxy. Component fixtures + live spec.check:secret-pathsturns green once the integrations-config PR is onmain.Context
Part of Gainsight PX Audience (ACT2-1014): a new
GAINSIGHT_PX_AUDIENCErETL destination that keeps a Boolean custom user attribute in Gainsight PX in sync with an audience (mirror:truewhile in,falseafter leaving; never creates PX users), configurable from the webapp and Lookout. Spec and plan: rudder-specs#216.Verification
Verified end to end on mini against the Gainsight PX sandbox (US): verification page · narrated happy-path video. Every mini-runnable acceptance case passes; two defects found during verification were fixed: DEFECT-1 was re-verified live in the Lookout UI, and DEFECT-2 (the setup-refusal message) is covered by unit tests. A five-lens review panel then ran over all five PRs; its findings are fixed and re-reviewed (see the panel comment). Draft until the release gates below are met. Merge order: integrations-config#2823 → rudder-icons sync/release → integrations-info#793 + transformer#5669 (live CI secret
LIVE_SECRET_GAINSIGHT_PX_AUDIENCEadded to the CI Vault) → webapp#10262 → Lookout#945 after its icons bump. Enable the catalog flag for a workspace before its Lookout flag, and land the operator router/throttler values before the catalog flag goes on.Release order (spec §8)
integrations-config → integrations-info + transformer (+ operator router/throttler values) → webapp → Lookout (after the Lookout Flagsmith flag exists in every environment). Catalog flag
enable-gainsight-px-audience-destinationcreated off first.🤖 Generated with Claude Code