Skip to content

Add perf-alert keyword to bug instead of comment tag when posting alert comments - #9740

Merged
beatrice-acasandrei merged 1 commit into
mozilla:masterfrom
junngo:add-perf-alert-keyword
Aug 3, 2026
Merged

Add perf-alert keyword to bug instead of comment tag when posting alert comments#9740
beatrice-acasandrei merged 1 commit into
mozilla:masterfrom
junngo:add-perf-alert-keyword

Conversation

@junngo

@junngo junngo commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

This patch adds the perf-alert keyword to the bug when posting alert comments, instead of tagging the comment itself with comment_tags.
There's no way to add a keyword via Bugzilla's comment-only API. Instead, I switched to Bugzilla's bug-update API, which can post a comment and update bug fields (like keywords) in the same request.
If you have any questions or suggestions, please let me know.

[0] https://bugzilla.readthedocs.io/en/latest/api/core/v1/bug.html#update-bug
[1] Test result: https://bugzilla.mozilla.org/show_bug.cgi?id=1982829#c11

@netlify

netlify Bot commented Jul 31, 2026

Copy link
Copy Markdown

Deploy Preview for treeherder ready!

Name Link
🔨 Latest commit ad44a5d
🔍 Latest deploy log https://app.netlify.com/projects/treeherder/deploys/6a6c9a10aabab900084298cc
😎 Deploy Preview https://deploy-preview-9740--treeherder.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread treeherder/webapp/api/bugzilla.py Outdated
@junngo
junngo force-pushed the add-perf-alert-keyword branch from d8632fe to ad44a5d Compare July 31, 2026 12:50
@beatrice-acasandrei
beatrice-acasandrei merged commit 1a337d4 into mozilla:master Aug 3, 2026
12 checks passed
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