ci: harden Windows NuGet dry runs - #427
Conversation
Allow the exact-format metadata check to run against CRLF-materialized files on Windows build agents while preserving all other canonical JSON formatting checks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Prevent Windows checkouts from converting generated C# and release metadata before the pipeline reruns generators and checks for source drift. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Second ADO dry-run fixThe next failure was also caused by Windows line-ending conversion: committed generated C# was checked out as CRLF, then Added Please rerun the pipeline targeting |
Invoke the Native AOT package restore through a PowerShell argument array so Windows does not reinterpret the internal HTTPS feed as a relative filesystem path. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Third ADO dry-run fixThe solution restore had already succeeded with the authenticated internal feed, so the feed and credentials are valid. The Native AOT restore failed when its folded, multi-source Commit Please rerun the pipeline targeting |
Generate a temporary NuGet.config for the signed package smoke test to avoid NuGet's Windows path normalization bug with mixed local and HTTPS --source arguments. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Fourth ADO dry-run fixThe complete build logs confirm Commit Please rerun the pipeline targeting |
Point the .NET release pipeline at vscode-engineering main now that the reusable signed NuGet template has merged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
The shared template is now merged in |
Summary
microsoft/vscode-engineering@mainValidation
npm testcore.autocrlf=true:npm run generate:dotnetleaves generated sources cleannpm run verify:release-metadataunder Windows-style checkout conditionspublish: falseFinal ADO verification
Target branch:
connor4312/nuget-dry-run-fixesRun once more at
493cf741with the defaultpublish: false. This verifies the exact mergedvscode-engineering@maintemplate before this PR is made ready and merged.