Skip to content

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

Open
ahal wants to merge 1 commit intomozilla-releng:mainfrom
ahal:bitrisescript_average_task_duration
Open

fix: set a more reasonable value for bitrisescript average_task_duration#159
ahal wants to merge 1 commit intomozilla-releng:mainfrom
ahal:bitrisescript_average_task_duration

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
@Eijebong Eijebong changed the base branch from master to main June 13, 2025 12:16
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