Repository navigation
Conversation
This was referenced Sep 27, 2026
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.
Problem
Receipt validation read order quantities outside the write transaction and checked split rows separately. A 10-unit PO receiving duplicate rows 6+6 could record 12 stock units but only 6 received units; concurrent requests could also overreceive.
Changes
Validation
Astra xhigh implementation and independent Astra review. 67 focused purchase tests passed, API typecheck/lint passed. 13 real PostgreSQL cases added: duplicate overflow, valid split, precision/noise, forced concurrent conflicts, valid concurrent partials, late-write rollback, tenant boundaries and no postcommit retry. Exact head
b0a373f8597fd090a53e6c6d00bfd79e3808a6e5passed all gates in run 36288911041: 851 regular tests (28 scripts, 681 API, 142 Web), 90 real PostgreSQL regressions including all 13 new receipt cases, 13 stocked-trade + 12 manufacturing HTTP steps and 9 actual Chromium cases. Actual logs inspected. Updated base #44 is included by ancestry and content.Stacked on #44; no production migration/deployment or main merge.