Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to avoid missing a ZIM update without noticing? #1056

Open
benoit74 opened this issue Dec 2, 2024 · 0 comments
Open

How to avoid missing a ZIM update without noticing? #1056

benoit74 opened this issue Dec 2, 2024 · 0 comments

Comments

@benoit74
Copy link
Collaborator

benoit74 commented Dec 2, 2024

Currently, the scheduler automatically request tasks at the configured interval. However, these tasks might fail. When they do, the scheduler will not request the task again until the configured interval has passed again.

This behavior is meant to avoid repeating again and again the same failing task, which must indeed be avoided.

It however comes with the drawback that if there is an intermittent issue, we might wait long (especially for recipe configured for yearly update) until there is a new schedule.

Monitoring failed tasks should be done with due diligence, but I think it is too easy to forget one failing task / recipe and not update a ZIM for very long.

This cause a significant problem for me: we might have ZIMs which are not updated as requested without rely noticing it. And it is currently very hard to know at a given moment (now) which ZIM / recipe have not been updated as requested.

I see multiple solutions:

  1. automatically create Github issues for every failing tasks, so that we have an overview in Github
  • the drawback is that the issue itself might get outdated ... so we will need a job to automatically close these issues once the recipe runs again ...
  1. create a new filter / view in the Zimfarm with every recipes which have not been updated as requested
  • more work, but more precise
  1. automatically retry failed recipes more often than the periodic refresh (e.g. once a day / week)
  • this is properly the final goal, but it can work only if recipes failing for other than intermittent reasons are properly disabled (not been always the case so far ... but might be a good incentive to do so and avoid clogging the zimfarm with tasks failing forever)

I'm personally in favor of option 3, since it will save manual work globally.

@benoit74 benoit74 changed the title How to miss a ZIM update without noticing? How to avoid missing a ZIM update without noticing? Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant