Closed Bug 909410 Opened 11 years ago Closed 8 years ago

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

Categories

(Socorro :: Database, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: rhelmer, Unassigned)

References

()

Details

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.
(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
I believe crontabber self-healing is good enough.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.