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

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

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
react, typescript
領域
backend, frontend

調査の方向性

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.

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

説明

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.

主要言語
TypeScript
スター
2.3k
フォーク
315
平均マージ
3時間 54分
マージ済み PR(30日)
9

環境構築

はじめの一歩

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

MiniMax-AI/minimax-code のほかの issue

MiniMax-AI/minimax-code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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