Repository navigation
Release product availability and duplicate-barcode management - #1409
Merged
Merged
Conversation
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.
Adds Available for sale as an independent, default-on item property, with item ACL checks, optimistic revision checks, idempotent retries and atomic actor/time/before/after audit. Inventory scanning includes hidden and alternate matches; desktop Items provides an explicit comparison and confirmation dialog. Sales queries exclude hidden items, caches invalidate on availability changes, and new basket checkout rejects hidden products without deleting basket lines. Stock and history are unchanged.
Requires matching Mobile-App and Gateway/sync-agent changes before coordinated rollout. Items already use the branch-scoped batch lane in all three manifests; the audit travels with the item. The modified agent was bundled locally and all 27 collection declarations matched. No client production records or messages changed.
Validation: mobile/inventory API suites 42 passed, 5 existing environment-dependent skips; real-Mongo barcode suite 23 passed; desktop DOM/chooser tests 9 passed; attribution passed. Gateway reconnect test preserves availability and installation-local execution receipts despite newer stock writes.
Gateway #45 is merged and deployed; signed agent 1.7.4 is published on beta. Additional release checks pass: 316 model/channel tests, 51 desktop i18n tests and language validation. Public desktop installers acquire the signed private agent after activation. POS test installer and APK publication follow CI; physical multi-device acceptance remains pending. See docs/product-availability.md.