chore(checkout): CHECKOUT-10115 Remove rolled out CHECKOUT-10115 flag - #3309
Open
bc-maxy wants to merge 1 commit into
Open
chore(checkout): CHECKOUT-10115 Remove rolled out CHECKOUT-10115 flag#3309bc-maxy wants to merge 1 commit into
bc-maxy wants to merge 1 commit into
Conversation
animesh1987
approved these changes
Sep 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What/Why?
The flag is now fully rolled out across all tiers: https://app.launchdarkly.com/projects/default/flags/CHECKOUT-10115.consistent_crossorigin_prefetch_fix so we can remove the references from checkout-js.
It is passed from bigcommerce side through a variable, see here: https://github.com/bigcommerce/bigcommerce/blob/149504273c74b1b175e0c9e02929c1d825b239b0/config/Experiments/CheckoutExperiments.php#L61
Rollout/Rollback
Revert the PR
Testing
Passing CI, functional tests
Note
Low Risk
Cleanup only; prefetch crossorigin behavior was already the default via the rolled-out flag. Revert restores the flag gate if needed.
Overview
Removes the fully rolled-out CHECKOUT-10115 experiment flag (
isConsistentCrossOriginFixEnabled) from checkout-js after LaunchDarkly rollout.Behavior is unchanged for production: dynamic JS/CSS chunk prefetches in
loadFilesnow always usecrossOrigin: 'anonymous', matching what the flag already enforced everywhere. The option is dropped fromLoadFilesOptions,checkoutConfigon the custom checkout window, and theauto-loaderno longer reads or forwards it.Tests are simplified so prefetch expectations always include
crossOrigin: 'anonymous'instead of duplicating cases behind the flag.Reviewed by Cursor Bugbot for commit 016a53c. Bugbot is set up for automated code reviews on this repo. Configure here.