feat(federation): add needs_attention_reason 'repeer_incomplete' (BUG-2 prep)
This commit is contained in:
@@ -40,7 +40,7 @@ interface SanitizedPeer {
|
||||
rotationInProgress: boolean;
|
||||
secretRotatedAt: number | null;
|
||||
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 {
|
||||
|
||||
@@ -1188,7 +1188,7 @@ export interface FederationPeer {
|
||||
secretRotatedAt: number | null;
|
||||
rotationInProgress: boolean;
|
||||
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) ──────────
|
||||
|
||||
Reference in New Issue
Block a user