* fix(runtime): remove legacy Mono threadpool caps and report .NET runtime defaults * feat(pathfinding): add bounded immutable A-star grid navigation foundation * test(pathfinding): runtime regression for bounded A-star grid core * test(pathfinding): runtime regression for bounded A-star grid core * test(runtime): prevent Mono threadpool caps returning to .NET 8 * ci(0.9.3.10): cover runtime threadpool and pathfinding A-star behavior * chore(version): begin joint OpenGenesisLINK 0.9.3.10 Dev release train * chore(version): begin joint OpenGenesisLINK 0.9.3.10 Dev release train * feat(api): report combined 0.9.3.10 Dev milestone without claiming voice readiness * ci(version): validate 0.9.3.10 Dev while preserving 0.9.3.8 stable history * docs(release): define combined 0.9.3.9+0.9.3.10 stable release gates and acceptance matrix * docs(roadmap): group 0.9.3.9 and 0.9.3.10 with truthful A-star foundation status * docs(0.9.3.10): distinguish active development from last stable release * docs(0.9.3.10): distinguish active development from last stable release * ci(version): fix shifted stable history index after adding 0.9.3.10 Dev
24 lines
1.2 KiB
Python
24 lines
1.2 KiB
Python
#!/usr/bin/env python3
|
|
"""Guard the OpenGenesisLINK .NET 8 threadpool defaults and runtime telemetry."""
|
|
from pathlib import Path
|
|
import re
|
|
|
|
root = Path(__file__).resolve().parents[2]
|
|
application = (root / "OpenSim/Region/Application/Application.cs").read_text(encoding="utf-8")
|
|
section = application.split("// Configure Log4Net", 1)[1].split(
|
|
"// Configure nIni aliases", 1
|
|
)[0]
|
|
|
|
assert "MONO_THREADS_PER_CPU" not in application, "obsolete Mono check still active"
|
|
assert "ThreadPool.SetMaxThreads(" not in section, "legacy global max override returned"
|
|
assert "ThreadPool.SetMinThreads(" not in section, "unmeasured min override returned"
|
|
assert 'GetMinThreads(out int minWorkerThreads, out int minIocpThreads)' in section
|
|
assert 'GetMaxThreads(out int maxWorkerThreads, out int maxIocpThreads)' in section
|
|
assert "ThreadPool.ThreadCount" in section
|
|
assert "ThreadPool.PendingWorkItemCount" in section
|
|
assert "[OGL RUNTIME]" in section
|
|
assert "[OPENSIM MAIN]" not in section
|
|
assert "500;" not in section, "historical fixed worker cap found"
|
|
assert "2000;" not in section, "historical fixed IOCP cap found"
|
|
print("OGL .NET 8 runtime defaults: no inherited Mono tuning; startup diagnostics OK")
|