Repository navigation
chore(release): pull release/v1.160.0 into main - #5687
Conversation
🔒 Scanned for secrets using gitleaks 8.28.0
🔒 Scanned for secrets using gitleaks 8.28.0
🔒 Scanned for secrets using gitleaks 8.28.0
🔒 Scanned for secrets using gitleaks 8.28.0
🔒 Scanned for secrets using gitleaks 8.28.0
🔒 Scanned for secrets using gitleaks 8.28.0
🔒 Scanned for secrets using gitleaks 8.28.0
…o-date tickets (#5677) ## What are the changes introduced in this PR? Two changes to the Integration Version Audit workflow: 1. **Fix:** remove `.claude/settings.json` (and `.claude/settings.local.json`) before `cursor-agent` runs, so its Claude Code hook stops blocking the agent's shell commands. 2. **Slack notification:** after every run, post the result to #integration-dev, with the parent (master) Linear ticket link when the run succeeds. The agent is now asked to print a `MASTER_TICKET_URL: <url>` line. Its output is tee'd to a file and the URL is read from there. If the agent step fails or no URL is printed, a failure message is posted instead. `set -o pipefail` keeps the `cursor-agent` exit code intact through `tee`. 3. **No tickets for up-to-date integrations:** the audit plan treated any integration with a sunset date as action required. That gave tickets to integrations already on the latest version, such as the five Facebook Graph v25.0 ones and Criteo `2026-07`. Now action is required only when a newer version exists, the version gap is greater than 2, or the code still defaults to a deprecated endpoint. The Slack message also CCs @integrations-eng. The Slack step reuses the existing `SLACK_BOT_TOKEN` and `SLACK_INTEGRATION_DEV_CHANNEL_ID` secrets and the same pinned `slackapi/slack-github-action` that `slack-notify.yml` uses. ## What is the related Linear task? N/A ## Please explain the objectives of your changes below Cursor loads Claude Code hooks from `.claude/settings.json` (its third-party hooks compatibility, on by default). It maps our `PreToolUse` / `Bash` lint-staged hook to every shell command, and it ignores the Claude Code–only `"if": "Bash(git commit*)"` filter. The hook prints plain text instead of JSON, so Cursor blocks every command. As a result, the audit has not been able to call the Linear API, and no tickets were created or updated. The job still reports success. Failed runs: - https://github.com/rudderlabs/rudder-transformer/actions/runs/38687439560 (2026-10-15) - https://github.com/rudderlabs/rudder-transformer/actions/runs/33490198919 (2026-09-01) Both logs report: `Hook "npx lint-staged..." returned invalid JSON. The command was blocked for safety.` Reference: https://cursor.com/docs/reference/third-party-hooks ### Any changes to existing capabilities/behaviour, mention the reason & what are the changes ? The settings file is removed only on the CI runner. Local Claude Code users keep the hook. The audit now posts a message to #integration-dev on every run. ### 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? The hook fix was verified with a dispatch run of this branch: https://github.com/rudderlabs/rudder-transformer/actions/runs/38691782956. That run created master [INT-7380](https://linear.app/rudderstack/issue/INT-7380/integration-version-audit-rudder-transformer-15102026), 21 subtickets, and 1 update. The Slack notification commits have not run in CI yet. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
🔒 Scanned for secrets using gitleaks 8.28.0
👑 *An automated PR*
🔒 Scanned for secrets using gitleaks 8.28.0
🔒 Scanned for secrets using gitleaks 8.28.0
🔒 Scanned for secrets using gitleaks 8.28.0
🔒 Scanned for secrets using gitleaks 8.28.0 ## What are the changes introduced in this PR? Adds the HubSpot Audience destination so warehouse / audience rows can add and remove contacts on an existing HubSpot list. Membership sync only — not contact create/update like classic HubSpot. Covers transform, batching, delivery response handling, and tests (unit, component, live scaffolding). ## What is the related Linear task? Resolves [ACT2-1015](https://linear.app/rudderstack/issue/ACT2-1015/hubspot-native-integration-on-lookout) ## Please explain the objectives of your changes below Transformer piece of HubSpot Audience v1 (Splashtop first). Customers sync a warehouse table, SQL model, or audience into a MANUAL/SNAPSHOT HubSpot contact list. Lookout is a second way to configure the same destination later — not a separate HubSpot path. **Depends on / ships with:** - Catalog: [rudder-integrations-config#2798](rudderlabs/rudder-integrations-config#2798) (hidden behind `AMP_enable-hs-audience-destination`) - Setup APIs / list picker: [rudder-integrations-info#784](rudderlabs/rudder-integrations-info#784) - Spec: [rudder-specs#204](rudderlabs/rudder-specs#204) - Fleet: proxy + `Router.HS_AUDIENCE` batch settings (operator/devops — out of this PR) - Webapp form and Lookout adapter come later in the ACT2-1015 ship order ### Any changes to existing capabilities/behaviour, mention the reason & what are the changes ? N/A for product behavior. Small network-adapter tweak so proxy delivery can attach the bearer token without putting it on persisted router output (live events stay token-free). ### Any new dependencies introduced with this change? N/A ### Any new generic utility introduced or modified. Please explain the changes. N/A — destination-local helpers only. Built on the existing DestinationIntegration batching / delivery framework. ### Any technical or performance related pointers to consider with the change? - Email rows need a HubSpot contact batch-read before membership; failures are isolated per credential / chunk so one bad lookup doesn’t sink the whole batch. - Add and remove are separate requests (≤1000 ids each). Proxy delivery is required for auth. - Live membership scenario is in-repo but not yet run against a sandbox portal in this change. <hr> ### Developer checklist - [x] My code follows the style guidelines of this project - [x] **No breaking changes are being introduced.** - [x] All related docs linked with the PR? - [ ] 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.
|
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❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #5687 +/- ##
==========================================
+ Coverage 92.12% 92.15% +0.03%
==========================================
Files 713 719 +6
Lines 39600 39967 +367
Branches 9277 9358 +81
==========================================
+ Hits 36481 36833 +352
- Misses 2854 2869 +15
Partials 265 265 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|



👑 An automated PR