DrainStatus
Defined in: src/drain.ts:80
Live per-repo drain status pushed to the client (and used for bootstrap).
Properties
Section titled “Properties”detail
Section titled “detail”detail:
string|null
Defined in: src/drain.ts:88
HoldReason.detail (a desig or pct) when holding; else null.
enabled
Section titled “enabled”enabled:
boolean
Defined in: src/drain.ts:82
epicParent
Section titled “epicParent”epicParent:
number|null
Defined in: src/drain.ts:96
Parent issue number when an epic is running; null in label-mode.
inFlight
Section titled “inFlight”inFlight:
number
Defined in: src/drain.ts:92
Non-archived auto sessions for the repo (counts toward cap).
max:
number
Defined in: src/drain.ts:94
maxAuto.
paused
Section titled “paused”paused:
boolean
Defined in: src/drain.ts:84
Held on trouble (blocked / changes_requested / error) — an operator banner.
queued
Section titled “queued”queued:
number
Defined in: src/drain.ts:90
Candidate issues not yet mapped to a session.
reason
Section titled “reason”reason:
string|null
Defined in: src/drain.ts:86
The HoldReason.code when holding; null while active (spawning/retiring).
repoPath
Section titled “repoPath”repoPath:
string
Defined in: src/drain.ts:81