fix(noise): remove stale_bundle_* rules — functions no longer exist (BIT-26793)
CI / Test ingest-api (push) Successful in 54s
CI / Test api (push) Successful in 58s
CI / Lint and typecheck admin-ui (push) Successful in 1m29s
CI / Validate Docker build (push) Successful in 5m0s

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.
This commit is contained in:
David Santos committed 2026-07-17 23:02:36 +00:00
1 parent 23704d2e59
commit 308ff624cf
1 file changed
+1 -13
+1 -13
View File
@@ -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",