Skip to content

Integrate Business companion backend and desktop support into develop - #1023

Merged
sridharkalaibala merged 106 commits into
developfrom
codex/business-stock-alerts
Sep 29, 2026
Merged

sridharkalaibala merged 106 commits into
developfrom
codex/business-stock-alerts

Conversation

@sridharkalaibala

@sridharkalaibala sridharkalaibala commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Integrate the complete Business companion backend and desktop support into develop: isolated authorization and ACLs, prepared reporting, register summaries, item and stock insights, durable notifications, and device-bound discount approvals with checkout recovery. Heavy preparation stays on the desktop. Opt-in deployment switches remain unchanged.

Includes the latest develop import, checkout, kitchen, list-refresh and dependency fixes. Integration repairs preserve both router mounts in generated API documentation, refresh translation catalogs for new import messages, register the import tests with Jest, and format the incoming import code.

Validation: 11,503 existing API tests passed, plus all six repaired import tests; 488 import-related tests passed after formatting. Desktop CI passed after integration. Local testing passed 3,559 desktop tests, then all 56 language checks passed after completing two Dutch keys; the final develop refresh update passed all 73 affected local tests. All 277 real-Mongo Business integration tests pass. API lint has no errors; formatting, generated API docs, OpenAPI lint, attribution, declared dependencies and packaged-module checks pass. Existing quarantined tests remain unchanged.

Push ownership: Posnic manages Cloud credentials; Community may own its project or use Posnic once the scoped relay exists. Real-account, physical-device, provider, iOS and qualified translation validation remain release work. This integration does not enable providers or publish a production release.

Supersedes Business stacked PRs #1003, #1006, #1009, #1010, #1011, #1012, #1013, #1014, #1015, #1016, #1017, #1020 and #1022 after merge.

The device-grant dispatcher now calls its five permitted operations explicitly instead of selecting an object method dynamically. All 27 device-decision and authorization integration tests pass after this security-analysis finding was addressed.

@sridharkalaibala sridharkalaibala changed the title Wire opt-in stock notifications and durable checkout-attempt review Integrate Business companion backend and desktop support into develop Sep 29, 2026
@sridharkalaibala
sridharkalaibala changed the base branch from codex/business-stock-insights to develop September 29, 2026 13:13
@sridharkalaibala
sridharkalaibala marked this pull request as ready for review September 29, 2026 13:13
Comment thread api/src/services/business-device-decisions.js Fixed
Comment thread api/src/services/business-decision-ledger.js Fixed
Comment thread api/src/services/business-decision-ledger.js Fixed
Comment thread api/src/services/business-decision-ledger.js Fixed
Comment thread api/src/services/business-decision-ledger.js Fixed
@sridharkalaibala
sridharkalaibala merged commit 0883545 into develop Sep 29, 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 Sep 29, 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.

2 participants