We’ve been noticing Git errors at the end of our deployments in multiple Heroku environments. Apparently these may be related to pushing shallow clones
remote: Verifying deploy... done. error: Could not read ce337a9c142cc6e96cff79b407359137080d08f9 fatal: Failed to traverse parents of commit be1f7a904e49b1f61fd9ea418f67d5a32d215148 error: failed to run repack To [redacted] ! [remote rejected] fba4351cdc0b482743f180ad4b53cdadfc3b587d -> master (missing necessary objects)
We seem to have been able to fix it by doing some push/pull directly on the Heroku repositories and it all seems to be working again, but this has come up a few times so I wanted to ask if there is anything we can do to improve the reliability of our deployments.
I’ve heard that Heroku now has a deployment API and I was wondering if Circle has plans to integrate with that?