Repository navigation
refactor(mp): remove obsolete gzip-support handshake - #5791
achettyiitr merged 1 commit into
Conversation
|
👋 I'm rudder-devbox. I opened this PR from task Mention |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
|
There was a problem hiding this comment.
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.



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
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.jsonand-p tsconfig.test.json— passed.npm run check:secret-pathswith integrations-config definitions — passed byte comparison.git diff --check— passed; obsolete-symbol search acrosssrcandtest— no matches.mpJest-pattern run timed out after five minutes; the focused Mixpanel unit suite passed.mpJest-pattern run timed out after five minutes; the focused Mixpanel unit suite and 83 component cases passed.X-Feature-Gzip-Supportheader remains in rudder-server pending coordination with that team.Reviewer checklist