Skip to content

feat(http): add native v2 JSONata request shaping - #5739

Merged
shekhar-rudder merged 16 commits into
developfrom
harness/INT-7453-feat-http-add-native-v2-jsonata-370626df
Oct 29, 2026
Merged

shekhar-rudder merged 16 commits into
developfrom
harness/INT-7453-feat-http-add-native-v2-jsonata-370626df

Conversation

@rudder-devbox

@rudder-devbox rudder-devbox Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

What are the changes introduced in this PR?

Add native HTTP v2 request-field and JSONata body-template transformation, template validation, preview support, and router/component regression coverage.

What is the related Linear task?

Resolves INT-7453

Please explain the objectives of your changes below

HTTP v2 evaluates fields per event, groups matching requests, and evaluates body templates per bounded chunk. The v2 router fixture exercises the native path. Companion config, server, migration, UI, and version-aware transformer-proxy advertisement require cross-repository coordination.

Any changes to existing capabilities/behaviour, mention the reason & what are the changes ?

HTTP v1 retains CDK routing. The shared Custom Audience parser now also accepts the HTTP events collection and nested relative mappings; existing Custom Audience tests remain green.

Any new dependencies introduced with this change?

None.

Any new generic utility introduced or modified. Please explain the changes.

Added a shared HTTP request-field expression helper for runtime evaluation and parse-template validation; extended the existing sandboxed template parser.

Any technical or performance related pointers to consider with the change?

Compiled scalar fields evaluate sequentially to avoid JSONata state mixing. Batches are capped at 5,000; body-template errors apply to the group, while scalar/path errors remain per-event.

Validation

  • Local integration check: bash scripts/e2e-mini.sh e2e/tests/connections.spec.ts --grep 'should render the connections page correctly|should show source and destination counts' --workers=1 exited 0 (2 passed, 1 skipped). npx jest src/components/destinations/destination-view/configurationV2/formComponents/httpRequestBuilder.test.tsx --runInBand --watchAll=false --coverage=false exited 0 (6 passed). The combined HTTP v2 verify/preview path was blocked: config-backend returned a new-route 400 for malformed input but 500 for a valid $$.events template because the pinned stock transformer returned 404 for /test-router/http/parse-template. No HTTP v2 form or delivery pass is claimed.
    Passed npm run lint, npm run build:ci, npx tsc -p tsconfig.test.json --noEmit, six affected unit suites (113 tests), HTTP component suite (18 tests, including v1), Custom Audience component suite (14 tests), and destination-scoped HTTP secret-path regeneration (derived headers, unchanged). git diff --check passed. Code-simplify fixed duplicate mapping conversion, a redundant body JSON parse, and a stale sandbox comment.

⚠️ Known Issues

The full specification is VPN-only and was unavailable. The companion integrations-config checkout now defines HTTP v2 at the root, with v1 archived; reconcile final auth/config/verification contracts and coordinate version-aware transformer-proxy advertisement before rollout. The local mini stack uses a pinned stock transformer that returns HTTP 404 for the new parse route, so the combined verify/preview path remains unverified. No baseline quality-gate failure was observed.


Developer checklist

  • My code follows the style guidelines of this project
  • No breaking changes are being introduced.
  • All related docs linked with the PR?
  • All changes manually tested?
  • Any documentation changes needed with this change?
  • Is the PR limited to 10 file changes?
  • Is the PR limited to one linear task?
  • 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.

⚠️ Auto-review unresolved

Adversarial self-review surfaced findings that were not auto-fixed. Each carries its disposition — please evaluate before merging.

  • high: Migrated indexed request-field paths fail in v2 — src/v0/destinations/http/requestFields.ts:10 — not auto-fixed (iteration budget exhausted)
  • high: HTTP v2 delivery lacks a coordinated proxy capability — src/constants/destinationIntegrationsMap.ts:55 — not auto-fixed (iteration budget exhausted)
  • medium: Verify accepts request-field names that the router rejects — src/controllers/eventTest.ts:135 — not auto-fixed (iteration budget exhausted)
  • medium: Single-quoted v2 request-field literals lose their apostrophes — src/v0/destinations/http/requestFields.ts:4 — not auto-fixed (iteration budget exhausted)
  • medium: Batch-stage errors bypass failed-job filtering — src/services/destination/destinationIntegration/processDestinationIntegration.ts:293 — not auto-fixed (iteration budget exhausted)
  • medium: HTTP evaluation cannot be sized independently of the Custom Audience sandbox — src/v0/destinations/custom_audience/template/templateSandboxClient.ts:108 — not auto-fixed (iteration budget exhausted)
  • medium: Unbounded whole-group sandbox calls risk losing per-event failure isolation — src/v0/destinations/http/routerTransform.ts:165 — not auto-fixed (iteration budget exhausted)
  • low: Unused single-event transform silently omits request fields — src/v0/destinations/http/routerTransform.ts:108 — not auto-fixed (iteration budget exhausted)

