HelperScripts-for-ProxmoxVE/misc
CanbiZ (MickLesk) 86c658909a Classify exit-1 errors & guard telemetry
Analyze logs for generic exit code 1 and export an ERROR_CATEGORY_OVERRIDE so telemetry receives a more accurate error category (apt, oom, network, storage, dependency). Preserve any existing TELEMETRY_TYPE when posting updates. Add defense-in-depth by disabling strict error traps before running grep/sed log analysis to avoid spurious error_handler invocations. Mark successful installs with INSTALL_COMPLETE and update the error handler to only report a successful "done" telemetry state when INSTALL_COMPLETE is explicitly set, preventing false-positive success reports from early zero-exit exits.
2026-03-24 09:57:43 +01:00
..
images remove old files and assets (#9991) 2025-12-15 17:37:26 +01:00
alpine-install.func Improve network connectivity and DNS checks (#13222) 2026-03-23 20:43:48 +01:00
alpine-tools.func tools.func: persist /usr/local/bin in shell PATHs (#11970) 2026-02-16 10:30:05 +01:00
api.func Classify exit-1 errors & guard telemetry 2026-03-24 09:57:43 +01:00
build.func Classify exit-1 errors & guard telemetry 2026-03-24 09:57:43 +01:00
cloud-init.func feat(cloud-init): add interactive SSH key discovery and selection (#11547) 2026-02-05 08:11:13 +01:00
core.func core: standardize exit codes and add mappings (#12467) 2026-03-02 10:55:20 +01:00
error_handler.func Classify exit-1 errors & guard telemetry 2026-03-24 09:57:43 +01:00
install.func core: harden shell scripts against injection and insecure permissions (#13239) 2026-03-23 22:22:23 +01:00
tools.func core: harden shell scripts against injection and insecure permissions (#13239) 2026-03-23 22:22:23 +01:00
vm-core.func core: standardize exit codes and add mappings (#12467) 2026-03-02 10:55:20 +01:00