Skip to content

Error: fatal: error in object: unshallow #1785

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
andrzejsliwa opened this issue Jun 18, 2024 · 2 comments
Open

Error: fatal: error in object: unshallow #1785

andrzejsliwa opened this issue Jun 18, 2024 · 2 comments

Comments

@andrzejsliwa
Copy link

I'm facing recently "Error: fatal: error in object: unshallow" on github actions, it's not happening everytime, but often recently.
Any ideas? (I have truncated repo names)

Fetching the repository
  /usr/bin/git -c protocol.version=2 fetch --prune --no-recurse-submodules --unshallow origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/*
  From https://github.com/...
   - [deleted]               (none)     -> origin/sil-2656-implement-ability-to-toggle-access-to-parent-account
   - [deleted]               (none)     -> origin/suez-4495-remove-carriage-from-graph
  Error: fatal: error in object: unshallow 46bd1d9c132ed45bd396d6d5ec5834b6fda8169b
  The process '/usr/bin/git' failed with exit code 128
  Waiting 12 seconds before trying again
  /usr/bin/git -c protocol.version=2 fetch --prune --no-recurse-submodules --unshallow origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/*
  Error: fatal: error in object: unshallow 46bd1d9c132ed45bd396d6d5ec[58](https://github.com/.../actions/runs/9564426959/job/26365177341#step:2:64)34b6fda8169b
  The process '/usr/bin/git' failed with exit code 128
  Waiting 11 seconds before trying again
  /usr/bin/git -c protocol.version=2 fetch --prune --no-recurse-submodules --unshallow origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/*
  Error: fatal: error in object: unshallow 46bd1d9c132ed45bd396d6d5ec5834b6fda8169b
  Error: The process '/usr/bin/git' failed with exit code 128
@alekseikurepin
Copy link

Seems we have the same isse with "Actions/checkout@v4"
/usr/bin/git rev-parse --symbolic-full-name --verify --quiet HEAD HEAD /usr/bin/git submodule status Cleaning the repository Disabling automatic garbage collection Setting up auth Fetching the repository /usr/bin/git -c protocol.version=2 fetch --prune --no-recurse-submodules --unshallow origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/* Error: fatal: error in object: unshallow 1066fcb96ed2600f286f7e7c2efc098f99c886ba The process '/usr/bin/git' failed with exit code 128 Waiting 17 seconds before trying again /usr/bin/git -c protocol.version=2 fetch --prune --no-recurse-submodules --unshallow origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/* Error: fatal: error in object: unshallow 1066fcb96ed2600f286f7e7c2efc098f99c886ba The process '/usr/bin/git' failed with exit code 128 Waiting 18 seconds before trying again /usr/bin/git -c protocol.version=2 fetch --prune --no-recurse-submodules --unshallow origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/* Error: fatal: error in object: unshallow 1066fcb96ed2600f286f7e7c2efc098f99c886ba Error: The process '/usr/bin/git' failed with exit code 128

@alekseikurepin
Copy link

We fixed with cleanup workspace before checkout action:
steps: - name: Clean workspace run: | sudo rm -rf "$GITHUB_WORKSPACE"/* sudo rm -rf "$GITHUB_WORKSPACE"/.git - uses: actions/checkout@v4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants