Skip to content

Acknowledge when ZIM is never going to arrive #1013

@benoit74

Description

@benoit74

When for some reasons the Zimfarm fails to notify WP1 that the ZIM is ready, the selection becomes impossible to ZIM again, system seems to be waiting forever. It is impossible to cancel ZIM request, and impossible to request it again, we are indefinitely presented with the spinner.

I suspect this is linked to a recent change.

I feel like continuously polling the Zimfarm to update task status would be a bad idea, but checking task status on Zimfarm once in a while to recover seems mostly mandatory. We could for instance check status everytime user refresh its "My selection" screen, meaning no request when users don't care, but fresh data when they do care. This is what we do on zimit-frontend (zimit.kiwix.org).

The way Zimfarm informs WP1 that a ZIM is ready is an HTTP webhook, without any guarantee of delivery. And it will fail to be delivered from time to time, due to the nature of networks and systems, also named "chaos". We need a system capable to recover from this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions