diff options
Diffstat (limited to 'zuul/executor/client.py')
-rw-r--r-- | zuul/executor/client.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zuul/executor/client.py b/zuul/executor/client.py index 9aa38cbca..41e5e6916 100644 --- a/zuul/executor/client.py +++ b/zuul/executor/client.py @@ -118,6 +118,11 @@ class ExecutorClient(object): # Store the NodeRequest ID in the job arguments, so we can look it up # on the executor side to lock the nodes. req_id = build.build_set.getJobNodeRequestID(job.name) + if isinstance(req_id, dict): + # This should never happen + raise Exception( + "Attempt to start build with deduplicated node request ID " + f"{req_id}") if req_id: params["noderequest_id"] = req_id |