You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by "abderrahim (via GitHub)" <gi...@apache.org> on 2025/04/05 07:48:02 UTC
Re: [I] BuildStream doesn't quit on ctrl+c then `quit` [buildstream]
abderrahim commented on issue #1787:
URL: https://github.com/apache/buildstream/issues/1787#issuecomment-2780487080
So I took the time to go down this rabbit hole. What's happening here is that are "ready" in the build queue but haven't been scheduled yet (waiting for resources) will still be scheduled even after the quit command is issued.
More specifically, at https://github.com/apache/buildstream/blob/6c06e1b117a13076cbccbd6f6a2b5f833322ba60/src/buildstream/_scheduler/scheduler.py#L389 all considered queues (including the build queue) are harvested for ready jobs, and those jobs are scheduled.
https://github.com/apache/buildstream/pull/2005 is my attempt to fix this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@buildstream.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org