Files
opengenesislinkserver/tools/ci/verify_g1_closeout.py
T
OpenGenesis (MPL 2.0) 34d17eeba3 feat(g1): SL PBR, Warp3D performance, NodeAgent and ROBUST UI closeout (#431)
* integrate(lsl): OpenSim/Framework/OglRenderMaterialFaces.cs

* integrate(lsl): OpenSim/Framework/OpenSim.Framework.csproj

* integrate(lsl): OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs

* integrate(lsl): OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs

* integrate(lsl): OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs

* integrate(lsl): doc/OpenGenesisLINK/G1_SL_RENDER_MATERIAL_LSL.md

* integrate(lsl): tools/ci/OglRenderMaterialLslRegression/OglRenderMaterialLslRegression.csproj

* integrate(lsl): tools/ci/OglRenderMaterialLslRegression/Program.cs

* integrate(warp3d): OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs

* integrate(warp3d): bin/OpenSim.ini

* integrate(warp3d): bin/OpenSim.ini.example

* integrate(warp3d): bin/OpenSimDefaults.ini

* integrate(warp3d): doc/OpenGenesisLINK/G1_WARP3D_GC_MAP_PERF.md

* integrate(warp3d): tools/ci/verify_ogl_warp3d_lifecycle.py

* integrate(nodeagent): NexVerse/RegionModules/NodeAgent/NexVerseNodeAgentModule.cs

* integrate(nodeagent): tools/ci/verify_ogl_performance_sources.py

* integrate(nodeagent): NexVerse/RegionModules/NodeAgent/OglNodePerformanceHeartbeat.cs

* integrate(nodeagent): doc/OpenGenesisLINK/G1_NODEAGENT_PERFORMANCE_REFACTOR.md

* integrate(nodeagent): tools/ci/verify_ogl_node_performance_refactor.py

* integrate(worldapi): NexVerse/Server/Api/NexApiDocsPage.cs

* integrate(worldapi): tools/ci/verify_ogl_api_adminlte_viewers.py

* integrate(worldapi): NexVerse/Server/Api/NexApiDocsStyles.cs

* integrate(worldapi): doc/OpenGenesisLINK/G1_CONTROL_CENTER_CSS_MODULE.md

* ci(closeout): gate all four functional and architecture changes on Linux .NET10

* ci(closeout): combine feature-specific NexVerse tests without dropping existing gates

* test(closeout): gate combined data, LSL, performance and architecture contracts

* ci(closeout): validate combined G1 feature graph before runtime smoke

* docs(closeout): integrated acceptance and safe staging rollout checklist

* test(worldapi): inspect extracted theme directly in protected docs security gate

* test(worldapi): verify aurora theme in extracted styles instead of HTML source

* test(worldapi): validate dashboard animations in extracted stylesheet
2026-11-11 18:01:33 +01:00

63 lines
2.8 KiB
Python

#!/usr/bin/env python3
"""Read-only G1 closeout integration source contract.
This verifies that the four independently reviewed feature sets survived
the integration branch. Runtime, database and viewer checks remain separate.
"""
from pathlib import Path
root = Path(__file__).resolve().parents[2]
def source(path):
return (root / path).read_text(encoding="utf-8-sig")
def has(path, *tokens):
content = source(path)
for token in tokens:
assert token in content, f"{path}: missing {token}"
# Data integrity (two SQL dialects, PostgreSQL transaction and PBR)
for sql in ("MySQL", "PGSQL"):
has(f"OpenSim/Data/{sql}/{sql}GroupsData.cs",
'm_Membership.Get("PrincipalID", principalID)',
'new[] { "GroupID", "PrincipalID" }')
has("OpenSim/Data/PGSQL/PGSQLEstateData.cs",
"conn.BeginTransaction()", "transaction.Commit()")
has("OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs",
"ON CONFLICT (useruuid, targetuuid) DO UPDATE")
has("OpenSim/Region/OptionalModules/Materials/MaterialsModule.cs",
"CanApplyMaterialOverride", "RequireFiniteColorFactor",
"Too many PBR material changes in one request")
# LSL API, independent helper, YEngine scripting wrappers, built PBR tests
for method in ("llSetRenderMaterial", "llSetLinkRenderMaterial", "llGetRenderMaterial"):
for path in (
"OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs",
"OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs",
"OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs",
):
has(path, method)
has("OpenSim/Framework/OglRenderMaterialFaces.cs",
"public static bool Set(", "KeepUvTransforms(", "public static UUID Get(")
has("OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs",
"case ScriptBaseClass.PRIM_RENDER_MATERIAL:")
# Performance and safe legacy defaults
has("OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs",
"lock (m_RenderLock)", "if (m_ForceFullGC)", "if (m_WriteMapDiagnosticPng)",
"renderer.Scene.destroy();")
for path in ("bin/OpenSim.ini", "bin/OpenSim.ini.example", "bin/OpenSimDefaults.ini"):
has(path, "Warp3DForceFullGC = true", "Warp3DWriteMapPng = true")
# Refactored NodeAgent collector and CSS, existing signed routing preserved
has("NexVerse/RegionModules/NodeAgent/NexVerseNodeAgentModule.cs",
"OglNodePerformanceHeartbeat.Append(", '"node.heartbeat"')
has("NexVerse/RegionModules/NodeAgent/OglNodePerformanceHeartbeat.cs",
"TakeSnapshotAndReset()", "IOglAssetCacheMetricsProvider")
has("NexVerse/Server/Api/NexApiDocsPage.cs",
"NexApiDocsStyles.Content", "NexOglBranding.DataUri", "oglPerformanceDetails")
has("NexVerse/Server/Api/NexApiDocsStyles.cs",
"OGL Control Center 5.0", "color-scheme:dark")
print("G1 integrated data / SL-PBR / Warp3D / NodeAgent / ROBUST CSS contract: OK")