WebClient.UploadData() has no configurable timeout and was silently
timing out on 89MB uploads over Tailscale. curl.exe (built-in on
Windows 10+) is used instead with --max-time 300 (5 minutes).
Made-with: Cursor
- Set ErrorActionPreference to Continue before vercel commands to prevent
PowerShell from treating Vercel CLI stderr output (version banner) as
a terminating error and jumping to the catch block prematurely
- Strip ANSI cursor-movement escape codes from output before regex matching
the Production URL (--no-color does not remove cursor movement sequences)
- Convert all 2>&1 output to strings via .ToString() before processing
Made-with: Cursor