Merge ~sylvain-pineau/checkbox-ng:remote-auto-retry into checkbox-ng:master
Proposed by
Sylvain Pineau
Status: | Merged |
---|---|
Approved by: | Sylvain Pineau |
Approved revision: | a354f92851528d9a68f45ccb6f70f1468e4b7124 |
Merged at revision: | 304e2bf4fc293f19e9dec111169c601835fe591d |
Proposed branch: | ~sylvain-pineau/checkbox-ng:remote-auto-retry |
Merge into: | checkbox-ng:master |
Diff against target: |
194 lines (+112/-45) 2 files modified
checkbox_ng/launcher/remote.py (+67/-44) plainbox/impl/session/remote_assistant.py (+45/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Maciej Kisielewski (community) | Approve | ||
Review via email: mp+362077@code.launchpad.net |
Description of the change
Support for auto-retry of failed jobs, as set in launchers:
[ui]
auto_retry = yes
max_attempts = 5
delay_before_retry = 30
Nota: Since the delay_before_retry is handled on master side, disconnecting the master when rerunning jobs does not let them run on slave. We have to reconnect to continue.
To post a comment you must log in.
Code looks good. I'm +1 on landing it. It'll get tested heavily on my extended ctrl+c support branch, so we can iterate on it quickly if something goes bad.