CodeQL go/incorrect-integer-conversion flagged int(start) after ParseUint: the bound guard compared against a runtime MaxInt variable, which the analyzer cannot evaluate. Parse the start value directly with Atoi so no narrowing conversion remains, keep the 32-bit ID-space bounds as explicit constants, and add range tests.
Add offline disk growth and managed data disks, portable full backups and
restore, independent clones and batch instance templates, and local ISO
and QCOW2 uploads. Persist task details and metric history in SQLite.
Replace hand-drawn host and instance charts with shadcn/ui Chart and
Recharts, keep numeric values and units together, and preserve responsive
layouts, icons, time ranges and full-sample statistics.
Validation: backend tests and vet; Linux KVM/LXC/API/config/server tests;
frontend and documentation production builds; real disk, reinstall,
backup, clone, upload, task-history and NAT tests; 37 cross-host restore
checks; responsive chart checks and read-only deployed verification.
Guest Windows restore behavior has not been tested on a running Windows VM.
Support blank-disk KVM creation, persisted ISO mounting and boot order,
scoped installation-media APIs, and lifecycle queue coordination.
Rework image downloads and third-party sources, add a step-based creation
wizard, and improve responsive dialogs, VNC controls and workload icons.
Keep LAN NAT endpoints usable and reject invalid firewall updates atomically.
Validation: frontend production build; go test ./...; real Alpine ISO disk
installation, DHCP/DNS/HTTPS and TCP/UDP NAT checks across guest restart;
responsive UI and deployed read-only regression checks.
Require explicit server approval for private image origins, pin and validate every connection and redirect, preserve HTTPS hostname verification, and require administrator capability for versioned image management. Update docs Vite to 6.4.5 and nanoid to 3.3.20.
Validation: full Go tests and vet; Windows/Linux security regressions; real HTTPS redirect download with certificate verification; docs build and npm audit (zero vulnerabilities); amd64/arm64 CI builds; CodeQL Go, JS/TS and Actions all report zero alerts. Private mirrors now require CLICD_IMAGE_MIRROR_ORIGINS, as documented.
Cancel and join active KVM initialization before deletion, preserve stable cleanup IDs, and require shutdown/undefine success before removing disks. Use Windows QCOW2 overlays with disk-only boot, preserve ISO installation, normalize Windows metadata, and format IPv6 bind addresses correctly.
Validation: Windows and Linux backend tests; go vet; real KVM Windows golden boot; deletion while concurrency=1 is occupied. Add backend tests to the Build workflow and document BIOS and golden-image configuration limits.
The unattend FirstLogonCommands runs via 'cmd.exe /c' (command-line context),
where a FOR loop variable must be %d, not the batch-file form %%d. The %%d
form raised '%%d was unexpected at this time', so the else branch that locates
and runs FirstLogon.ps1 from the unattend ISO never executed.
Combined with $OEM$ not being processed from a separate ISO (so
C:\CLICD\FirstLogon.ps1 is never staged), the entire Windows post-install
init was skipped: RDP was never enabled, the firewall was never opened, and
the network profile stayed Public, so the guest dropped all inbound traffic.
The host NAT DNAT for 3389 was correct, but the guest silently dropped it,
making the mapping appear to have no effect.
- Implement tests for custom KVM and LXC image creation, ensuring invalid sources and architecture mismatches are rejected.
- Introduce access policy management in CLI, allowing configuration of allowed sources and trusted proxies.
- Add NAT network configuration with validation for RFC1918 compliance and subnet parsing.
- Create panel access policy management, including normalization and evaluation of access decisions based on client IPs and forwarded headers.
- Develop middleware for enforcing access policies in the server, returning appropriate responses for allowed and denied requests.
- Enhance custom image downloading and validation, ensuring integrity and security of downloaded root filesystem archives.
- Include comprehensive tests for all new functionalities to ensure reliability and correctness.