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:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-08 21:39:36 -04:00
1 parent e562444487
commit 3849b96192
17 files changed
+20 -220

No files matched your search

@@ -0,0 +1,10 @@
// Chaos drills scored configuration rows as fault handling and never injected a fault; their flag and the signals they wrote go with them.
export const dropChaosDrillsSchema = `
drop table if exists chaos_drill_runs;
drop table if exists chaos_drills;
delete from feature_flags where key = 'chaos_drills';
delete from operational_events where source = 'chaos_drill';
insert into schema_migrations(version, name, applied_at)
values (96, 'drop_chaos_drills', datetime('now'));
`;
+2
View File
@@ -94,6 +94,7 @@ import { runActionTargetsSchema } from "./migrations/092-run-action-targets";
import { taskEnqueueErrorSchema } from "./migrations/093-task-enqueue-error";
import { dropConfigCountEvalsSchema } from "./migrations/094-drop-config-count-evals";
import { dropPrBotGatesSchema } from "./migrations/095-drop-pr-bot-gates";
import { dropChaosDrillsSchema } from "./migrations/096-drop-chaos-drills";
interface Migration {
version: number;
@@ -197,6 +198,7 @@ const MIGRATIONS: Migration[] = [
{ version: 93, name: "task_enqueue_error", sql: taskEnqueueErrorSchema },
{ version: 94, name: "drop_config_count_evals", sql: dropConfigCountEvalsSchema },
{ version: 95, name: "drop_pr_bot_gates", sql: dropPrBotGatesSchema },
{ version: 96, name: "drop_chaos_drills", sql: dropChaosDrillsSchema },
];
const SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1].version;