Add durable Business Inbox and daily scheduling - #1009
Closed
sridharkalaibala wants to merge 1 commit into
Closed
sridharkalaibala wants to merge 1 commit into
sridharkalaibala wants to merge 1 commit into
Conversation
This was referenced Sep 28, 2026
Contributor
Author
|
The complete Business companion stack, including this change, is integrated into develop through #1023. All checks, including CodeQL, passed before merge. Closing this superseded stacked PR. |
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.
Owners can schedule a branch's daily summary and receive it in their private Business Inbox while the phone app is closed. Preferences use branch time, quiet hours and revision checks. A durable scheduler requests desktop preparation in advance, rechecks account/branch permissions, and records an explicit unavailable notice when no verified summary exists.
Atomic leases and a unique account/branch/day event prevent duplicate delivery across concurrent workers and interrupted checkpoints. Hosted shards rotate bounded tenant batches, skip suspended tenants and deduplicate hostname aliases. Inbox history is scoped, paginated and retained for 90 days. No raw-sale report computation runs in the scheduler. Community scheduling runs on the opted-in reporting desktop.
Local validation: 11 Business access/reporting integration tests, five notification MongoDB integration tests, six time/worker unit tests and 24 README/sync-classification checks pass. Changed notification services pass lint. Attribution passes. API documentation now reports 727 endpoints. No CI expansion.
This draft stacks on #1006. Phone push credentials/delivery, session-close triggers, stock alerts and approval decisions are not part of this foundation and are not claimed complete. Companion mobile UI: Posnic/posnic-business notification branch.