🔭 Live preview

Resumable while this task is open.

@coderabbitai

coderabbitai Bot commented Oct 27, 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
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0a52769c-b6d3-44ff-b204-a12e54bd1630

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.

@rudder-devbox

rudder-devbox Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

👋 I'm rudder-devbox. I opened this PR from task INT-7453.

Mention @devbox or @rudder-devbox and I'll act on it — on a top-level PR comment,
in a review summary, or on an inline comment on the diff. Without a mention I won't see it.

@codecov

codecov Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.81818% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.42%. Comparing base (0cf9dd7) to head (da00bd4).
⚠️ Report is 7 commits behind head on develop.

Files with missing lines Patch % Lines
src/util/jsonataTemplate/templateEngine.ts 87.50% 3 Missing and 1 partial ⚠️
src/services/eventTest/eventTester.ts 66.66% 1 Missing ⚠️
src/v0/destinations/http/routerTransform.ts 97.95% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #5739      +/-   ##
===========================================
+ Coverage    92.40%   92.42%   +0.02%     
===========================================
  Files          737      741       +4     
  Lines        40859    41048     +189     
  Branches      9587     9636      +49     
===========================================
+ Hits         37754    37938     +184     
- Misses        2844     2848       +4     
- Partials       261      262       +1     

☔ 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.

shekhar-rudder and others added 9 commits October 27, 2026 19:07
- Make the unreachable HttpIntegration.transformEvent fail loudly instead
  of building a request with no evaluated headers/params/path.
- Skip the request-field isolate call when no headers, query params or
  path params are configured.
- Share one TransformError builder across the three error sites.
- Drop redundant null/undefined checks in makeEndpoint.
- Revert the unused collection parameter on parseTemplateInSandbox /
  sandboxedParseTemplate and the EvaluateResult widening plus cast-back.
- Name the HTTP collection and the sandbox error-message helper once.
- Reuse one zod schema for header/query mappings in parse-template.
- Pass the already-normalised destination version in eventTester.
- Renumber processDestinationIntegration step comments.

Refs INT-7453

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The relative-collection wrap rule rejected templates such as
{ "data": [$$.records.{ "items": products.{ "sku": sku } }] } that validate
on develop, so existing Custom Activation templates would fail Verify on
edit. Drop the rule for both collections; root iteration must still be
wrapped.

INT-7453

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
INT-7453

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Fold the HTTP version check into shouldUseCdkV2 instead of a separate
HTTP branch in ServiceSelector.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
- Enable HTTP via features.ts (batching, proxy off) instead of a hardcoded
  HTTP branch in isDestinationIntegrationEnabled; v1 is already routed to
  CDK by shouldUseCdkV2.
- Move the JSONata template engine to src/util/jsonataTemplate and make
  parseTemplate's collection argument mandatory.
- Give HTTP its own sandbox bundle, client and isolate pool under
  src/v0/destinations/http; revert custom_audience sandbox files.
- Drop length limits from the HTTP parse-template request schema.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
- Compile each HTTP template once via a new compileTemplate engine helper;
  evaluate sequentially since a compiled JSONata expression is not reentrant.
- Let the base transformEvents own per-event error mapping (shared
  toTransformError, which keeps authErrorCategory); parse config once.
- Fix preview key casing in destinationKeyOverrides (version, WorkspaceID)
  instead of patching the destination after conversion.
- Dedupe parse-template field mapping; drop unused v2 fixture key.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
- Move config/input schemas to types.ts and enforce required auth fields
  and request field names in the schema, so the framework's per-job input
  validation rejects bad config instead of a hand-rolled setupError path.
- Move pure helpers (request field expressions, endpoint, auth headers)
  to utils.ts, folding in requestFields.ts.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Rename to HttpDestinationConfigSchema/HttpDestinationConfig, keep
