feat(audit): retain rolling phase0 prune reports

This commit is contained in:
William Valentin
2026-02-27 10:57:00 -08:00
parent 6e7a0aa37f
commit 7988d662e8
10 changed files with 83 additions and 8 deletions
+6 -1
View File
@@ -3,7 +3,8 @@ export type Phase0RollingArtifactFamily =
| 'gateway'
| 'backend_pi_embedded'
| 'backend_native'
| 'backend_drift';
| 'backend_drift'
| 'prune';
export interface Phase0RollingArtifactFile {
file_name: string;
@@ -46,6 +47,10 @@ const FAMILY_PATTERNS: Array<{ family: Phase0RollingArtifactFamily; pattern: Reg
family: 'backend_drift',
pattern: /^phase0_baseline_live_backend_drift_(\d{4}-\d{2}-\d{2}-\d{6})\.(json|md)$/,
},
{
family: 'prune',
pattern: /^phase0_baseline_live_prune_(\d{4}-\d{2}-\d{2}-\d{6})\.(json|md)$/,
},
];
function parseRollingTagTimestampMs(tag: string): number | undefined {