Skip to content

Ensure lock for builds when listing jobs via debug api

Arran Walker requested to merge ajwalker/fix-build-list-lock into main

What does this MR do?

Uses the mutex we have for accessing b.builds.

Why was this MR needed?

Everything else accessing b.builds uses this lock.

What's the best way to test this MR?

Ensure jobs list still works.

What are the relevant issue numbers?

Merge request reports