diff options
Diffstat (limited to 'src/buildstream/_stream.py')
-rw-r--r-- | src/buildstream/_stream.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/buildstream/_stream.py b/src/buildstream/_stream.py index af0537fe1..0a055a76d 100644 --- a/src/buildstream/_stream.py +++ b/src/buildstream/_stream.py @@ -1299,7 +1299,11 @@ class Stream: # def _enqueue_plan(self, plan, *, queue=None): queue = queue or self.queues[0] - queue.enqueue(plan) + + with self._context.messenger.simple_task("Preparing work plan") as task: + task.set_maximum_progress(len(plan)) + queue.enqueue(plan, task) + self.session_elements += plan # _failure_retry() |