fix(agent99): harden Windows99 no-IME transport
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 2s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m29s
CD Pipeline / build-and-deploy (push) Successful in 29m59s
AI 技術雷達監控 / ai-technology-watch (push) Successful in 38s
CD Pipeline / post-deploy-checks (push) Successful in 4m20s
AWOOOI Harbor 110 Local Repair / workflow-shape (push) Successful in 1s
AWOOOI Harbor 110 Local Repair / harbor-110-local-repair (push) Successful in 18s

This commit is contained in:
Your Name
2026-07-17 13:47:59 +08:00
parent 30c2a1807c
commit 402d11fd82
9 changed files with 438 additions and 14 deletions

View File

@@ -428,6 +428,10 @@ try {
Add-DefaultProperty $config.sshProcessGuard "enabled" $true
Add-DefaultProperty $config.sshProcessGuard "staleMinutes" 15
Add-DefaultProperty $config.sshProcessGuard "hardStaleMinutes" 60
Add-DefaultProperty $config "windowsProbeProcessGuard" ([pscustomobject]@{})
Add-DefaultProperty $config.windowsProbeProcessGuard "enabled" $true
Add-DefaultProperty $config.windowsProbeProcessGuard "staleMinutes" 10
Add-DefaultProperty $config.windowsProbeProcessGuard "maxStopsPerRun" 20
Add-DefaultProperty $config "hosts" @("192.168.0.110", "192.168.0.111", "192.168.0.112", "192.168.0.120", "192.168.0.121", "192.168.0.188")
$configuredHosts = @($config.hosts | ForEach-Object { [string]$_ } | Where-Object { $_ })
if ("192.168.0.111" -notin $configuredHosts) {