oxidecomputer / oxidecomputer/oxide-gha-runner-scale-set-controller
Drain should ignore grace timeout
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Drain mode respects the grace timeout where it won't try to drain a runner until the runner is at least 5 minutes old according to its creation time. This can delay drain for newly created runners.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the drain-mode handling and the grace-timeout logic in the controller, then trace how a runner's creation time affects drain eligibility. Verify the behavior for newly created runners and add or update the relevant tests so drain mode no longer waits five minutes before attempting the drain.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100