addons-server: GitError: old reference value does not match
This is the second most frequent git error: https://sentry.prod.mozaws.net/operations/olympia-prod/issues/5526890/
GitError: old reference value does not match
(1 additional frame(s) were not displayed)
...
File "celery/app/trace.py", line 650, in __protected_call__
return self.run(*args, **kwargs)
File "olympia/amo/decorators.py", line 108, in wrapper
return f(*args, **kw)
File "olympia/versions/tasks.py", line 130, in extract_version_to_git
version=version, author=author, note=note)
File "olympia/lib/git.py", line 343, in extract_and_commit_from_version
branch=branch)
File "olympia/lib/git.py", line 475, in _commit_through_worktree
branch.set_target(commit.hex)
GitError: old reference value does not match
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16 (9 by maintainers)
@willdurand Yes, the error was familiar and now I know why https://github.com/mozilla/addons-code-manager/issues/1436 I’ll add a comment to it.
Yes, maybe. I thought we had an issue for this problem already but maybe not.
Ok, so that’s a problem with the linter messages, likely because the add-on is quite old. Not related to this issue.
@ioanarusiczki it will be tricky to reproduce in -dev or stage I think. Maybe you could try to upload some versions of an add-on (or 2) and see if git-extraction works as intended.