Skip to content

Add audited product availability and desktop duplicate review - #1408

Merged
sridharkalaibala merged 2 commits into
developfrom
feature/product-availability
Oct 17, 2026
Merged

sridharkalaibala merged 2 commits into
developfrom
feature/product-availability

Conversation

@sridharkalaibala

@sridharkalaibala sridharkalaibala commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

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.

@sridharkalaibala
sridharkalaibala marked this pull request as ready for review October 17, 2026 11:43
@sridharkalaibala
sridharkalaibala merged commit 9761075 into develop Oct 17, 2026
12 checks passed
@github-actions github-actions Bot added the ready for QA Merged to develop and live on develop.posnic.io - anyone can test it label Oct 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Merged to develop. Anyone can test this - you do not need write access.

Try it at https://develop.posnic.io, or run it yourself:

git fetch origin develop && git checkout develop
npm install && npm --prefix api install
npm run dev   # then http://localhost:3000

When you have tested it, say what you did and what happened, and set
QA passed or QA failed. If you cannot set labels, just comment -
a maintainer will.

Reporting that something is broken is as useful as fixing it. It is
better found here than by a shopkeeper.

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

Labels

ready for QA Merged to develop and live on develop.posnic.io - anyone can test it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant