Layr

acme / shop

protected main

Checkout: support saved cards 4f2a91

openbob wants to merge topic-checkout into main

Behavior diff: base 9a0c13d7 → v3 7d3e9a1c

$ probe difflayr probe diff 9a0c 7d3e

Probes compare what the program does, not only the code: rendered screens, API answers, metrics and output files.

storefront-screensscreenshots● changed

● 2 of 4 screens changed. Each screen is a PNG and an HTML snapshot, made by playwright in the try copy of each exact state.

/checkoutdesktop 1280
base 9a0c13d7
AcmeCart (2)CheckoutCoffee beans, 1 kg€24.00Grinder€89.00CardCard numberTotal€113.00Pay €113.00
v3 7d3e9a1c
AcmeCart (2)CheckoutCoffee beans, 1 kg€24.00Grinder€89.00Saved cardsVisa ending 4242Mastercard ending 5100Or a new cardCard numberTotal€113.00Pay €113.00

layr probe run 7d3e --probe storefront-screens · Ran on executor-eu1, exact states

api-catalogHTTP answers● changed

GET /api/products?page=2: 200 → 200, ● body changed (2 fields)

11 {
22 "page": 2,
3− "items": 24,
3+ "items": 25,
4− "next": null
4+ "next": "/api/products?page=3"
55 }

layr probe run 7d3e --probe api-catalog · Ran on executor-eu1, exact states

bench-checkoutmetric● changed
Toggle to see the change
p95 latency41 ms
throughput1,920 req/s
bundle size214 KiB

layr probe run 7d3e --probe bench-checkout · Ran on executor-eu1, exact states

bundle-sizefilewithin limit

web/dist/app.js 214 KiB → 221 KiB (+3%)

layr probe run 7d3e --probe bundle-size · Ran on executor-eu1, exact states

sql-planfile✓ same

✓ No change

layr probe run 7d3e --probe sql-plan · Ran on executor-eu1, exact states

Clone shop

Get the project with all lines and states. Data is decrypted on your machine.

layr clone layr+https://cloud.acme.dev/shop