Closed Bug 1113235 Opened 10 years ago Closed 7 years ago

Add retry logic to all the non-periodic tasks

Categories

(Tree Management :: Treeherder, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mdoglio, Assigned: emorley)

Details

Attachments

(1 file)

We need to be sure that in case something goes wrong with a non-periodic task, this will be retried a number of times.
OS: Mac OS X → All
Priority: -- → P1
Hardware: x86 → All
Priority: P1 → P2
Priority: P2 → P3
Marking blocking bug 1176484, since on Heroku all dynos are restarted every 24 hours, so interrupting a task must not causes data loss.
Most of our tasks retry, for the ones that don't the current situation is no worse than the current stage/prod infra.
This isn't specific to Heroku. Tasks that are not periodic and don't yet retry, are: @task(name='publish-job-action') @task(name='publish-resultset-action') @task(name='publish-resultset-runnable-job-action') @task(name='generate-alerts')
No longer blocks: treeherder-heroku-polish
Since comment 4, that list has now shrunk to: @task(name='publish-job-action') @task(name='generate-alerts')
Assignee: nobody → emorley
Status: NEW → ASSIGNED
Attachment #8996330 - Flags: review?(cdawson)
Attachment #8996330 - Flags: review?(cdawson) → review+
Commits pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/e0a9fe9bbf5028b51c842d883f033b913475a7a5 Bug 1113235 - Move custom ETL exceptions to their own module This helps avoid circular import errors in the next commit (via the `treeherder/workers/task.py` import of `MissingPushException`. https://github.com/mozilla/treeherder/commit/9678efc63aff807d2faac28e5a91a8d547f51f0a Bug 1113235 - Make all non-periodic tasks automatically retry Most non-periodic (ie not schedule via celery beat) were already automatically retrying, apart from these two.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: