Refresh repeated Swift preloads - #658
Open
markmur wants to merge 2 commits into
Open
Conversation
This was referenced Aug 17, 2026
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
markmur
marked this pull request as ready for review
August 17, 2026 11:48
markmur
force-pushed
the
swift-refresh-repeated-preload
branch
from
August 17, 2026 11:50
2f71968 to
685cf0b
Compare
markmur
force-pushed
the
rn-sample-preload-observability
branch
from
August 17, 2026 11:50
fdbdb7f to
61d653a
Compare
Install this buildOpen Tophat, select your target device, then click Install. Links open on the Mac running Tophat.
Checkout Kit E2E results
|
markmur
force-pushed
the
swift-refresh-repeated-preload
branch
from
August 17, 2026 13:30
685cf0b to
02806c9
Compare
markmur
force-pushed
the
rn-sample-preload-observability
branch
from
August 17, 2026 13:30
61d653a to
260e77b
Compare
markmur
force-pushed
the
swift-refresh-repeated-preload
branch
from
August 17, 2026 13:34
02806c9 to
2a96ede
Compare
markmur
force-pushed
the
rn-sample-preload-observability
branch
2 times, most recently
from
August 18, 2026 09:34
68f1602 to
e291e83
Compare
markmur
force-pushed
the
swift-refresh-repeated-preload
branch
from
August 18, 2026 09:34
2a96ede to
d1d8e32
Compare
kyle-schellen
approved these changes
Aug 18, 2026
markmur
force-pushed
the
swift-refresh-repeated-preload
branch
from
August 18, 2026 13:49
d1d8e32 to
c96e360
Compare
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 changes are you making?
Make every explicit Swift
preload(checkout:)call refresh the cached checkout, even when the checkout URL is unchanged. This lets merchants re-preload after cart mutations without first callinginvalidate()and aligns Swift with Android and React Native behavior.Repeated background preloads replace the previous cached WebView. Preload calls made while checkout is presented leave the buyer's active session untouched.
This also documents the refresh behavior and adds regression coverage for both cache replacement and active-session protection.
Before you merge