Windows 0.3.6 runtime preflight and update download reliability source delta; connection fixes retained; no private history or other platform changes

This commit is contained in:
2026-11-06 15:28:10 +00:00
parent 23a87387b8
commit ac40dd3a6c
18 changed files with 599 additions and 58 deletions
+3
View File
@@ -68,6 +68,9 @@ internal static class UpdateSelfTest
};
try
{
report["largest_allowed_package_fits_slow_200kib_link_with_headroom"] = ClientUpdater.DefaultTotalTimeout
>= TimeSpan.FromSeconds(200.0 * 1024 * 1024 / (200 * 1024) + 60);
report["update_total_deadline_remains_bounded"] = ClientUpdater.DefaultTotalTimeout <= TimeSpan.FromMinutes(20);
var bytes = RandomNumberGenerator.GetBytes(300_000); // Test data, not an executable.
var hash = Convert.ToHexString(SHA256.HashData(bytes));
ClientUpdateInfo Info(string digest, bool available = true) => new() {