You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add cancelReminder and getPendingReminders to invoiceReminderScheduler #616
src/invoiceReminderScheduler.ts schedules reminders for invoice deadlines but provides no way to cancel a previously scheduled reminder. If an invoice is paid early or the deadline changes, the reminder fires anyway with no cancellation path.
Acceptance Criteria
scheduleReminder returns a reminderId: string (opaque unique identifier)
cancelReminder(reminderId: string): boolean exported — cancels the reminder and returns true; returns false if the ID is unknown or already fired
getPendingReminders(): Array<{ reminderId: string; invoiceId: string; remindAt: number }> exported — returns all not-yet-fired, not-cancelled reminders
Cancelled reminders do not fire even if their scheduled time passes
clearAllReminders(): void exported for test teardown
All exported from src/index.ts
Unit tests: cancel before fire prevents callback, cancel unknown ID returns false, cancel already-fired returns false, getPendingReminders excludes cancelled
Hi! I’m a full-stack developer with a strong blockchain background, and I’m confident I can resolve this issue quickly and effectively. I’ll deliver a clean, reliable solution with immediate attention to detail, ensuring it’s completed as soon as possible. Please assign it to me—I’m ready to get started right away.
Activity
bobo-24 commentedon Aug 19, 2026
Hi! I’m a full-stack developer with a strong blockchain background, and I’m confident I can resolve this issue quickly and effectively. I’ll deliver a clean, reliable solution with immediate attention to detail, ensuring it’s completed as soon as possible. Please assign it to me—I’m ready to get started right away.
afeezorobsco-cyber commentedon Aug 19, 2026
I would like to work on this issue
grantfox-oss commentedon Aug 27, 2026
🦊 GrantFox — @afeezorobsco-cyber has been assigned to this issue as part of the Third Campaign campaign!
Next steps:
Closes #616)Good luck! Track your progress on GrantFox.
huangji6693-max commentedon Oct 27, 2026
Submitted PR #1220 implementing
scheduleReminder,cancelReminder,getPendingReminders, andclearAllReminderswith fake-timer unit test coverage.Payout Wallets:
GBYWLISGOUWQ43VQEGXX6KRGDZ3CKAFFK3JXVLXKDO5TIFJUJ3OHJYOZ0x380C97bcbcAEf29DAc2d0ba7E180F1b4A7F38fddAyXYaA9Nf4z5fpLKY6DmubWe6D2qveMd79w8pEDNHcDw