mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-22 10:32:40 +08:00
feat(ql3): establish 3.0 incubation baseline
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
/** Bounds one startup recovery observation independently of the local Profile. */
|
||||
export const MAX_LOCAL_RUN_STARTUP_RECOVERY_CANDIDATES = 256;
|
||||
|
||||
export type LocalRunStartupRecoveryStatus = 'dispatching' | 'running';
|
||||
|
||||
export interface LocalRunStartupRecoveryCandidate {
|
||||
readonly runId: string;
|
||||
readonly runStatus: LocalRunStartupRecoveryStatus;
|
||||
readonly activeAttemptCount: number;
|
||||
}
|
||||
|
||||
export interface LocalRunStartupRecoveryPage {
|
||||
readonly candidates: readonly LocalRunStartupRecoveryCandidate[];
|
||||
readonly truncated: boolean;
|
||||
}
|
||||
|
||||
export interface LocalRunStartupRecoverySource {
|
||||
inspectCandidates(options?: {
|
||||
readonly limit?: number;
|
||||
}): Promise<LocalRunStartupRecoveryPage>;
|
||||
}
|
||||
Reference in New Issue
Block a user