Repository navigation
Conversation
…s perf-triage agent A bug qualifies when its Performance Impact was set to `?` within the lookup window (any product), or it was filed into or moved to Core :: Performance: General. Bots and bugs hackbot already commented on are skipped, and each run carries a per-bug dedupe key so the agent rates a bug at most once. trigger_agent_run gains an optional dedupe_key for that. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…bled Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Starts hackbot's
perf-triageagent, hourly, on bugs waiting for a Performance Impact rating:cf_performance_impactset to?, or a bug moved intoCore :: Performance: General, within the last day. The agent rates the bug with the Performance Impact Calculator and comments; on an unrated bug it also sets the field.Depends on mozilla/bugbug#7349, which adds the agent.
frontend_triage, the rule makes no Bugzilla writes of its own. It skips bugs filed by bots and bugs hackbot has already commented on.max_triggers(5) caps the runs per invocation.dedupe_key=perf-triage:<bug>, so a bug that outlives the cache, or is reset to?after the agent rated it, isn't rated twice.trigger_agent_runinhackbot_utils.pygains an optionaldedupe_keyfor this.--backlogdrops the one-day window, for clearing the existing queue when the rule is first enabled. It is still capped per invocation.Tested with
tests/rules/test_perf_triage.py(14 tests) and a dry run against live Bugzilla.Checklist
🤖 Generated with Claude Code