refactor: remove bypassPlatformImageOptimization flag - #1596
Conversation
Platform image optimizations (VTEX, Shopify, Wake, VNDA, Sourei, Magento) now always run unconditionally. Removes the BYPASS_PLATFORM_IMAGE_OPTIMIZATION env var, the client-side feature flag, and the wrapping conditional. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Tagging OptionsShould a new tag be published when this PR is merged?
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThe PR removes the ChangesPlatform Bypass Feature Flag Removal
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
Summary
BYPASS_PLATFORM_IMAGE_OPTIMIZATIONenv var, client-side feature flag, and conditional guardTest plan
🤖 Generated with Claude Code
Summary by cubic
Removed the
BYPASS_PLATFORM_IMAGE_OPTIMIZATIONflag and now always apply platform-specific image optimizations. VTEX, Shopify, Wake, VNDA, Sourei, and Magento URLs are optimized by default.Refactors
getOptimizedMediaUrlto always run platform optimizers.bypassPlatformImageOptimizationhelper and related checks.Events.tsx.Migration
BYPASS_PLATFORM_IMAGE_OPTIMIZATIONfrom envs and client feature flags (now a no-op).BYPASS_DECO_IMAGE_OPTIMIZATIONif needed.Written for commit 35505c4. Summary will update on new commits. Review in cubic
Summary by CodeRabbit