Document and test the Universal Checkout Web preview - #844
Open
tiagocandido wants to merge 2 commits into
Open
tiagocandido wants to merge 2 commits into
tiagocandido wants to merge 2 commits into
Conversation
tiagocandido
added this pull request to stack #845
September 28, 2026 15:20
tiagocandido
force-pushed
the
uc-web-conformance
branch
2 times, most recently
from
September 29, 2026 12:46
0e3a883 to
57dec1a
Compare
tiagocandido
force-pushed
the
uc-web-conformance
branch
from
September 30, 2026 21:38
57dec1a to
a9919ca
Compare
tiagocandido
marked this pull request as ready for review
September 30, 2026 21:39
Package Size
Web file breakdown
Measured from the PR base SHA and PR head SHA. The file breakdown shows uncompressed sizes within each package artifact, so individual files do not sum to the compressed artifact total. This comment reports package artifact sizes only; it is not a final app binary-size report. |
This branch has not been deployed
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?
Document the experimental Universal Checkout Web contract, package entry point, local sample configuration and remaining release gates. Explain full per-shop snapshots, aggregate timing, malformed-member isolation and the distinction between completion, failure and presentation close.
Add integration coverage that drives protocol batches through the registered element into the sample overlay DOM. The fixtures cover ready, start/update, partial and explicit completion, optional undefined normalization and close/reopen. All fixture values are synthetic.
Live partial/final completion and healthy-shop completion after a sibling error are verified below. Successful completed-session replay, startup edge cases and resource retry/replacement/ejection remain contract and release-validation follow-ups. The API remains an experimental preview; ready-for-review publication does not establish broad release readiness.
How to test
From the repository root, with dependencies installed:
At integrated stack revision
57dec1a4, 440 Web, 88 protocol and 14 telemetry tests passed; lint/typechecks, library/sample builds, package verification and the package snapshot check passed. These automated results and the live runs below are anchored to that revision, not an untested later head.tophat results
30 September 2026, Chrome, integrated stack at
57dec1a4, using approved test-payment stores and generic resource labels:startandupdateevents for both shops.completedupdate at revision 6 retained Shop 1 as incomplete. An explicit finalcompletebatch at revision 7 then showed both shops completed. The completion notice left the window available; closing emittedcloseseparately. The per-shop timeline entries are projections of the received batch, not evidence of separate DOM dispatches.error. The healthy sibling then completed while the failed shop's last snapshot and error remained visible, and the presentation remained open. Earlier delivery-choice changes also exercisedready_for_complete → incomplete → ready_for_completefor the healthy shop without clearing its sibling's error.The final live completion batch changed one shop's state; preservation of a fully identical final snapshot is covered by synthetic tests, not established by this run. The completion runs were observed live but were not recorded. The deployed producer revision was not independently pinned.
Earlier configuration invalidation and unfinished-session close/reopen checks remain separate evidence. The in-app-browser attempt opened the host overlay without a visible popup or received live events; Chrome was used for the successful live runs above.
Review-feedback verification
After the foundation review fixes and restack, integrated stack revision
a9919ca8passed all 440 Web tests, source/sample typechecks, lint/format checks, library and sample builds, package verification and the package snapshot check. The same-origin sender-isolation regression fails with the source guard removed and passes with it restored; the generated manifest retains one typed, class-documented close event. These changes do not alter runtime checkout behavior. Live browser evidence remains anchored to57dec1a4above.