moz-phab submit doesn't allow uploading rebased change sets with r+ stamped by obsolete users
Categories
(Conduit :: moz-phab, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: hiro, Unassigned)
Details
(Keywords: conduit-triaged)
I did rebase https://phabricator.services.mozilla.com/D95485 locally, and tried to submit but it fails with an error "User mats is disabled".
It would be nice to be able to uploaded even if the user is disabled but it's already stamped r+.
Reporter | ||
Comment 1•3 years ago
|
||
workaround |
A workaround (actually it's dholbert's idea).
- use --wip to upload the rebased version
- choose "Request Review" action on the phab site to remove "changes planned" phase
Comment 2•3 years ago
|
||
I think if you edit the commit message to remove r=mats
it should allow you to submit. As long as you don't remove the Differential Revision: <url>
line from the commit message it will tag against the same revision and should leave the disabled r+ on the revision. I haven't tested this but this is my understanding of how Phabricator works.
We could potentially try re-submitting without the disabled user as part of the Phabricator transaction if we hit this error, and log a warning so the user is aware of the issue. This is a pretty uncommon edge case though and it's likely a low priority fix.
Updated•3 years ago
|
Updated•2 years ago
|
Description
•