build: make release restore reproducible

This commit is contained in:
Erik 2026-08-18 10:29:00 +02:00
parent b459e0cf0c
commit c38f6b8852
129 changed files with 16810 additions and 188 deletions

View file

@ -217,7 +217,7 @@ public class DatConcurrencyStressTests
private static Golden ReadRaw(DatCollection dats, FileRef r)
{
var db = Db(dats, r.Source);
if (!db.TryGetFileBytes(r.Id, out byte[] bytes))
if (!db.TryGetFileBytes(r.Id, out byte[]? bytes) || bytes is null)
return new Golden(false, 0, 0);
return new Golden(true, bytes.Length, Fnv(bytes));
}