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

Abierto
#238 1 comentario 0 reacciones 0 asignados Ver en GitHub

@vinay1359 ya está trabajando en esto.

Desde el 14/1/2026.

  • #239 de @vinay1359 — abierto

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
github, python

Línea de trabajo

Empieza reproduciendo el 401 del inicio de sesión, el 404 de /api/repo-stats y el error de inicio del bot relacionado con un intent privilegiado. Sigue cada fallo a través del flujo de autenticación del backend, el registro de la ruta de la API y la secuencia de inicio/limpieza del bot. Se considera terminado cuando la autenticación funciona, las estadísticas del repositorio se cargan y el bot se inicia correctamente.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
103
Forks
143
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de AOSSIE-Org/Devr.AI

Todos los issues de AOSSIE-Org/Devr.AI

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.