mappingKey beside the schema so utils depends on types only, and build
auth headers per event instead of caching them on the instance.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The framework validates destination config against the input schema but
passes the raw config to the integration, so re-parsing just to get
defaults is dropped. method and maxBatchSize are now optional in the
schema and defaulted where they are read.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
shekhar-rudder
shekhar-rudder previously approved these changes Oct 28, 2026
@shekhar-rudder
shekhar-rudder marked this pull request as ready for review October 28, 2026 15:14
Copilot AI balanced review requested due to automatic review settings October 28, 2026 15:14
@shekhar-rudder
shekhar-rudder requested review from a team as code owners October 28, 2026 15:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Critical routing and batching defects misroute mixed-version requests and transmit failed jobs, while mapping compatibility and validation mismatches leave some HTTP configurations unusable.

4 open issues
What changed in this PR

Adds native HTTP v2 request shaping through the batching framework, with sandboxed JSONata evaluation, template validation, and preview support. HTTP v1 retains CDK routing.

Changes:

  • Evaluates request fields per event, groups matching requests, and renders body templates per chunk.
  • Shares the template engine with Custom Audience and adds version-aware service selection.
  • Adds unit and component coverage for routing, validation, batching, and previews.
File Description
test/​integrations/​destinations/​http/​router/​data.ts Adds native v2 grouping and chunking fixtures.
test/​integrations/​destinations/​http/​common.ts Adds shared HTTP v2 configuration.
src/​v0/​destinations/​http/​utils.ts Adds expression, endpoint, and authentication helpers.
src/​v0/​destinations/​http/​types.ts Defines HTTP v2 configuration validation.
src/​v0/​destinations/​http/​templateSandboxClient.ts Adds a dedicated HTTP sandbox client.
src/​v0/​destinations/​http/​templateSandboxClient.test.ts Tests sandbox evaluation and failures.
src/​v0/​destinations/​http/​routerTransform.ts Implements native request shaping and batching.
src/​v0/​destinations/​http/​routerTransform.test.ts Tests request construction and error isolation.
src/​v0/​destinations/​http/​httpTemplateSandbox.ts Implements sandbox parsing and evaluation.
src/​v0/​destinations/​custom_audience/​template/​templateSandboxClient.ts Uses the shared template result type.
src/​v0/​destinations/​custom_audience/​template/​templateEngineSandbox.ts Uses the shared engine with the records collection.
src/​util/​jsonataTemplate/​templateEngine.ts Supports configurable collections and reusable evaluators.
src/​util/​jsonataTemplate/​templateEngine.test.ts Covers events collections and nested mappings.
src/​services/​eventTest/​eventTester.ts Preserves native destination keys and selects by version.
src/​services/​eventTest/​__tests__/​eventTester.test.ts Adds HTTP v2 preview coverage.
src/​services/​destination/​destinationIntegration/​types.ts Adds chunk-level batch errors.
src/​services/​destination/​destinationIntegration/​processDestinationIntegration.ts Converts batch errors into job responses.
src/​services/​destination/​destinationIntegration/​destinationIntegration.ts Extracts shared transform-error conversion.
src/​routes/​testEvents.ts Registers HTTP template validation.
src/​helpers/​serviceSelector.ts Passes destination version into service selection.
src/​helpers/​__tests__/​serviceSelector.test.ts Tests HTTP version-based selection.
src/​features.ts Enables HTTP batching with proxy advertisement disabled.
src/​features.test.ts Updates HTTP capability expectations.
src/​controllers/​eventTest.ts Adds indexed template-validation responses.
src/​controllers/​__tests__/​eventTest.test.ts Tests the HTTP validation endpoint.
src/​cdk/​v2/​utils.ts Routes HTTP v2 away from CDK.
src/​cdk/​v2/​utils.test.ts Tests v1 and v2 routing decisions.
package.json Includes the HTTP sandbox in build output.

Review effort: Balanced

Comment thread src/helpers/serviceSelector.ts Resolved
Comment thread src/controllers/eventTest.ts Resolved
Comment thread src/v0/destinations/http/utils.ts Resolved
A processor, router or batch request can carry several destinations of
one type. The controller picked a single service from the first event,
so a request mixing HTTP v1 (CDK) and v2 (native) destinations sent one
version down the wrong path: v1 events failed v2 schema validation and
v2 events produced empty CDK bodies.

Group events by the service each resolves to and run every group through
its own service, with errors isolated per group. Remove the first-event
selectors so the old behaviour cannot be reintroduced.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 28, 2026 15:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Batch-stage failures can leave the same job’s payload in successful requests while also returning an error for that job, creating contradictory outcomes and sending data from failed jobs.

