feat(telemetry): add a safe input_format tag to worker error reports (#541)

Every worker tool error now carries an input_format tag (file extension only, never the filename) for triage, derived once at the worker error path and added to the scrubber allowlist.
This commit is contained in:
SnapOtter
2026-07-16 19:27:16 +08:00
committed by GitHub
parent 631d82eaae
commit 281b4a06e3
5 changed files with 33 additions and 2 deletions
+1
View File
@@ -22,6 +22,7 @@ const TAG_ALLOWLIST = new Set([
"deploy_mode",
"subsystem",
"status_code",
"input_format",
]);
const URL_RE = /https?:\/\/[^\s"')]+/g;