If VS Code doesn't update correctly once it restarts (with auto-updates enabled), it may be quarantined by macOS.
- Move Code out of Downloads and into the Applications folder.
If option 1 doesn't work & fix VS Code's failed update
If updates still don't work after moving VS Code to the Applications
folder, you can fix it with xattr
:
sudo chown $USER ~/Library/Caches/com.microsoft.VSCode.ShipIt/*
xattr -dr com.apple.quarantine /Applications/Visual\ Studio\ Code.app