3 open issues
2 previously missed issues

In code that hasn't changed since last review

Medium severity Bound request-field evaluation to preserve partial results

src/​v0/​destinations/​http/​routerTransform.ts:40

Request-field evaluation copies the entire destination group into one 32 MB isolate before any batching limit applies, while the server accepts requests up to 200 MB (src/index.ts:103). A large group of individually small events can therefore exhaust the isolate even with maxBatchSize: 1, and the rejection discards every event's result. Evaluate fields in byte/count-bounded slices and preserve successful slices when another call fails.

Medium severity Evaluate body chunks separately to limit isolate memory

src/​v0/​destinations/​http/​routerTransform.ts:107

All body chunks are copied into one isolate call, which retains every evaluated body until completion. A large group can therefore exhaust the 32 MB sandbox even with maxBatchSize: 1, discarding successful chunks along with the failing work. Evaluate chunks in separate calls and return sandbox failures for only the affected chunk.

1 resolved since last review

Review effort: Balanced

- Move parse-template field mapping into http/utils (verificationFields)
  beside toExpressions.
- Finish the records -> collection rename in the shared template engine
  and fix stale comments.
- Reuse removeUndefinedValues; unexport the internal config schema.
- Place toTransformError after the re-export block; narrow the step-5
  comment to transform-stage failures.
- Drop a duplicate defaults test.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@rudder-devbox

rudder-devbox Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

I could not safely fix this live failure from the available evidence. In both HubSpot merged-record scenarios, runPipelineStep.ts:216 expected seed item 0 to fail, but received expectedToFailButDelivered: [0]; the two read-back failures only followed that assertion. The branch changes no HubSpot handler or scenario code. Its HubSpot component suite passes all 86 tests, including the mocked batch/update response that omits a merged-away ID.

The live job suppresses response bodies, and no HubSpot live credential is available here. The actual HubSpot response for the merged ID must be inspected to determine whether its behavior changed or the delivery handler is misclassifying a new response shape. I left the assertion intact and made no code change or push.

- A mapped header whose source is missing or null is now skipped, as v1's
  validateHeaders does, instead of failing the event; non-string values
  still fail. Migrated v1 configs with optional header mappings would
  otherwise start rejecting events v1 delivers.
- Use the message itself as the transformed body rather than wrapping it
  in { message } only to unwrap it in the batch strategy.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 28, 2026 15:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Batch-stage failures can leave the same job’s payloads in successful batches, violating all-or-nothing delivery and risking partial delivery or duplicate retries.

3 open issues
3 previously missed issues

In code that hasn't changed since last review

Medium severity Bound request-field evaluation by windows and input size

src/​v0/​destinations/​http/​routerTransform.ts:42

Request-field evaluation copies every input message into one isolate before per-event error handling, regardless of maxBatchSize. The endpoint accepts requests up to 200 MB (src/index.ts:103), while this isolate defaults to 32 MB and a 500 ms execution budget, so a large group of individually valid events can fail wholesale and encounter the same limit on retry. Evaluate fields in host-side windows bounded by both event count and input bytes, preserving the association between each result and its input.

Medium severity Evaluate each request chunk in a separate sandbox call

src/​v0/​destinations/​http/​routerTransform.ts:103

The request chunk limit does not bound this sandbox call: all chunks are copied into one isolate and their evaluated bodies are retained until it returns. Even with maxBatchSize: 1, a large group can exceed the default 32 MB memory limit or shared execution timeout although each chunk would fit on its own. Evaluate one chunk per call and serialize each result before proceeding to the next chunk.

Medium severity Preserve quoted v2 literals during migration

src/​v0/​destinations/​http/​utils.ts:11

This also treats newly entered v2 literals as legacy quoted expressions. A non-$ value such as 'hello' is delivered as hello, losing its surrounding apostrophes, and a literal such as 'O'Reilly' becomes invalid JSONata rather than a string. Normalize legacy quoting during migration (or mark legacy values explicitly), and quote native v2 literals without removing customer-supplied apostrophes.

Review effort: Balanced

verificationFields shapes the parse-template API contract: its input is
the endpoint's request body and its labels become errors[].field/index
in the response. Keep it beside httpParseBodySchema instead of in the
destination utils; only requestFieldExpression is shared with the router.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 28, 2026 16:05
@rudder-devbox

rudder-devbox Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

