Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bazelbot: don't run bot if already running #5357

Open
codyoss opened this issue Jun 20, 2024 · 0 comments
Open

bazelbot: don't run bot if already running #5357

codyoss opened this issue Jun 20, 2024 · 0 comments
Assignees
Labels
bot: bazel bot priority: p2 Moderately-important priority. Fix may not be included in next release. type: cleanup An internal cleanup or hygiene concern.

Comments

@codyoss
Copy link
Member

codyoss commented Jun 20, 2024

Sometimes today we get into cases where the processing time exceeds the schedule we run bazelbot at. When this happens we can run multiple bazelbots and get into cases that there is contention between certain commits and it causes some of the runs to fail. We should limit the executions of some of these long builds so that only one instance is ran at a time. Maybe a distributed lock, maybe a feature of one of the services we are using, I am not quite sure the best approach to take here.

@codyoss codyoss added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p2 Moderately-important priority. Fix may not be included in next release. bot: bazel bot labels Jun 20, 2024
@codyoss codyoss assigned codyoss and unassigned chingor13 Jun 21, 2024
@codyoss codyoss added type: cleanup An internal cleanup or hygiene concern. and removed type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: bazel bot priority: p2 Moderately-important priority. Fix may not be included in next release. type: cleanup An internal cleanup or hygiene concern.
Projects
None yet
Development

No branches or pull requests

2 participants