diff options
author | Jürg Billeter <j@bitron.ch> | 2020-09-17 17:44:50 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2020-12-14 07:35:02 +0100 |
commit | 485bd48d624fa0bc802be23cf3a41097b2fd4abf (patch) | |
tree | 7ea4c01eba83ee6eddc90f0d5d1a518821a908bc | |
parent | ea31fbe6bc5f3fb72bcba4b5425356a3713b5d10 (diff) | |
download | buildstream-485bd48d624fa0bc802be23cf3a41097b2fd4abf.tar.gz |
fetchqueue.py: Don't skip elements with a cached failure
The build queue requires the sources to be available for all elements
where `_cached_success()` returns `False`. This includes elements with a
cached failure.
-rw-r--r-- | src/buildstream/_scheduler/queues/fetchqueue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_scheduler/queues/fetchqueue.py b/src/buildstream/_scheduler/queues/fetchqueue.py index 18bf392d3..3a4183d83 100644 --- a/src/buildstream/_scheduler/queues/fetchqueue.py +++ b/src/buildstream/_scheduler/queues/fetchqueue.py @@ -50,7 +50,7 @@ class FetchQueue(Queue): if not element._can_query_cache(): return QueueStatus.PENDING - if element._cached(): + if element._cached_success(): return QueueStatus.SKIP # This will automatically skip elements which |