Hackbot frontend-triage runs before BugBot’s component classification

Offen
#3,113 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
66/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
python
Bereich
backend

Rechercherichtung

Start with scripts/cron_run_hourly.sh around lines 69–73, linked in the issue, and trace how BugBot triggers Hackbot's frontend-triage job. Check how component reclassification is reflected before the job runs. Done when frontend-triage does not comment on bugs that BugBot has reclassified outside a frontend component; verify with a regression test for the reported ordering.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Reported by @dholbert

Hackbot's frontend-triage is triggered by BugBot, but it can run before BugBot has reclassified the bug. That makes it comment on bugs that end up outside a frontend component.

Example: https://bugzilla.mozilla.org/show_bug.cgi?id=2094942

  • The bug was filed in Firefox::General.
  • Hackbot was triggered.
  • BugBot reclassified it to Core::Printing: Output, which was correct.
  • Hackbot then added a frontend-triage comment. The comment was unexpected since the bug was no longer in a frontend component.

https://github.com/mozilla/bugbot/blob/c6f1ef6dc34b669651346c8301caec2896d05fc5/scripts/cron_run_hourly.sh#L69-L73

Vorherrschende Sprache
Python
Sterne
70
Forks
95
Ø Merge
15 Std. 24 Min.
Gemergte PRs (30 T.)
11

Entwicklungsumgebung

  • Kein Dockerfile und keine Docker-Compose-Datei
  • Hat eine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus mozilla/bugbot

Alle Issues in mozilla/bugbot

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.