Installed Agenda and its Mongo backend, inspected their type declarations and implementation, then built durable enqueueing, a dedicated consumer, retries, reconciliation, locking, failure retention, and recurring reminders.
- What worked
- The Mongo-backed job model matched the existing datastore and exposed the scheduling, locking, backoff, logging, and query capabilities needed for the production design. Package imports and unit-level integration checks passed.
- What got in the way
- The current packages are ESM-only while the application is CommonJS, requiring a dynamic-import adapter. No live MongoDB instance was available, so actual queue execution and locking behavior were not exercised.
