From 011c6d03bc8708eb36b9cf12080055f4d34ba9e3 Mon Sep 17 00:00:00 2001 From: Mikhail Date: Tue, 12 May 2026 09:26:35 +0300 Subject: [PATCH] Add cmd wrapper for vpnruntime guards and UNC usage note --- ...RUNTIME_POST_STABILIZATION_NEXT_STEPS_2026-05-12.md | 10 +++++++++- scripts/smoke/run-vpnruntime-ci-guards.cmd | 9 +++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 scripts/smoke/run-vpnruntime-ci-guards.cmd diff --git a/docs/operations/VPNRUNTIME_POST_STABILIZATION_NEXT_STEPS_2026-05-12.md b/docs/operations/VPNRUNTIME_POST_STABILIZATION_NEXT_STEPS_2026-05-12.md index 60a9480..7a763e6 100644 --- a/docs/operations/VPNRUNTIME_POST_STABILIZATION_NEXT_STEPS_2026-05-12.md +++ b/docs/operations/VPNRUNTIME_POST_STABILIZATION_NEXT_STEPS_2026-05-12.md @@ -22,6 +22,15 @@ From repository root: pwsh -NoProfile -ExecutionPolicy Bypass -File scripts/smoke/run-vpnruntime-ci-guards.ps1 -AntiFlakeCount 20 -TargetedCount 50 ``` +Windows `cmd` wrapper: + +```cmd +scripts\smoke\run-vpnruntime-ci-guards.cmd +``` + +On UNC workspaces, `cmd.exe` may print a startup UNC warning, but the wrapper +uses `pushd` and still runs guard checks correctly. + Expected: - all guard steps pass @@ -53,4 +62,3 @@ Immediate triage sequence: 3. Capture failing output and update: - `docs/operations/VPNRUNTIME_CI_STABILIZATION_CHANGELOG_2026-05-12.md` - `docs/operations/VPNRUNTIME_STAGE_EXECUTION_2026-05-12.md` - diff --git a/scripts/smoke/run-vpnruntime-ci-guards.cmd b/scripts/smoke/run-vpnruntime-ci-guards.cmd new file mode 100644 index 0000000..499a2e9 --- /dev/null +++ b/scripts/smoke/run-vpnruntime-ci-guards.cmd @@ -0,0 +1,9 @@ +@echo off +setlocal +set SCRIPT_DIR=%~dp0 +pushd "%SCRIPT_DIR%..\.." +if errorlevel 1 exit /b %ERRORLEVEL% +pwsh -NoProfile -ExecutionPolicy Bypass -File "%SCRIPT_DIR%run-vpnruntime-ci-guards.ps1" -AntiFlakeCount 20 -TargetedCount 50 +set EXIT_CODE=%ERRORLEVEL% +popd +exit /b %EXIT_CODE%