trigger to backfill when ADU comes in (only for broken ones)

RESOLVED WONTFIX

Status

Socorro
Database
RESOLVED WONTFIX
5 years ago
2 years ago

People

(Reporter: rhelmer, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

5 years ago
Bug 909409 will give us a way to mark jobs as broken - we need something in place that notices when these get fixed. At the workweek breakouts we discussed using a trigger which would watch incoming ADU data and only backfill if the job was marked as broken.
What's the API for this supposed to be you think?

Would the likes of Selena go on the command line something like::

  python socorro/cron/crontabber.py --when-success=my-app-name:2013-08-08 --trigger='some.python.module.function'

That's a ludicrous example but stirs the thought hopefully. 
Or, should it be that you specify an email address in the job/app that gets emailed when a fail count goes from >1 to 0. Also a bit ludicrous because that's adding many more moving parts.
(Reporter)

Comment 2

5 years ago
(In reply to Peter Bengtsson [:peterbe] from comment #1)
> What's the API for this supposed to be you think?
> 
> Would the likes of Selena go on the command line something like::
> 
>   python socorro/cron/crontabber.py --when-success=my-app-name:2013-08-08
> --trigger='some.python.module.function'
> 
> That's a ludicrous example but stirs the thought hopefully. 
> Or, should it be that you specify an email address in the job/app that gets
> emailed when a fail count goes from >1 to 0. Also a bit ludicrous because
> that's adding many more moving parts.

This bug is about the trigger to auto-backfill inside postgres after the above has been done; I filed bug 909409 for the implementation of the above.
Assignee: sdeckelmann → nobody

Comment 3

2 years ago
I believe crontabber self-healing is good enough.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.