Page MenuHomePhabricator

Old missing commits from deleted branches stuck as queued tasks
Closed, ResolvedPublic

Description

Instance is at master HEAD running a series of Git repositories self-hosted by Phabricator. Due to another issue (see T11180), executed bin/repository reparse --all REPO --message. Several lingering PhabricatorRepositoryGitCommitMessageParserWorker tasks cannot complete seemingly due to the commit being missing somehow. The Data element of the task contains the commit hash, and it is linked. Upon going into the commit some metadata is available such as the diff and tasks linked along with a summary but the message:

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

is presented. The task never completes and will retry indefinitely.

Event Timeline

Try bin/repository mark-reachable rXYZ (and show me the output, maybe)?

epriestley claimed this task.

Cool. The expectation is that this won't happen again going forward (we should automatically compute reachability from here on out). Let us know if you see it again in the same repository. If we get a few more reports maybe I'll make the error message mention this command.