Verify page retries every 503, not only central-manager's own

Abierto
#2,027 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

Read DESIGN.md, especially “A write with no verdict never reads as failed,” and inspect useVerifyEmailMutation and the page’s Try again flow. Decide whether to keep retrying every 503 or have central-manager mark its retryable response, such as with a Retry-After header, and retry only then. Done means the chosen behavior is implemented and accounts for both central-manager and gateway or Harper 503 responses.

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

Descripción

With the #1697 verification-outcome change, useVerifyEmailMutation retries a 503 from PUT /VerifyEmail/ three times (2s, 4s, 8s) before the page offers Try again. The retry is there for central-manager's own 503, whose message says to retry with the same link, usually because the account's record lock is busy after a node restart.

Studio gates on status, never on the body (DESIGN.md, "A write with no verdict never reads as failed"), so a 503 from a gateway, or from Harper when a worker exits, gets the same 14 seconds of retries. Repeating the PUT is safe either way: a verify that landed answers already_verified, which the page explains. The cost is only a slower failure when the 503 isn't central-manager's.

To decide: keep it, or have central-manager mark its own retryable answer (for example a Retry-After header) and retry only on that.

Review-Deferral: 10faec7ad8362e92 severity=nit category=reliability

🤖 Generated by Claude Code (Claude Opus 5.5); posted via @dawsontoth.

Lenguaje dominante
TypeScript
Estrellas
5
Forks
4
Merge medio
1 d 19 h
PR fusionados (30 d)
144

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 HarperFast/studio

Todos los issues de HarperFast/studio

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.