Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Hackbot cannot see members of the mozilla-employee-confidential group

Offen Anfängerfreundlich
#7,288 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
63/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
fastapi, python

Rechercherichtung

Beginne mit app/bugzilla_authorization.py, insbesondere mit _is_user_in_group, verfolge dann den Aufruf aus app/routers/webhooks.py und untersuche die Bugzilla-REST-Antwort für diese Gruppenabfrage. Der gemeldete Fehler ist eine 400-Antwort bei der Prüfung der Mitgliedschaft in mozilla-employee-confidential; ermittle die Ursache und bestätige, dass der Webhook die Autorisierungsprüfung für Mitglieder dieser Gruppe erfolgreich durchführt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

hackbot

Sentry Issue: HACKBOT-API-11

HTTPStatusError: Client error '400 Bad Request' for url 'https://bugzilla.mozilla.org/rest/user?names=dkl%40mozilla.com&groups=mozilla-employee-confidential&include_fields=name&permissive=1'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400
(18 additional frame(s) were not displayed)
...
  File "fastapi/routing.py", line 352, in run_endpoint_function
    return await dependant.call(**values)
  File "app/routers/webhooks.py", line 182, in bugzilla_webhook
    if not await authorizer.is_authorized(detected.user_login):
  File "app/bugzilla_authorization.py", line 37, in is_authorized
    authorized = await self._is_user_in_group(login, self._authorized_group_name)
  File "app/bugzilla_authorization.py", line 57, in _is_user_in_group
    response.raise_for_status()
  File "httpx/_models.py", line 829, in raise_for_status
    raise HTTPStatusError(message, request=request, response=self)
Vorherrschende Sprache
Python
Sterne
576
Forks
364
Ø Merge
3 T. 8 Std.
Gemergte PRs (30 T.)
138

Entwicklungsumgebung

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/bugbug

Alle Issues in mozilla/bugbug

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

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