aboutsummaryrefslogtreecommitdiff
path: root/guix-build-coordinator/build-allocator.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix-build-coordinator/build-allocator.scm')
-rw-r--r--guix-build-coordinator/build-allocator.scm16
1 files changed, 6 insertions, 10 deletions
diff --git a/guix-build-coordinator/build-allocator.scm b/guix-build-coordinator/build-allocator.scm
index f73c457..58e5301 100644
--- a/guix-build-coordinator/build-allocator.scm
+++ b/guix-build-coordinator/build-allocator.scm
@@ -352,20 +352,13 @@
#:label-values `((system . ,system)))))
counts)))
- ;; Go through the setup failures and look specifically at the
- ;; missing_inputs ones. Eliminate any missing_inputs failures if all the
- ;; missing inputs appear to have been built successfully, and update the
+ ;; Go through the setup failures and update the
;; derived-build-priorities-hash to reflect the priorities of builds based
;; on the builds that would be "unblocked" if they were completed.
(for-each
(lambda (setup-failure-build-id)
(let ((setup-failures
- (filter
- (lambda (setup-failure)
- (string=? "missing_inputs"
- (assq-ref setup-failure 'failure-reason)))
- (hash-ref setup-failures-hash
- setup-failure-build-id)))
+ (hash-ref setup-failures-hash setup-failure-build-id))
(setup-failure-build-derived-priority
(hash-ref derived-build-priorities-hash
setup-failure-build-id)))
@@ -538,7 +531,10 @@
(assq-ref setup-failure 'failure-reason)))
(cond
((string=? failure-reason "missing_inputs")
- #f)
+ ;; This problem might go away, but just don't try the same agent
+ ;; again for now.
+ (string=? (assq-ref setup-failure 'agent-id)
+ agent-id))
((string=? failure-reason "could_not_delete_outputs")
;; This problem might go away, but just don't try the same agent
;; again for now.