keybase / keybase/client

'Unknown object xxx' when running 'keybase git cleanup'

Open
#29,227 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
9.2k
Forks
1.3k
Avg merge
12h 58m
Merged PRs (30d)
56

Description

Describe the bug

$ keybase git gc REPO
This may take several minutes...
▶ ERROR Unknown object 39326639643863333632393930373834666538303164323465393636616234383764636663313938 tag *object.Tag

To Reproduce

  1. Run a git push command which shows the "Tip: this repo could be sped up with some garbage collection." message and shows the appropriate keybase git gc command.
  2. Run the suggested keybase git gc command.
  3. After a few seconds the error message shown above appears.

Expected behavior

Garbage collection finishes normally.

Additional numbers

The number 345567

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with the documented keybase git gc REPO command after a git push reports that garbage collection is needed. Trace the garbage-collection entry point and the handling of the reported unknown object; done means cleanup completes normally without the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.