Skip to content

refactor(mp): remove obsolete gzip-support handshake - #5791

Merged
achettyiitr merged 1 commit into
developfrom
harness/INT-6925-refactor-mp-remove-obsolete-gzi-420e5df6
Nov 16, 2026
Merged

achettyiitr merged 1 commit into
developfrom
harness/INT-6925-refactor-mp-remove-obsolete-gzi-420e5df6

Conversation

@rudder-devbox

@rudder-devbox rudder-devbox Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

What are the changes introduced in this PR?

Mixpanel /import emits GZIP without a capability handshake. Removed the unused shared check and constant, batching-only metadata plumbing, and obsolete test headers. Updated three headerless router expectations without changing their JSON payloads.

What is the related Linear task?

Resolves INT-6925

Please explain the objectives of your changes below

This change follows the env-flag rollout work in INT-6924 and INT-6926. Removing the header from rudder-server remains a coordinated follow-up.

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

Headerless /import requests now receive GZIP. In production the server already advertises gzip support unconditionally. /engage and /groups retain their workspace env-flag gates.

Any new dependencies introduced with this change?

None.

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

Removed the unused IsGzipSupported utility and FEATURE_GZIP_SUPPORT constant; no utility was added.

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

Router request metadata remains available to single-event error handling. The secret-path manifest passed byte comparison and was not changed.


Developer checklist

  • My code follows the style guidelines of this project
  • No breaking changes are being introduced for the stated production server baseline
  • All related docs linked with the PR? HLD §4.2 and §10 item 4, rudder-specs Release for LeanPlum & Generic Webhook #94
  • All changes manually tested? Validated with automated unit and component tests
  • Any documentation changes needed with this change? No
  • Is the PR limited to 10 file changes? Yes, six
  • Is the PR limited to one linear task? Yes
  • Are relevant unit and component test-cases added in new readability format? Updated existing coverage and fixtures

Validation

  • npm run lint — passed.
  • npm test -- --testPathPattern="src/v0/destinations/mp/util.test.js" --no-coverage — 57 passed.
  • npm run test:ts -- component --destination=mp — 83 passed.
  • ./node_modules/.bin/tsc --noEmit -p tsconfig.json and -p tsconfig.test.json — passed.
  • Full npm run check:secret-paths with integrations-config definitions — passed byte comparison.
  • git diff --check — passed; obsolete-symbol search across src and test — no matches.
  • Simplify pass: combined duplicate constant imports; no other worthwhile findings. An additional broad mp Jest-pattern run timed out after five minutes; the focused Mixpanel unit suite passed.
  • Local integration verification: skipped because rudder-transformer uses a sha-pinned service image and its edited source cannot be run by mini in this sandbox.

⚠️ Known Issues

  • The broader mp Jest-pattern run timed out after five minutes; the focused Mixpanel unit suite and 83 component cases passed.
  • The X-Feature-Gzip-Support header remains in rudder-server pending coordination with that team.
  • The transformer source change was not exercised against a live mini stack because this service cannot be source-built in this sandbox.

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.

@rudder-devbox

rudder-devbox Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

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

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.

@coderabbitai

coderabbitai Bot commented Nov 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

  • 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: 67be8700-1536-46ee-8d45-cb4e1c9c1415

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

@sonarqubecloud

Copy link
Copy Markdown

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.

Copilot was unable to review this pull request because the organization has exhausted its available GitHub AI Credits or reached a budget that stops additional usage. An enterprise owner or billing manager can increase the applicable AI Credits budget or wait for the usage allowance to reset. Learn about budgets for usage-based billing.

@achettyiitr
achettyiitr merged commit 4f60111 into develop Nov 16, 2026
51 checks passed
@achettyiitr
achettyiitr deleted the harness/INT-6925-refactor-mp-remove-obsolete-gzi-420e5df6 branch November 16, 2026 12:33
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