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

fix: set a more reasonable value for bitrisescript average_task_duration #159

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

Conversation

ahal
Copy link
Contributor

@ahal ahal commented Apr 16, 2024

It's impossible to know the average task duration of these workers, because they entirely depend on how long the workflows take in Bitrise. It could be one minute or multiple hours. But 30 minutes seems like a reasonable middle ground.

Also bump up the SLO value so we don't spin up new nodes as quickly.

Pull Request checklist

  • The pools exist: The pools not only need to exist as configuration items in cloudops-infra, k8s-sops, and scriptworker-scripts, but the pools referenced in k8s-autoscale also need to be currently deployed and able to claim tasks.

It's impossible to know the average task duration of these workers,
because they entirely depend on how long the workflows take in Bitrise.
It could be one minute or multiple hours. But 30 minutes seems like a
reasonable middle ground.

Also bump up the SLO value so we don't spin up new nodes as quickly.
@ahal ahal self-assigned this Apr 16, 2024
@ahal ahal requested a review from a team April 16, 2024 14:49
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