Example runs/inc-mwuk726c-963f
Example run. Recorded from real Proof and Kane CLI runs on a demo shop. This copy is read-only: nothing runs here.Run it yourself

Double discount when SAVE10 applied twice

Flakykiln-and-kettle·minor·4 Kane runs, 102 credits
  1. Captured9 events
  2. Reproduced2/3 Kane runs
  3. MinimizedPending
  4. FixedPending
  5. ProvenPending
  6. PR openedPending
  7. Green in prodPending

Triple proof

Recorded from Kane’s browser
BeforeKane failed105s

2/3 runs of the full session failed on main with the user’s signature. Kane run

AfterWaiting
No recording yet

No passing fix yet.

Fix revertedWaiting
No recording yet

Runs once a fix wins.

Minimal repro

  1. Click "Add to cart" for "Pour-over Kettle" (opens /cart)
  2. Type "SAVE10" into the "Discount code" field
  3. Click "Apply" (opens /cart)
  4. Type "SAVE10" into the "Discount code" field
  5. Click "Apply"
  6. Verify the cart shows exactly one discount of $6.80 and a total of $61.20, with no second reduction applied.

Fix tournament

Starts after the repro is minimized.

What the user saw

widget

“I applied SAVE10 twice on the kettle and it took 10% off twice. The same code should only count once.”

Captured session, 9 events
  1. nav /
  2. click "Add to cart" (Pour-over Kettle)
  3. nav /cart
  4. input Discount code = "SAVE10"
  5. click "Apply"
  6. nav /cart
  7. input Discount code = "SAVE10"
  8. click "Apply"
  9. nav /cart

Blast radius

Kane runs variants of the repro (other products, codes, quantities) once it is minimized.

Activity

9 events
FLAKY: Kane failed the same way 2/3 runs
Signature matched. Confirming with 2 more independent Kane runs
Attempt 2: Kane failed, MATCH (Kane confirmed a product bug (no client signature to compare))
Fed Kane trace back to the model; objective revised
Attempt 1: Kane failed, no match (Kane failed: different failure (saw: no errors))
Objective: 5 steps + check
Drafting Kane objective from 9 session events
MINOR: Double discount when SAVE10 applied twice (new cluster)
widget: I applied SAVE10 twice on the kettle and it took 10% off twice. The same code should only count once. (9 events)

Kane runs

2 reproduce · 2 confirm
Show all 4 runs
RunKindKaneSame bugTimeCredits
Attempt 1reproduce failed No 97s28.5 Kane Video
Attempt 2reproduce failed Yes 105s31.5 Kane Video
Confirm 2/3confirm failed Yes 90s13.3 Kane
Confirm 3/3confirm passed No 122s28.8 Kane