BUG: Authentication failure, missing repo-stats API endpoint, and Discord bot startup errors

オープン
#238 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

@vinay1359 がすでに取り組んでいます。

2026年1月14日 から。

  • #239 @vinay1359 による — オープン

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
github, python

調査の方向性

まず、ログインの401、/api/repo-stats の404、そして privileged-intent に関する bot の startup error を再現します。各失敗を backend の authentication path、API route registration、bot の startup/cleanup sequence に沿って追跡します。認証が機能し、repository statistics が読み込まれ、bot が正常に起動すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

The application currently has multiple runtime issues across the backend, frontend, and Discord bot that together prevent core functionality from working as expected.

1. Backend authentication crash

When users attempt to log in through the website, the backend crashes with authentication-related errors. The server returns a 401 Unauthorized response and logs show an error similar to:

coroutine object has no attribute 'user'

Because of this, users are unable to authenticate or access protected parts of the application.

2. Missing /api/repo-stats endpoint

The frontend attempts to fetch GitHub repository statistics from the /api/repo-stats endpoint. However, this endpoint currently returns a 404 Not Found response. It appears that the route is not properly registered or connected to the main backend application, causing the repo stats feature to fail entirely.

3. Discord bot privileged intent startup error

The Discord bot throws errors related to privileged intents not being ready when it starts. A cleanup task is triggered too early during startup, before the required intents are fully initialized, which causes the bot to error out.

Impact

  • Users cannot log in to the website
  • Repository statistics are not displayed on the frontend
  • The Discord bot fails to start cleanly
  • These issues together block normal usage of the application.

I am currently working on addressing these issues and will submit a pull request once the fixes are ready.

主要言語
Python
スター
103
フォーク
143
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AOSSIE-Org/Devr.AI のほかの issue

AOSSIE-Org/Devr.AI の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。