feat(federation): add needs_attention_reason 'repeer_incomplete' (BUG-2 prep)
This commit is contained in:
@@ -40,7 +40,7 @@ interface SanitizedPeer {
|
|||||||
rotationInProgress: boolean;
|
rotationInProgress: boolean;
|
||||||
secretRotatedAt: number | null;
|
secretRotatedAt: number | null;
|
||||||
autoRotateIntervalDays: number;
|
autoRotateIntervalDays: number;
|
||||||
needsAttentionReason: 'auth_failures' | 'peer_reset_detected' | null;
|
needsAttentionReason: 'auth_failures' | 'peer_reset_detected' | 'repeer_incomplete' | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
function sanitizePeer(row: typeof schema.federationPeers.$inferSelect): SanitizedPeer {
|
function sanitizePeer(row: typeof schema.federationPeers.$inferSelect): SanitizedPeer {
|
||||||
|
|||||||
@@ -1188,7 +1188,7 @@ export interface FederationPeer {
|
|||||||
secretRotatedAt: number | null;
|
secretRotatedAt: number | null;
|
||||||
rotationInProgress: boolean;
|
rotationInProgress: boolean;
|
||||||
createdAt: number;
|
createdAt: number;
|
||||||
needsAttentionReason: 'auth_failures' | 'peer_reset_detected' | null;
|
needsAttentionReason: 'auth_failures' | 'peer_reset_detected' | 'repeer_incomplete' | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ─── Reset-cleanup admin surface (instance-epoch self-healing §6.4) ──────────
|
// ─── Reset-cleanup admin surface (instance-epoch self-healing §6.4) ──────────
|
||||||
|
|||||||
Reference in New Issue
Block a user