From 90c007a95efebb113ed8fd2cbc703076a45050c5 Mon Sep 17 00:00:00 2001 From: Lotus CI Date: Tue, 29 Sep 2026 13:14:13 -0400 Subject: [PATCH] ci(windows-smoke): log WebView2 args, netstat and port probes Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01PPmy3tPq869XDW4njjVaKA --- .gitea/workflows/windows-smoke.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitea/workflows/windows-smoke.yml b/.gitea/workflows/windows-smoke.yml index 8b975e9..5c145ee 100644 --- a/.gitea/workflows/windows-smoke.yml +++ b/.gitea/workflows/windows-smoke.yml @@ -106,6 +106,13 @@ jobs: Write-Host "--- WebView2 runtime" Get-ItemProperty 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}' -ErrorAction SilentlyContinue | Select-Object pv | Out-String | Write-Host Write-Host "--- whoami: $(whoami)" + Write-Host "--- webview2 command lines" + Get-CimInstance Win32_Process -Filter "Name='msedgewebview2.exe'" | Select-Object -First 2 | ForEach-Object { Write-Host $_.CommandLine.Substring(0, [Math]::Min(600, $_.CommandLine.Length)) } + Write-Host "--- netstat" + netstat -ano | Select-String "LISTENING" | Select-String ":9222 |:44548 " | ForEach-Object { Write-Host $_ } + Write-Host "--- http probes" + try { (Invoke-WebRequest -UseBasicParsing http://127.0.0.1:9222/json/version -TimeoutSec 5).Content | Write-Host } catch { Write-Host "9222: $($_.Exception.Message)" } + try { (Invoke-WebRequest -UseBasicParsing http://localhost:44548/ -TimeoutSec 5).StatusCode | Write-Host } catch { Write-Host "44548: $($_.Exception.Message)" } node smoke-deps\windows-smoke.mjs smoke-out - name: Stop the app