Page MenuHomePhabricator

"bin/repository reparse" stops when encountering a "PhabricatorWorkerPermanentFailureException", but should continue
Closed, ResolvedPublic

Description

See https://discourse.phabricator-community.org/t/how-to-fix-mitigate-unreachable-commits-in-git-repo-when-using-bin-repository-reparse/2820.

To reproduce:

  • Run bin/repository reparse ... in a way that: selects more than one commit; and does not use --background; and one or more selected commits are unreachable or in other states which will raise PhabricatorWorkerPermanentFailureException. For example, --all X may satisfy these conditions with some additional setup.

Expected behavior:

  • Reparse is attempted on all selected commits.

Actual behavior:

  • Reparse aborts on the first failure.