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-22 13:02:07 +0100 |
commit | fb47c892f072fed1eb0870d5fc84ed88fec48276 (patch) | |
tree | 0ef93217093480edfce22796b80a149e27fefb5a | |
parent | a2ef29b0c891e284db0f8007599920c0a71929af (diff) | |
download | buildstream-fb47c892f072fed1eb0870d5fc84ed88fec48276.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 |