Missing uplift approval flags on uplift patches causes BugBot to falsely complain
Categories
(bugzilla.mozilla.org :: Phabricator Integration, defect)
Tracking
()
People
(Reporter: suhaib, Assigned: sheehan)
References
Details
Attachments
(2 files)
Uplift patches created using the uplift workflow through Lando do not have approval flags (i.e., approval-mozilla-*
). When such a patch is attached to a closed bug, autonag will consider it as a new patch, which triggers the bot to suggest opening a new bug (see mozilla/relman-auto-nag#1953).
Any of the following solutions could resolve the issue:
-
Keep backward compatibility with the current workflow by syncing the approval status with Bugzilla. So adding an approve request flag when attaching the uplift patch to the bug (e.g.,
approval-mozilla-beta?
) and changing it to approved (e.g.,approval-mozilla-beta+
) when the patch lands or get approved on Phapricator. -
Add a flag to identify the attachment as an uplift patch without syncing the approval status.
Assignee | ||
Updated•6 months ago
|
Comment 1•5 months ago
|
||
Comment 2•5 months ago
|
||
Assignee | ||
Comment 3•5 months ago
|
||
After the patches above are deployed, the approval-mozilla-{repo}
flags will be added to new bug attachments for Phabricator revisions on uplift patches and the flag status will be synced with the Phabricator revision status.
Comment 4•5 months ago
|
||
Reporter | ||
Comment 5•3 months ago
|
||
The new uplift workflow appears to be failing to add approval flags to the uplift patches.
Example: https://bugzilla.mozilla.org/show_bug.cgi?id=1842547#c13
:sheehan could you please investigate the issue?
Assignee | ||
Comment 6•3 months ago
|
||
It seems to be intermittent, or at least not impacting every patch. You can see from this example that the approval flag is sometimes being set.
The example I've given shows the ESR flags being set, perhaps it's only beta which is broken. I'll need to investigate further.
Comment 7•21 days ago
|
||
This should hopefully be fixed now with recent changes. Please reopen if this occurs again.
Description
•