mozilla-services / mozilla-services/updatebot

Gracefully handle cases where the revision was comandeered

Open
#397 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Easy Enhancement P4
Dominant language
Python
Stars
9
Forks
8
PR merge metrics
No merged PRs in 30d

Description

This is super rare, but it shouldn't be difficult to handle.

abandon got back the error

Got an error from phabricator when trying to abandon 260609: {'error': 'ERR-CONDUIT-CORE', 'errorMessage': 'ERR-CONDUIT-CORE: <differential.revision.edit> Validation errors:\n - You can not abandon this revision because you are not the author. You can only abandon revisions you own. You can change this behavior by adjusting the "differential.always-allow-abandon" setting in Config.', 'response': None}

Contributor guide

Open the contributing guide

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 tracing updatebot's abandon path for Phabricator revision 260609 and inspect how the reported ERR-CONDUIT-CORE validation error is handled. Done means a commandeered revision is handled gracefully rather than producing an unhandled failure, with focused coverage for the non-author case.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.