I couldn’t safely fix this from the PR. The live HubSpot test hs-retl-contacts-update-by-merged-record-id-v3 expected its merged-away record job to fail, but /proxy reported it delivered (expectedToFailButDelivered: [0]) for both private-app and service-key credentials. The same assertion failed in the preceding run; 112 other live tests passed. This branch does not change HubSpot’s transform, proxy handler, or scenario, and the log omits HubSpot’s raw response, so the changed partner behavior needs direct response and record read-back inspection before its delivery rule or test expectation can be corrected. I made no repository changes.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Batch-stage failures are collected too late, allowing a multiplexed job to be delivered successfully and reported as failed, violating the existing all-or-nothing delivery invariant.

3 open issues

Review effort: Balanced

shekhar-rudder
shekhar-rudder previously approved these changes Oct 28, 2026
@rudder-devbox

rudder-devbox Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

I couldn’t safely fix this run from the PR. The HubSpot live suite has two independent external-state failures: hs-es-contacts-nonunique-lookup-existing-v3-private-app timed out because its new contact was not stably searchable after 25 polls, and hs-retl-contacts-update-by-merged-record-id-v3 again reported the merged-away job delivered (expectedToFailButDelivered: [0]) under both credential types. The branch changes no HubSpot transform, proxy, or live-scenario files. The log does not show HubSpot’s raw batch response or record read-back, and local HubSpot live credentials are unavailable, so changing the delivery rule or assertions would be speculative. I made no repository changes.

…stage errors

The HTTP v2 body template is evaluated per chunk, so the batch strategy
needed a new per-chunk error slot (BatchGroup.error) in the framework.
Those errors were recorded after the framework removes failed jobs from
other groups, leaving a gap for any integration that multiplexes.

Build and evaluate the chunks in HttpIntegration.transformEvents instead:
group with the framework's composite key, chunk at maxBatchSize, evaluate
every chunk's body in one isolate call, and return a failed chunk's jobs
as ordinary transform errors. Each chunk carries a unique internalGroupKey
so the framework groups exactly that chunk, and ChunkBatchStrategy passes
the pre-built body through. Reverts the BatchGroup.error framework change.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 28, 2026 16:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

A critical batching flaw can deliver data from jobs reported as failed because later filtering cannot remove their data already serialized into another job’s request body.

3 open issues
2 resolved since last review

Review effort: Balanced

@rudder-devbox

rudder-devbox Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

I couldn’t safely correct this unrelated live HubSpot failure from the available evidence. In both hs-retl-contacts-update-by-merged-record-id-v3 credential variants, the proxy marked the merged-away record job delivered although the scenario expected it to fail (expectedToFailButDelivered: [0]); 112 other tests passed. The new commit changes HTTP batching, and this branch does not change the HubSpot scenario or proxy handler. The log has no HubSpot response body or merged-record read-back, which are needed to determine whether the partner now updates merged IDs or reports a misleading success. I made no repository changes.

A batch strategy can now fail individual chunks (BatchGroup.error) without
failing the rest of the request. Those jobs fail, and any other group that
still carries one of them (a multiplexed job) is batched again without it,
so a failed job is never partly delivered. Errors are mapped after
batching so batch-stage failures are included.

HTTP v2 goes back to chunking and evaluating bodies in its batch strategy,
reporting a failed chunk through BatchGroup.error.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 28, 2026 16:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Migrated JSONPath selectors can fail with 400s, while unbounded request-field evaluation can exceed sandbox limits and fail entire event groups.

1 open issue
2 resolved since last review

Review effort: Balanced

@rudder-devbox

rudder-devbox Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

I could not make a safe repository fix from this run. Both HubSpot hs-retl-contacts-update-by-merged-record-id-v3 variants still fail because job 0, expected to fail for a merged-away contact, is reported delivered (expectedToFailButDelivered: [0]); 112 other tests passed. The new commit changes framework batching, with no HubSpot handler or scenario changes. The log does not include HubSpot’s raw batch response or a read-back of the surviving contact, so it cannot establish whether the partner actually applied the update or falsely reported success. Changing the delivery rule or expectation without that evidence would risk misreporting customer events. No files were changed or pushed.

@sonarqubecloud

Copy link
Copy Markdown

@shekhar-rudder
shekhar-rudder merged commit 4a3987d into develop Oct 29, 2026
51 of 52 checks passed
@shekhar-rudder
shekhar-rudder deleted the harness/INT-7453-feat-http-add-native-v2-jsonata-370626df branch October 29, 2026 06:55
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.

3 participants