Skip to content

chore(release): pull release/v1.160.0 into main - #5687

Merged
chandumlg merged 23 commits into
mainfrom
release/v1.160.0
Oct 16, 2026
Merged

chandumlg merged 23 commits into
mainfrom
release/v1.160.0

Conversation

@rudderstack-github-actions

Copy link
Copy Markdown
Contributor

👑 An automated PR

ASaiAnudeep and others added 23 commits October 7, 2026 20:37
🔒 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
🔒 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.
@rudderstack-github-actions
rudderstack-github-actions Bot requested review from a team as code owners October 16, 2026 15:09
@coderabbitai

coderabbitai Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ba345fc4-9757-493e-8863-3aae878a37d8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 16, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.91281% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.15%. Comparing base (a1c41b7) to head (2762b8d).

Files with missing lines Patch % Lines
src/v0/destinations/hs_audience/routerTransform.ts 90.75% 11 Missing ⚠️
src/v0/destinations/hs_audience/lookup.ts 97.95% 2 Missing ⚠️
src/v0/destinations/hs_audience/utils.ts 97.61% 2 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud

Copy link
Copy Markdown

@chandumlg
chandumlg merged commit 52b5252 into main Oct 16, 2026
48 checks passed
@chandumlg
chandumlg deleted the release/v1.160.0 branch October 16, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants