From 6ad7059a33c848597d3cb19583eeca1c81f8a25b Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Wed, 8 Apr 2026 10:05:09 -0500 Subject: [PATCH] add error allowlist file for error collector --- web/e2e/fixtures/error-allowlist.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 web/e2e/fixtures/error-allowlist.ts diff --git a/web/e2e/fixtures/error-allowlist.ts b/web/e2e/fixtures/error-allowlist.ts new file mode 100644 index 0000000000..738c55c1d0 --- /dev/null +++ b/web/e2e/fixtures/error-allowlist.ts @@ -0,0 +1,16 @@ +/** + * Global allowlist of regex patterns that the error collector ignores. + * + * Each entry MUST include a comment explaining what it silences and why. + * The allowlist is filtered at collection time, so failure messages list + * only unfiltered errors. + * + * Per-spec additions go through the `expectedErrors` test fixture parameter + * (see error-collector.ts), not by editing this file. That keeps allowlist + * drift visible per-PR rather than buried in shared infrastructure. + */ + +export const GLOBAL_ALLOWLIST: RegExp[] = [ + // No global entries yet. Add only after triaging which errors are + // genuinely benign (e.g. dev-server pings) and which are real bugs. +];