mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-29 17:07:50 +08:00
Fix Windows batch failure propagation (#330096)
* test: probe Windows batch exit propagation (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix: preserve Windows batch failure exit codes Move failure exits outside parenthesized command blocks, where cmd.exe otherwise returns zero to the caller. (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * test: remove Windows exit probe The controlled CI runs captured the failure and validated the top-level failure labels, so remove the temporary diagnostics. (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * test: stabilize Agent Host E2E on Windows Keep portable shell and plugin scenarios enabled while gating three documented Windows persistence and changeset gaps. (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * test: gate unsupported Windows Agent Host E2E Document and skip Windows-only scratch cleanup, custom terminal metadata, and client-plugin hook gaps. (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * test: gate stale Windows discard summaries Document and skip the final tracked-change discard variant whose Windows changeset summaries do not refresh. (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
+9
-1
@@ -9,9 +9,17 @@ pushd %~dp0\..
|
||||
if "%VSCODE_SKIP_PRELAUNCH%"=="" (
|
||||
node build/lib/preLaunch.ts || (
|
||||
echo Failed to prepare VS Code for launch ^(build/lib/preLaunch.ts^). 1>&2
|
||||
exit /b 1
|
||||
goto :failed
|
||||
)
|
||||
)
|
||||
goto :prelaunch_complete
|
||||
|
||||
:failed
|
||||
popd
|
||||
endlocal
|
||||
exit /b 1
|
||||
|
||||
:prelaunch_complete
|
||||
|
||||
set "NAMESHORT="
|
||||
for /f "tokens=2 delims=:," %%a in ('findstr /R /C:"\"nameShort\":.*" product.json') do if not defined NAMESHORT set "NAMESHORT=%%~a"
|
||||
|
||||
Reference in New Issue
Block a user