[Bug]: Chat page dies with React #185 when a pending questionnaire's countdown expired hours ago

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

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
react, typescript
Área
backend, frontend

Línea de trabajo

Start with the questionnaire form in the chat composer, where the fieldset appears in the componentStacks, and find the countdown or deadline logic that drives it. Then compare that with the expiry path that moves other questionnaire_requests rows to expired, since this one stays pending about 7 hours past its 60s deadline. Done means a reopened overdue questionnaire becomes expired or dismissable, and the chat page renders without React #185.

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

Descripción

Summary

Opening a long-running session whose ask_user questionnaire is still pending hours after its 60s countdown expired throws React #185 and drops the chat page into the route error boundary ("Page failed to load"). The composer lags first, so the question can never be answered.

Environment

  • MiniMax Code 3.1.10 (latest, updater reports no newer version)
  • macOS (arm64)

Steps

  1. Agent asks a question via ask_user (mode: questionnaire, countdownSeconds: 60).
  2. Leave it unanswered - the runtime keeps status='pending' far past the deadline (observed ~7h).
  3. Reopen that session and touch the page.

Expected

The overdue questionnaire goes to expired (as others do) or can be dismissed; the session stays usable.

Actual

  • Input lags a few seconds, then the page is replaced by "Page failed to load".
  • Renderer log: Minified React error #185 (Maximum update depth exceeded), route: "/mavis". 4 crashes in 5 minutes; 2 of 4 componentStacks pass through fieldset (the questionnaire form), the other 2 are in the same composer chunk.

Evidence

  • questionnaire_requests on that install: exactly one pending row, countdownSeconds: 60, deadline missed by ~7h. The other 63 resolved normally (48 answered / 11 dismissed / 3 expired), so expiry works generally but not for this one.
  • Perf on that session: 14 fps, longest task 1433-1838 ms, LoAF up to 1888 ms. A light session on the same machine: 111-119 fps, 0 long tasks.
  • GET /session/<id>/message for it: median 1296 ms, p90 2330 ms, max 4744 ms; other sessions 70-320 ms.

Note

The error screen says "We have reported it automatically", but renderer errors only seem to reach the local archon-renderer-error-*.log; I found no upload path for them (the remote error reporter is wired to LLM request failures only). Hence this manual report.

Lenguaje dominante
TypeScript
Estrellas
2.3k
Forks
315
Merge medio
3 h 54 min
PR fusionados (30 d)
9

Preparar el entorno

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 MiniMax-AI/minimax-code

Todos los issues de MiniMax-AI/minimax-code

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.