oxidecomputer / oxidecomputer/oxide-gha-runner-scale-set-controller

Drain should ignore grace timeout

Open
#12 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement GitHub Actions Runner Scale Set Controller
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.