feat: integrate performance upgrade and agent inspection tooling
Validate ShrinkSDK Workspace / catalog (push) Successful in 5s
Validate ShrinkSDK Workspace / unity (push) Successful in 3m20s

This commit is contained in:
2026-09-29 10:16:02 +08:00
parent f92105c97d
commit 08246ddb01
114 changed files with 7135 additions and 87 deletions
@@ -0,0 +1,22 @@
using System.Runtime.CompilerServices;
using NUnit.Framework;
using ShrinkCommand;
using ShrinkCommand.Integration;
using ShrinkNetwork;
public class BridgeRetentionTests
{
[Test]
public void CommandBridgeDoesNotKeepRetiredNetworkServiceAlive()
{
var weak = Register(); GC.Collect(); GC.WaitForPendingFinalizers(); GC.Collect();
Assert.That(weak.IsAlive, Is.False);
}
[MethodImpl(MethodImplOptions.NoInlining)]
private static WeakReference Register()
{
var service = new ShrinkNetworkService();
ShrinkNetworkCommandBridge.RegisterService(service, new ShrinkCommandService());
return new WeakReference(service);
}
}