From 308ff624cf990da279c073dbcf866fd3cca81287 Mon Sep 17 00:00:00 2001 From: David Santos Date: Fri, 17 Jul 2026 23:02:36 +0000 Subject: [PATCH] =?UTF-8?q?fix(noise):=20remove=20stale=5Fbundle=5F*=20rul?= =?UTF-8?q?es=20=E2=80=94=20functions=20no=20longer=20exist=20(BIT-26793)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit switchSelectionEditorTab and descriptionEditorReady are absent from the current codebase; continuing to suppress ReferenceErrors for these names would silently hide real errors if the names were ever reused. Ruleset bumped to 1.0.7. --- ingest-api/src/lib/noisePolicy.ts | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/ingest-api/src/lib/noisePolicy.ts b/ingest-api/src/lib/noisePolicy.ts index b6d2178..8da3e8c 100644 --- a/ingest-api/src/lib/noisePolicy.ts +++ b/ingest-api/src/lib/noisePolicy.ts @@ -4,7 +4,7 @@ import { normalizeLevelToSeverity } from "./normalize.js"; * Versioned ruleset id (document in release notes when rules change). * Rule inventory and validation steps: `docs/operations/ingest-hardening-runbook.md`. */ -export const NOISE_RULESET_VERSION = "1.0.6"; +export const NOISE_RULESET_VERSION = "1.0.7"; export type NoiseEvaluation = | { matched: false } @@ -104,18 +104,6 @@ const _RULES: NoiseRule[] = [ "Uncaught TypeError: Cannot read properties of undefined (reading 'after')", ), }, - { - id: "stale_bundle_switch_selection_tab", - reason: "filtered_stale_frontend_bundle_noise", - match: (i) => - i.message.includes("Uncaught ReferenceError: switchSelectionEditorTab is not defined"), - }, - { - id: "stale_bundle_description_editor_ready", - reason: "filtered_stale_frontend_bundle_noise", - match: (i) => - i.message.includes("Uncaught ReferenceError: descriptionEditorReady is not defined"), - }, { id: "transient_parser_promise", reason: "filtered_transient_frontend_noise",