Commit Graph
7 Commits
Author SHA1 Message Date
Lauri Ojansivu f1e572db5c Integrate cancelled notification payload cleanup and terminal receipt reporting 2026-09-28 15:13:39 +03:00
Lauri Ojansivu 8814dbf1f4 Compact cancelled activity payloads into permanent terminal receipts 2026-09-28 15:08:00 +03:00
Lauri Ojansivu 694807fc47 Compact completed notification plans without deleting replay keys
Remove rendered payloads immediately after matching intent completion and in bounded background sweeps. Require valid checksums and dispatch identity, retain pending or damaged plans, and use atomic in-place replacement with readback for uncertain acknowledgements.

Validated with 20 Node/MongoDB cases, three additional Node suites, four Meteor cases and thirteen Chromium delivery and cleanup scenarios. Operator handling and unresolved-payload retention remain open.

Thanks to xet7.
2026-09-28 14:39:16 +03:00
Lauri Ojansivu 34c6c31a48 Resume pending activity notifications with shared reservations
Scan bounded pending-intent batches after startup, advance past failed and busy rows, and coordinate immediate delivery and recovery through renewable per-intent reservations. Resume saved plans or prepare the first plan from an unchanged persisted activity; retain unresolved orphans without recreating activities.

Validated with 14 Node/MongoDB cases, three additional Node suites, four full-app Meteor cases and twelve Chromium scenarios including scheduled local SMTP recovery. Operator controls and payload retention remain open.

Thanks to xet7.
2026-09-28 14:31:47 +03:00
Lauri Ojansivu 4c762f4070 Persist ordinary notification recipients and rendered service payloads
Save a checksummed plan before delivery, bind the original activity and dispatch actor, and reuse tray receipts and email job identities on retry. Recheck current recipient scope and channel preferences without rebuilding saved content.

Validated with ten MongoDB cases, three Node suites, three Meteor cases and ten Chromium notification scenarios. Background replay, ownership and plan retention remain open.

Thanks to xet7.
2026-09-28 14:23:38 +03:00
Lauri Ojansivu 54c3130ce9 Capture activity notification intents before ordinary activity writes
Await private intent persistence before the activity insert, preserve scoped Sync deferral, and retain pending evidence until all recipient subscribers acknowledge local writes. Compact successful intents while preserving dispatch identity; keep webhook delivery independent.

Validated with six MongoDB cases, three Node suites, three full-app Meteor cases and ten Chromium email delivery and private-storage scenarios. Automatic pending-intent recovery remains unfinished.

Thanks to xet7.
2026-09-28 14:15:55 +03:00
Lauri Ojansivu 081c220103 Add write-ahead activity notification intent storage boundary
Confirm immutable intent persistence before inserting an activity, reconcile uncertain acknowledgements, and require exact activity snapshots for recovery. Bind insertion authority to the creating call so orphan retries cannot resurrect deleted activities.

Four real MongoDB fault and concurrency tests pass. This internal primitive is not activated in activity hooks; scheduling, persisted delivery plans and operator lifecycle remain open.

Thanks to xet7.
2026-09-28 14:09:41 +03:00