feat(phase-30): add coverage snapshots, temporal comparison and auto re-testing (T-230 to T-232)
This commit is contained in:
@@ -204,6 +204,26 @@ export async function getTestTimeline(
|
||||
return data;
|
||||
}
|
||||
|
||||
// ── Retest Chain ────────────────────────────────────────────────────
|
||||
|
||||
export interface RetestChainEntry {
|
||||
id: string;
|
||||
name: string;
|
||||
state: string | null;
|
||||
retest_of: string | null;
|
||||
retest_count: number;
|
||||
result: string | null;
|
||||
detection_result: string | null;
|
||||
remediation_status: string | null;
|
||||
created_at: string | null;
|
||||
}
|
||||
|
||||
/** Get the full retest chain for a test. */
|
||||
export async function getRetestChain(testId: string): Promise<RetestChainEntry[]> {
|
||||
const { data } = await client.get<RetestChainEntry[]>(`/tests/${testId}/retest-chain`);
|
||||
return data;
|
||||
}
|
||||
|
||||
// ── Legacy (kept for backwards compat) ─────────────────────────────
|
||||
|
||||
/** Validate a test (legacy endpoint). */
|
||||
|
||||
Reference in New Issue
Block a user