-
- Downloads
_exceptions.py: Modify BstError API to allow optional retry
job.py: Changes to the logic surrounding retry attempts and child process return codes element.py, source.py: ElementError and SourceError also implement this change. These exceptions now have an optional parameter of temporary which defaults to false. This will potentially break backwards compatibility where exceptions were previously raised and a retry was intended. To trigger a retry, one must now raise their SourceError or ElementError with temporary=True. This aims to fix #397.
parent
61273070
No related branches found
No related tags found
Showing
- buildstream/_exceptions.py 6 additions, 1 deletionbuildstream/_exceptions.py
- buildstream/_scheduler/jobs/job.py 28 additions, 8 deletionsbuildstream/_scheduler/jobs/job.py
- buildstream/element.py 3 additions, 2 deletionsbuildstream/element.py
- buildstream/source.py 3 additions, 2 deletionsbuildstream/source.py
Loading
Please register or sign in to comment