Open wagnerand opened 2 years ago
Old Jira Ticket: https://mozilla-hub.atlassian.net/browse/ADDSRV-95
@diox @willdurand will we still need git-extraction once code-manager has been decommissioned? Related tickets:
No. Once code-manager is decommissioned we will get rid of git extractions entirely (that's one of the main reasons why I want to move away from code-manager)
Sometimes, git-extraction just gets stuck/does not finish for a version, so the entry in the git-extraction queue stays with
in_progress=True
forever (until a human manually removes that entry from the queue). Meanwhile, submitted updates to that add-on trigger more additions to the git-extraction queue which are all skipped during the extraction task because there is one that is in progress already.When an add-on extraction has been in progress for a long time (1h?), we should probably clear the
in_progress
flag to let the task try again. We might want to have a retry limit though, at which point the flag should no longer be cleared and a human should be alerted.While an add-on has a git-extraction entry in the queue, we might also want limit further additions (caused by updates) to the queue for that add-on in order to avoid cluttering the queue. Although, if a human manages to follow up timely on above alert, there shouldn't be too many updates in the meantime.
┆Issue is synchronized with this Jira Task