Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Show pending mailbox messages in the transcript

Abierto
#1,402 0 comentarios 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
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
typescript
Área
full-stack

Línea de trabajo

Empieza con los flujos de detalle de conversación y del composer del dashboard descritos en el issue, y después sigue las rutas del mailbox y del worker a través de packages/junior/src/chat/api-turns/work.ts y persistConversationMessages. Verifica cómo se leen y renderizan los mensajes web y de Slack aceptados antes de elegir los cambios de reporting. Se considera terminado cuando los mensajes aceptados aparecen como pendientes antes del commit del historial y sus estados de pendiente, completado, fallido, reintento y autorización se conservan tras un refresh y la continuación del worker.

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

Descripción

Summary

Accepted inbound messages sit in the conversation mailbox until a worker drains them into durable history. The dashboard transcript only shows committed history, so those messages are invisible while queued — whether they came from the web composer or Slack.

The product bar is ChatGPT-style: once a message is accepted, it should already be in the transcript as pending work, not appear only after the turn starts.

Current behavior

  • Web send (POST /api/conversations, POST /api/conversations/:id/messages) accepts into the mailbox via appendAndEnqueueApiConversationMessage and returns { conversationId, messageId, status }.
  • Slack ingress also lands in the same mailbox before history commit.
  • User rows enter the transcript only after the worker runs and persistConversationMessages commits them (packages/junior/src/chat/api-turns/work.ts and the shared conversation worker path).
  • Dashboard composer covers the HTTP accept with Sending…, then invalidates/refetches. There is no mailbox-pending row and no optimistic transcript insert on send.
  • Conversation detail polls every 2s only while status === "active"; mailbox contents are not part of the reporting read model the UI renders.

Gap

  • #1200 already requires accepted messages to “appear immediately as pending” and for pending/completed/failed/retry/authorization states to survive refresh and worker continuation.
  • That requirement is not scoped as its own slice. Composer (#1399) landed without mailbox-visible pending UI for web or Slack-originated queue.
  • Impact: senders and readers watching a live conversation see a blank lag between accept and history commit, especially when the worker is busy or deferred mailbox work is waiting on an active turn.

Related

Requested by David Cramer.

--

View Junior Session [Sentry]

Lenguaje dominante
TypeScript
Estrellas
367
Forks
41
Merge medio
6 h 9 min
PR fusionados (30 d)
188

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 getsentry/junior

Todos los issues de getsentry/junior

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.