Skip to content

Library generation fails due to missing commit #3745

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

Closed
diegomarquezp opened this issue Apr 17, 2025 · 4 comments · Fixed by #3749
Closed

Library generation fails due to missing commit #3745

diegomarquezp opened this issue Apr 17, 2025 · 4 comments · Fixed by #3749

Comments

@diegomarquezp
Copy link
Contributor

diegomarquezp commented Apr 17, 2025

https://github.com/googleapis/sdk-platform-java/actions/runs/14506749204/job/40697464115?pr=3691

git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git diff --numstat --no-renames --raw 985a0b98f96b47da45882877259265c2fcb31ff5 9af27683a6dc1ca7a6ca82feb08303dd3b1a23f3 --
  stderr: 'fatal: You are attempting to fetch 2c9122112925d2184fa8179821b6422893a153e8, which is in the commit graph file but not in the object database.
This is probably due to repo corruption.
If you are attempting to repair this repo corruption by refetching the missing object, use 'git fetch --refetch' with the missing object.
fatal: could not fetch 3ad3a8822f886e99e6822d05647fd2281dcd2236 from promisor remote'

Originally posted by @diegomarquezp in #3691 (comment)

@diegomarquezp
Copy link
Contributor Author

Trying a fresh PR didn't work

#3746

@diegomarquezp
Copy link
Contributor Author

The job succeeded in f2489b6

Suspecting of a transient issue.

Generating a new PR for now.

@diegomarquezp
Copy link
Contributor Author

Failed in new PR: 2ca34d7

@diegomarquezp
Copy link
Contributor Author

The job succeeded in f2489b6

Suspecting of a transient issue.

Generating a new PR for now.

False positive. This was due to the library list generation bypassing the bad exit code.

diegomarquezp added a commit that referenced this issue Apr 18, 2025
`Empty commit messages, skip creating pull request description.`

Fixes #3745

---------

Co-authored-by: cloud-java-bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant