HelperScripts-for-ProxmoxVE/misc
CanbiZ (MickLesk) 5ee4f4e34b
Some checks are pending
Create Changelog Pull Request / update-changelog-pull-request (push) Waiting to run
Close Discussion on PR Merge / close-discussion (push) Waiting to run
Frontend CI/CD / test-json-files (push) Waiting to run
Frontend CI/CD / build (push) Blocked by required conditions
Frontend CI/CD / deploy (push) Blocked by required conditions
Sync to Gitea / sync (push) Waiting to run
fix(api): prevent duplicate post_to_api submissions (#11836)
Add POST_TO_API_DONE idempotency guard to post_to_api() to prevent
the same telemetry record from being submitted twice with the same
RANDOM_UUID. This mirrors the existing POST_UPDATE_DONE pattern in
post_update_to_api().

post_to_api() is called twice in build.func:
- After storage validation (inside CONTAINER_STORAGE check)
- After create_lxc_container() completes

When both execute, the second call fails with a random_id uniqueness
violation on PocketBase, generating server-side errors.
2026-02-12 13:45:32 +01:00
..
images remove old files and assets (#9991) 2025-12-15 17:37:26 +01:00
alpine-install.func Call get_lxc_ip explicitly after network is up 2026-01-19 17:40:25 +01:00
alpine-tools.func Three-tier defaults system | security improvements | error_handler | improved logging | improved container creation | improved architecture (#9540) 2025-12-04 07:52:18 +01:00
api.func fix(api): prevent duplicate post_to_api submissions (#11836) 2026-02-12 13:45:32 +01:00
build.func core: remove old Go API and extend misc/api.func with new backend (#11822) 2026-02-12 11:55:13 +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 fix(core): spinner misalignment (#11627) 2026-02-06 17:58:50 +01:00
error_handler.func core: remove old Go API and extend misc/api.func with new backend (#11822) 2026-02-12 11:55:13 +01:00
install.func fix(install): run chown in subshell to avoid ERR trap 2026-01-28 14:42:10 +01:00
tools.func fix(hwaccel): add libmfx-gen1.2 to Intel Arc setup for QSV support (#11707) 2026-02-09 11:04:22 +01:00
vm-core.func core: create vm-core.func from dev (#11528) 2026-02-04 11:16:06 +01:00