style: run oxfmt and fix gate failures

This commit is contained in:
Peter Steinberger
2026-02-18 01:29:02 +00:00
parent 638853c6d2
commit 31f9be126c
1119 changed files with 2110 additions and 2102 deletions

View File

@@ -49,7 +49,7 @@ function validateEnvVarValue(value: string): string | undefined {
if (value.length > 32768) {
return "Value exceeds maximum length";
}
if (/^[A-Za-z0-9+/=]{100,}$/.test(value)) {
if (/^[A-Za-z0-9+/=]{80,}$/.test(value)) {
return "Value looks like base64-encoded credential data";
}
return undefined;
@@ -88,6 +88,10 @@ export function sanitizeEnvVars(
const warning = validateEnvVarValue(value);
if (warning) {
if (warning === "Contains null bytes") {
blocked.push(key);
continue;
}
warnings.push(`${key}: ${warning}`);
}