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

**URL:** <https://forum.codefloe.com/t/repeatedly-with-two-repos-at-least-runner-fails-to-checkout-because-codefloe-seems-to-give-it-a-wrong-commit-id/166>\
**Category:** CI/CD\
**Created:** [September 10, 2026, 8:02pm UTC](https://forum.codefloe.com/t/repeatedly-with-two-repos-at-least-runner-fails-to-checkout-because-codefloe-seems-to-give-it-a-wrong-commit-id/166 "2026-09-10T20:02:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcepl](https://forum.codefloe.com/user_avatar/forum.codefloe.com/mcepl/32/253_2.png) [@mcepl](https://forum.codefloe.com/u/mcepl)\
**Post date:** [September 10, 2026, 8:02pm UTC](https://forum.codefloe.com/t/repeatedly-with-two-repos-at-least-runner-fails-to-checkout-because-codefloe-seems-to-give-it-a-wrong-commit-id/166/1 "2026-09-10T20:02:26Z")

</div>

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

```auto
[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.

---

<div class="post-metadata">

**Author:** ![codefloe](https://forum.codefloe.com/user_avatar/forum.codefloe.com/codefloe/32/42_2.png) [@codefloe](https://forum.codefloe.com/u/codefloe)\
**Post date:** [September 10, 2026, 8:29pm UTC](https://forum.codefloe.com/t/repeatedly-with-two-repos-at-least-runner-fails-to-checkout-because-codefloe-seems-to-give-it-a-wrong-commit-id/166/2 "2026-09-10T20:29:12Z")

</div>

Your [CI workflow](https://codefloe.com/mcepl/9ai/src/branch/main/.forgejo/workflows/ci.yml) 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.

---

<div class="post-metadata">

**Author:** ![mcepl](https://forum.codefloe.com/user_avatar/forum.codefloe.com/mcepl/32/253_2.png) [@mcepl](https://forum.codefloe.com/u/mcepl)\
**Post date:** [September 10, 2026, 8:53pm UTC](https://forum.codefloe.com/t/repeatedly-with-two-repos-at-least-runner-fails-to-checkout-because-codefloe-seems-to-give-it-a-wrong-commit-id/166/3 "2026-09-10T20:53:28Z")

</div>

Whoopsie! Thank you.
