fix: send merge base SHA when patch is present in depot ci run by 121watts · Pull Request #468 · depot/cli
When depot ci run detects local changes and uploads a patch, the RunRequest.Sha was set to git rev-parse HEAD — which is the local commit SHA that doesn't exist on the remote. The server couldn't resolve it, causing runs to fail with "no jobs". Now we send the merge base SHA (which always exists on the remote) when a patch is being applied, and only fall back to HEAD for non-patch runs. Made-with: Cursor
approved these changes Mar 26, 2026
121watts
deleted the
watts/fix-ci-run-sha-with-patch
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters