Q133: remove chaos drills that never injected a fault, and the signals they wrote
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e562444487
commit
3849b96192
17 files changed
+20
-220
No files matched your search
@@ -4,7 +4,6 @@ export const FEATURE_FLAG_KEY = {
|
||||
PROVIDER_BACKGROUND_EXECUTION: "provider_background_execution",
|
||||
SOCIAL_PUBLISH_APPROVAL: "social_publish_approval",
|
||||
BOARD_INTERVENTION: "board_intervention",
|
||||
CHAOS_DRILLS: "chaos_drills",
|
||||
} as const;
|
||||
|
||||
export const SLO_SIGNAL_KEY = {
|
||||
@@ -15,19 +14,8 @@ export const SLO_SIGNAL_KEY = {
|
||||
MIGRATION_VALIDATION_SUCCESS: "migration_validation_success",
|
||||
} as const;
|
||||
|
||||
export const CHAOS_DRILL_SCENARIO = {
|
||||
PROVIDER_OUTAGE_POLICY_GATE: "provider_outage_policy_gate",
|
||||
APPROVAL_BACKLOG_GATE: "approval_backlog_gate",
|
||||
BROWSER_SESSION_BOUNDARY: "browser_session_boundary",
|
||||
MIGRATION_ROLLBACK_PACK: "migration_rollback_pack",
|
||||
} as const;
|
||||
|
||||
export const CHAOS_DRILL_STATE = { PASSED: "passed", FAILED: "failed" } as const;
|
||||
|
||||
export type FeatureFlagKey = ValueOf<typeof FEATURE_FLAG_KEY>;
|
||||
export type SloSignalKey = ValueOf<typeof SLO_SIGNAL_KEY>;
|
||||
export type ChaosDrillScenario = ValueOf<typeof CHAOS_DRILL_SCENARIO>;
|
||||
export type ChaosDrillState = ValueOf<typeof CHAOS_DRILL_STATE>;
|
||||
|
||||
export interface FeatureFlagRecord {
|
||||
id: string; orgId: string; key: FeatureFlagKey; label: string; enabled: boolean; createdAt: string; updatedAt: string;
|
||||
@@ -40,11 +28,3 @@ export interface SloTargetRecord {
|
||||
export interface OperationalEventRecord {
|
||||
id: string; orgId: string; signalKey: SloSignalKey; source: string; success: boolean; durationMs: number | null; detailJson: string; createdAt: string;
|
||||
}
|
||||
|
||||
export interface ChaosDrillRecord {
|
||||
id: string; orgId: string; key: string; label: string; scenarioKey: ChaosDrillScenario; enabled: boolean; createdAt: string; updatedAt: string;
|
||||
}
|
||||
|
||||
export interface ChaosDrillRunRecord {
|
||||
id: string; orgId: string; drillId: string; state: ChaosDrillState; resultJson: string; startedAt: string; completedAt: string;
|
||||
}
|
||||
Reference in new issue
Block a user