Repeatedly (with two repos at least) runner fails to checkout because codefloe seems to give it a wrong commit ID#

See https://codefloe.com/mcepl/9ai/actions/runs/3/jobs/0/attempt/1

[command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +67e838ad1b6deed384a026c1788b81d6d852c9b7:refs/remotes/origin/main
fatal: couldn't find remote ref 67e838ad1b6deed384a026c1788b81d6d852c9b7
The process '/usr/bin/git' failed with exit code 128
Waiting 15 seconds before trying again
[command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +67e838ad1b6deed384a026c1788b81d6d852c9b7:refs/remotes/origin/main
fatal: couldn't find remote ref 67e838ad1b6deed384a026c1788b81d6d852c9b7
The process '/usr/bin/git' failed with exit code 128
Waiting 19 seconds before trying again
[command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +67e838ad1b6deed384a026c1788b81d6d852c9b7:refs/remotes/origin/main
fatal: couldn't find remote ref 67e838ad1b6deed384a026c1788b81d6d852c9b7
::remove-matcher owner=checkout-git::
::error::The process '/usr/bin/git' failed with exit code 128
⚙️ [runner]: exitcode '1': failure


The commit exists in my local repository and is the current main commit. Please check repository storage, ref/object synchronization, and the timing of Actions run creation relative to push completion.

If you tell me precisely what you need I can get you logs from the server where the runner works.

Your CI workflow hardcodes GIT_DEFAULT_HASH: sha256 but your repo is of type SHA-1. Mixing these two different formats isn’t supported. What happens is that the checkout step tries to (force) clone the repo as a SHA-256 one but effectively gets a SHA-1 and fails.

Dropping GIT_DEFAULT_HASH: sha256 should get your build going.

Whoopsie! Thank you.