Skip to content

DO NOT MERGE: Stub PR for build testing #4375

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tmbgreaves
Copy link
Contributor

DO NOT MERGE

This is a stub PR to check the processes that result from a PR build, towards the goal of being able to detect, on the builder, whether there's an ongoing build. This is in response to an air conditioning failure in the room where the Firedrake builders are hosted, which is currently under severe thermal (over)load and needs systems to be throttled or powered down from time to time.

This is a minimal change so that push requests build on the branch. The goal of the branch is to simulate a pull request build from a 'real' branch, but in a way that (if the build is cancelled) doesn't make a mess of useful build history.
@dham
Copy link
Member

dham commented Jun 14, 2025

Hi Tim,

I assume you've seen this REST API call that directly tells you if a builder is busy: https://docs.github.com/en/rest/actions/self-hosted-runners?apiVersion=2022-11-28

@tmbgreaves
Copy link
Contributor Author

Thanks David! I'd been in two minds whether to use the API or not - on the one hand, it's a the neater way to get the status, on the other hand it duplicates checks as the runner picks up jobs from two organisations, needing two API calls and two PATs, as opposed to one check on the runner to see if there are worker processes spawned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants