Skip to content

Fix SHOP-5002: guard the race on checkout-web#8

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
autopilot/SHOP-5002
Open

Fix SHOP-5002: guard the race on checkout-web#8
github-actions[bot] wants to merge 1 commit into
mainfrom
autopilot/SHOP-5002

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Autopilot fix for SHOP-5002 - Gift-card balance can go negative when two orders redeem it concurrently (service checkout-web). Adds a failing concurrency regression test that reproduces the race, then a row-level lock guard following Saleor's lock_objects idiom. Cites lesson L-4821. The agent opened it; a human owns the merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant