mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 01:10:23 +08:00
refactor(pool): 移除调度多维评分详情,简化为 reasons 摘要
移除 scheduling_score、candidate_eligible、scheduling_dimensions 等字段, 前后端统一使用 scheduling_reasons 展示调度状态,精简号池列表信息密度。
This commit is contained in:
@@ -142,11 +142,6 @@ export interface PoolKeyDetail {
|
||||
| string
|
||||
scheduling_label?: string
|
||||
scheduling_reasons?: PoolSchedulingReason[]
|
||||
scheduling_score?: number
|
||||
candidate_eligible?: boolean
|
||||
scheduling_blocked_count?: number
|
||||
scheduling_degraded_count?: number
|
||||
scheduling_dimensions?: PoolSchedulingDimension[]
|
||||
}
|
||||
|
||||
export interface PoolSchedulingReason {
|
||||
@@ -158,18 +153,6 @@ export interface PoolSchedulingReason {
|
||||
detail?: string | null
|
||||
}
|
||||
|
||||
export interface PoolSchedulingDimension {
|
||||
code: string
|
||||
label: string
|
||||
status: 'ok' | 'degraded' | 'blocked' | string
|
||||
blocking: boolean
|
||||
source: 'manual' | 'pool' | 'health' | 'policy' | string
|
||||
weight: number
|
||||
score: number
|
||||
ttl_seconds?: number | null
|
||||
detail?: string | null
|
||||
}
|
||||
|
||||
export interface PoolKeysPageResponse {
|
||||
total: number
|
||||
page: number
|
||||
|
||||
Reference in New Issue
Block a user