[Bug][desktop]: Empty-title chat rows are created every 30 minutes per workspace and show up as "Unnamed session" in the project list
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 48/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- typescript
- Domínio
- desktop
Direção de pesquisa
Start by tracing desktop runtime startup and the code that materializes conversation rows; the issue does not name source files or tests. Use the reported SQLite query on local_runtime_sessions to inspect empty-title rows and check whether they have turns. Done means keeping a workspace runtime warm no longer creates visible empty conversations, while starting a conversation still creates its row.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Product or interface
Desktop app
Version
3.1.19 (build 3.1.19.229)
Platform
macOS
OS version and architecture
macOS 27.2.1 arm64
Issue area
UI / UX
Desktop log upload ID (optional)
No response
Steps to reproduce
- Install MiniMax Code desktop 3.1.19 and sign in.
- Open one or more folders as projects in the sidebar, then leave the app running without touching it.
- Every 30 minutes the app starts one runtime process per open workspace and materializes one new chat row for that workspace.
- The new row appears under the project in the sidebar with the placeholder label "Unnamed session".
Observed row creation times on 2026-11-27 with no user activity in between: 15:50:23, 15:50:25, 16:20:23, 16:20:26, 16:50:23, 16:50:26 - one row per open workspace per cycle. The same symptom was seen on Windows before moving to macOS, so it looks platform-independent.
Expected and actual behavior
Expected: a conversation row is created only when the user actually starts a conversation. Opening a workspace or keeping it warm must not add chats to the project.
Actual: one empty conversation row per workspace is added every 30 minutes (2 rows per cycle with 2 open workspaces, so 96 rows per day). Each row has an empty title, so the sidebar renders the fallback label "Unnamed session", and the project chat count grows on its own.
Evidence collected from the local runtime database:
- The rows exist in
local_runtime_sessionswithtitleempty andextra_data_json.titleSource = "default".defaultmeans the title pipeline never ran, which is what happens when no first user message ever arrives. created_at_msequalsupdated_at_mson these rows, so they were never touched after creation, and they hold no messages.- They are created 2-3 seconds after the runtime process for that workspace starts. The process start is visible in
~/.minimax/v2/runtime-owner-leases/<uuid>.owner(pid + start token) and~/.minimax/v2/migration/manifests/<yyyy>/<mm>/<dd>/current-local-runtime-*.json. record_jsonon these rows is the v1-inert stub (agentName: "__local_runtime_v2__",archived: true,visibility: "hidden"). The sidebar reads the columnar fields, wherearchived = 0andvisibility = 'visible', so the rows are listed.- The visible label is the
session_list.unnamed_sessioni18n string, used as the fallback for an empty title.
Possible directions:
- Do not materialize a conversation row when a runtime starts for a workspace; create it when the first user message arrives.
- Extend the startup orphan sweep, which already handles task rows, to conversation rows with an empty title and no turns.
- Exclude empty-title rows from the sidebar project list query.
Redacted error summary
Read-only query against the local runtime database (`~/.minimax/v2/sqlite/runtime-state.sqlite`):
SELECT session_id, title, created_at_ms, updated_at_ms, extra_data_json
FROM local_runtime_sessions
WHERE title IS NULL OR TRIM(title) = '';
Sample output (workspace paths removed, one row per open workspace per 30-minute cycle):
mvs_50e3ece8b9c9428fada0b54c9f49930c | | 1795739411201 | 1795739411201 | {"titleSource":"default","appMode":"coding","origin":"user","sessionOrigin":"local-runtime",...}
mvs_99cf0e83c4874fadaa72b5db35a86cc4 | | 1795762223069 | 1795762223069 | {"titleSource":"default","appMode":"coding","origin":"user","sessionOrigin":"local-runtime",...}
mvs_603691ecc3ee4c95a9f8da431e4fdc7c | | 1795762225533 | 1795762225533 | {"titleSource":"default","appMode":"coding","origin":"user","sessionOrigin":"local-runtime",...}
Runtime process starts for the same cycles (one per open workspace, 2-3 seconds before each row appears):
~/.minimax/v2/migration/manifests/2026/11/27/current-local-runtime-20261127-165021-825.json
~/.minimax/v2/migration/manifests/2026/11/27/current-local-runtime-20261127-165024-457.json
No account data, credentials or private project content are included above.
Screenshots
No response
Before submitting
- I have searched existing issues.
- I have included my version and removed sensitive information.
- Linguagem predominante
- TypeScript
- Estrelas
- 2.3k
- Forks
- 315
- Merge médio
- 3h 54min
- PRs com merge (30d)
- 9
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de MiniMax-AI/minimax-code
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
MiniMax-AI/minimax-code#639 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
MiniMax-AI/minimax-code#636 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
MiniMax-AI/minimax-code#615 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
MiniMax-AI/minimax-code#556 · 4 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
MiniMax-AI/minimax-code#507 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de MiniMax-AI/minimax-code
Issues semelhantes
-
[Bug]: A Markdown link with both a :line suffix and a #L fragment opens a path containing ":line"Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
status:needs-triage type:bug workstream:refimpl
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
GenAI-Security-Project/agent-control-standard#764 ·
Mantenedores costumam responder em até 1 dia
-
good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
TanbirRamim/vibereel#39 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
lingdojo/kana-dojo#34988 · 1 comentário · 5 reações ·
Mantenedores costumam responder em até 1 dia