Closed Bug 1825961 Opened 6 months ago Closed 21 days ago

Missing uplift approval flags on uplift patches causes BugBot to falsely complain

Categories

(bugzilla.mozilla.org :: Phabricator Integration, defect)

defect

Tracking

()

RESOLVED FIXED

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:

  1. 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.

  2. Add a flag to identify the attachment as an uplift patch without syncing the approval status.

Assignee: nobody → sheehan

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.

Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED

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?

Status: RESOLVED → REOPENED
Flags: needinfo?(sheehan)
Resolution: FIXED → ---
Summary: Missing uplift approval flags on uplift patches causes autonag to falsely complain → Missing uplift approval flags on uplift patches causes BugBot to falsely complain

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.

See Also: → 1844183

This should hopefully be fixed now with recent changes. Please reopen if this occurs again.

Status: REOPENED → RESOLVED
Closed: 5 months ago21 days ago
Flags: needinfo?(sheehan)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.