********************** Windows PowerShell transcript start Start time: 20260923095507 Username: DESKTOP-DJ40RL2\Administrator RunAs User: DESKTOP-DJ40RL2\Administrator Configuration Name: Machine: DESKTOP-DJ40RL2 (Microsoft Windows NT 10.0.28000.0) Host Application: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File C:\Users\Administrator\.gemini\antigravity\scratch\ClassNotify\tests\test_rc3_endpoint_recovery.ps1 Process ID: 34096 PSVersion: 5.1.28000.2704 PSEdition: Desktop PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.28000.2704 BuildVersion: 10.0.28000.2704 CLRVersion: 4.0.30319.42000 WSManStackVersion: 3.0 PSRemotingProtocolVersion: 2.3 SerializationVersion: 1.1.0.1 ********************** ========================================================================== ClassNotify P1 RC2 — Gate RC-3A: Endpoint Recovery Acceptance Suite Target RCArtifactId: P1-RC2-20260922-151442-F2C14966 Evidence ID: EVIDENCE-RC3-ENDPOINT-20260923-095506 ========================================================================== >>> [Pre-Flight] System & Environment Verification... [PASS] Pre-Flight 1: Local ClassNotifySetup.exe SHA256 matches baseline F2C14966E99B47A5A67436F7E4E1FB72A363FCB560BF19C07BDF23DEA5BDADD9 [PASS] Pre-Flight 2: ClassNotifyService is RUNNING in Session 0 PID: 33092 [PASS] Pre-Flight 3: ClassNotify.Client is running in user session PID: 36680, Session: 4 [PASS] Pre-Flight 4: Session 4 is interactive Active console State: Active console [PASS] Pre-Flight 5: Target device bound to cls_802 in t_beijing_no4 DeviceId: dev_59e35e79 [PASS] Pre-Flight 6: Teacher & Admin authentication succeeded [PASS] Pre-Flight 7: Target device reports Online on server DeviceId: dev_59e35e79, isOnline: True >>> [Scenario 1/3] Kill Client -> Watchdog Self-Healing & IPC Recovery... Initial State: Client PID = 36680 (Session 4), Service PID = 33092 Terminating ClassNotify.Client (PID 36680) with Stop-Process -Force... Watchdog Result: Client restored in 3121 ms (New PID: 33300, Session: 4, Count: 1, Service PID Unchanged: True) Testing IPC recovery with smoke notification 'RC3-POST-CLIENT-RECOVERY'... Smoke notification sent: ID = msg_1790128519806_075e IPC Message Reception: True in 3319 ms [PASS] Scenario 1: Kill Client -> Watchdog self-healing & IPC restoration ClientRecoveryMs: 3121 (<= 30000), IpcRecoveryMs: 3319 (<= 20000), OldPID: 36680 -> NewPID: 33300, Session: 4 >>> [Scenario 2/3] Kill Service -> Windows SCM Auto-Recovery & Device Online... Initial State: Service PID = 33092 (Session 0), Client PID = 33300 Terminating ClassNotify.Service (PID 33092) with Stop-Process -Force... SCM Result: Service restored in 12011 ms (New PID: 39080, Session: 0, Count: 1) Waiting for SignalR reconnect to Tokyo server (Device Online)... Cloud Device Online Result: True in 16221 ms Awaiting Client Watchdog and IPC handshake settlement... IPC Watchdog Settled: True Client Instance Verification: Count = 1, PID = 33300, Session = 4 Testing end-to-end delivery with smoke notification 'RC3-POST-SERVICE-RECOVERY'... Smoke notification sent: ID = msg_1790128540663_4a6f Post-Service-Recovery Message Reception: True [PASS] Scenario 2: Kill Service -> Windows SCM auto-recovery & Device Online ServiceRecoveryMs: 12011 (<= 30000), DeviceOnlineRecoveryMs: 16221 (<= 60000), OldPID: 33092 -> NewPID: 39080, Session: 0, ClientPID: 33300 >>> [Scenario 3/3] Service Outbound Network Cut -> Auto-Reconnect & Smoke Test... Stabilizing system state before Scenario 3... Pre-Cut Baseline PIDs: Service = 39080, Client = 29456 Adding outbound firewall block rule 'ClassNotify-RC3-Cut' on ClassNotify.Service.exe... Maintaining network block for 30 seconds to allow SignalR disconnection... During Cut Device Status: isOnline = False Restoring outbound network (deleting firewall rule 'ClassNotify-RC3-Cut')... SignalR Auto-Reconnect Result: True in 24721 ms Zero Process Restart Verification: Service PID Unchanged (True), Client PID Unchanged (True) Testing end-to-end delivery with smoke notification 'RC3-POST-NETWORK-RECOVERY'... Smoke notification sent: ID = msg_1790128612948_643a Post-Network-Recovery Message Reception: True [PASS] Scenario 3: Service Outbound Network Cut -> SignalR auto-reconnect NetworkRecoveryMs: 24721 (<= 45000), ZeroProcessRestart: True, SmokeDelivered: True ********************** Windows PowerShell transcript end End time: 20260923095655 **********************