Skip to content

Bug 2007009 - Change the bot used for bug filling to a PerfSheriff Bot#9646

Open
junngo wants to merge 1 commit into
mozilla:masterfrom
junngo:use-perf-sheriff-key
Open

Bug 2007009 - Change the bot used for bug filling to a PerfSheriff Bot#9646
junngo wants to merge 1 commit into
mozilla:masterfrom
junngo:use-perf-sheriff-key

Conversation

@junngo

@junngo junngo commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

This PR replaces the API key used to file performance bugs from the intermittent bot key to the Performance Sheriff Bot key.

Note:
If needinfo_from is not set (e.g. when no triage owner is available [0]), the intermittent bot key will still be used as a fallback. This case hasn't been observed yet, but if it occurs, the StatusDropdown component will need to be updated.

Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=2007009
[0]

let needinfoFrom = '';
if (bugData.assigned_to !== 'nobody@mozilla.org') {
needinfoFrom = bugData.assigned_to;
} else {
const componentInfo = await getData(
bugzillaBugsApi(`component/${bugData.product}/${bugData.component}`),
);
needinfoFrom = componentInfo.data.triage_owner;
}


params = request.data
# Only Perfherder is setting the param needinfo_from when filing a regression bug
is_perf_bug = bool(params.get("needinfo_from"))

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you file a follow-up bug to better detect this? I think it's fine for now, but it seems like it could easily break for us in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants