From 4f3b179f32ff9754d807814adea77bcbc3298075 Mon Sep 17 00:00:00 2001 From: "OpenGenesis (MPL 2.0)" <153564363+opengenesislink@users.noreply.github.com> Date: Wed, 4 Nov 2026 10:24:56 +0100 Subject: [PATCH] ci(iar): guard native inspector size limits against 1GiB regression --- tools/ci/verify_iar_progress.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/ci/verify_iar_progress.py b/tools/ci/verify_iar_progress.py index fca43d04..f69acd8f 100644 --- a/tools/ci/verify_iar_progress.py +++ b/tools/ci/verify_iar_progress.py @@ -38,6 +38,13 @@ assert 'if (succeeded)' in module and '100% – Exportvorgang abgeschlossen' in assert 'if (liveUpdate)' in module and 'if (!report)' in module assert 'm_pendingConsoleTasks.Contains(id)' in module assert 'OGLIarLiveProgress = true' in (root / 'bin/OpenSim.ini.example').read_text() +# Native IAR preflight must not enforce the former 1 GiB compressed limit. +policy = (root / "NexVerse/RegionModules/Archives/OglIarManagement.cs").read_text() +assert "MaxCompressedBytes = 10L * 1024 * 1024 * 1024" in policy +assert "MaxExpandedBytes = 40L * 1024 * 1024 * 1024" in policy +assert "if (!IsAllowedCompressedSize(info.Length))" in policy +assert "MaxFileBytes = 64L * 1024 * 1024" in policy +assert "MaxEntries = 100000" in policy # Terminal handoff must not disappear after the last asset-progress log. assert 'GC.Collect();\n PerformAssetsRequestCallback(m_timeout);' not in src["assets"] assert "Archivabschluss wird gestartet" in src["assets"]