Skip to content

perf(checkout): reduce duplicate pricing refresh latency - #247

Open
yan-ad wants to merge 3 commits into
mainfrom
codex/checkout-safe-latency
Open

perf(checkout): reduce duplicate pricing refresh latency#247
yan-ad wants to merge 3 commits into
mainfrom
codex/checkout-safe-latency

Conversation

@yan-ad

@yan-ad yan-ad commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • remove the extra classic checkout fee AJAX/update_checkout chain so native update_order_review renders fees in one path
  • sync classic checkout payment, insurance, and force-insurance POST state before Woo fee calculation
  • add bounded stale pricing fallback and keep shipping_price timeout safer at 10s with a filter override

Tests

  • vendor/bin/paratest --configuration paratest.xml --filter CheckoutShippingPerformanceTest
  • vendor/bin/paratest --configuration paratest.xml --filter classic_checkout_updated_checkout_handler_must_not_recalculate_fees_recursively
  • vendor/bin/paratest --configuration paratest.xml --filter block_checkout_shipping_radio_click_syncs_wc_blocks_selected_rate_for_order_summary
  • vendor/bin/paratest --configuration paratest.xml --filter admin_ajax_fee_refresh_preserves_selected_shipping_method_before_caching_fees
  • vendor/bin/paratest --configuration paratest.xml --filter native_block_checkout_cod_fee_fallback_reads_all_store_api_payment_session_keys
  • vendor/bin/paratest --configuration paratest.xml --filter PluginStructure
  • make zip

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.

1 participant