Autobuild is not correctly triggered when last build is a failed one
newgene opened this issue · 1 comments
newgene commented
When autobuild
is provided in a build configuration, a new build will be triggered if new versions of the data sources in this build.
This is the place where this check happens. However, looks like when the last build is not a success one, whatsnew
method does not correctly detects available new data sources, so no new build is triggered:
biothings.api/biothings/hub/databuild/builder.py
Line 1529 in d3a001a
The correct logic should be checking the last successful build, instead of just the last build.