Skip to content

fix(node-rewards-canister): Fixes sync task not being rescheduled due to possible panic in closure#9352

Open
pietrodimarco-dfinity wants to merge 5 commits intomasterfrom
pmarco/fixes-secfind-2110
Open

fix(node-rewards-canister): Fixes sync task not being rescheduled due to possible panic in closure#9352
pietrodimarco-dfinity wants to merge 5 commits intomasterfrom
pmarco/fixes-secfind-2110

Conversation

@pietrodimarco-dfinity
Copy link
Contributor

@pietrodimarco-dfinity pietrodimarco-dfinity commented Mar 13, 2026

This PR adds a recovery timer mechanism to ensure tasks are rescheduled after a possible panic in the execution of the task.
This is done scheduling first a timer which reschedules the task itself after sometime (15 min). If the task execution is successful the first timer will be cancelled and the task rescheduled after chosen delay.
This fixes https://dfinity.atlassian.net/browse/SECFIND-2110

@pietrodimarco-dfinity pietrodimarco-dfinity requested a review from a team as a code owner March 13, 2026 12:26
@pietrodimarco-dfinity pietrodimarco-dfinity changed the title Prevent task not being rescheduled due to possible panic fix(node-rewards-canister): Fixes rescheduling sync task even in case of Mar 13, 2026
@github-actions github-actions bot added the fix label Mar 13, 2026
@github-actions github-actions bot added the @dre label Mar 13, 2026
@pietrodimarco-dfinity pietrodimarco-dfinity changed the title fix(node-rewards-canister): Fixes rescheduling sync task even in case of fix(node-rewards-canister): Fixes sync task not being rescheduled due to possible panic in closure Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants