hey reply / hey draft send report success but the message stays in Drafts (send-as address)
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
- 49/100
Línea de trabajo
Start by tracing the hey reply and hey draft send command paths described in the report, including how each decides a send succeeded. Compare their reported success with the observed thread and Drafts state for a send-as address. Done means the message is delivered and leaves Drafts, or the command reports failure rather than success when it remains a draft.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
With hey-cli 1.7.0 (Linux), replying in a thread whose latest entry was sent from a send-as address reports success, but nothing is delivered: the message stays in Drafts and never appears in the thread. Running hey draft send on that draft also reports success and has the same result. Because both commands exit ok, an agent or script assumes the email went out.
Steps to reproduce
- Pick a thread whose latest entry you sent from a send-as address (not the primary
@hey.comidentity). - Check the envelope:
This resolves correctly:hey reply <thread-id> --replace-recipients --to [email protected] --cc [email protected] --dry-run"from": {"email_address": "<send-as address>"}, with the right To and CC. - Send it:
Output:hey reply <thread-id> --replace-recipients --to [email protected] --cc [email protected] -m "..."{"ok": true, ..., "summary": "Reply sent"} hey thread read <thread-id> --json: the entry count is unchanged, even after several minutes.hey draft list --json: the reply is there as a draft (subjectRe: ...,from= the send-as address, correct To/CC and body).hey draft send <draft-id>:{"ok": true, "data": {"id": <draft-id>}, "summary": "Draft sent"}- Polling for about 2 more minutes: the thread still has the same number of entries, and the draft is still in
hey draft list.
Expected
Either the reply is delivered (it shows up in the thread and leaves Drafts), or the command exits non-zero with the server's reason. A success summary should only be reported once the message has actually left Drafts.
Actual
Both commands report success while the message stays an unsent draft. Sending from the HEY web app is the workaround.
Notes
- Related but different: #483 (send-as used the wrong identity, closed), #520 (502 after a send, outcome unknown), #477 (idempotency for reruns). Here there's no error at all, just a false success.
- A post-send check would help agents: after
reply/draft send, confirm the draft is gone or the thread grew, and report something like"delivered": falseotherwise. - I didn't retry beyond that, to avoid sending a duplicate to the recipient.
- Lenguaje dominante
- Go
- Estrellas
- 409
- Forks
- 49
- Merge medio
- 1 d 6 h
- PR fusionados (30 d)
- 81
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de basecamp/hey-cli
-
TUI Calendar: Enter does nothing on a highlighted event (Day/Week), though the help bar shows "enter: open"Posiblemente ocupada @albertreig la tomó hace 28 días. AbiertoCLI Only
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día
-
CLI Only
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
basecamp/hey-cli#408 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
hey reply / compose --thread-id: allow --from and default to the address the thread was received onAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 60/100
Los mantenedores suelen responder en 1 día
-
hey mcp: serve calendar events, time tracks, habits and journalPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
Todos los issues de basecamp/hey-cli
Issues similares
-
automation models
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Bug pulumi/pulumi
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 74/100
GoogleCloudPlatform/cluster-toolkit#6437 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
stripe/stripe-cli#2130 ·
Los mantenedores suelen responder en 1 día
-
Linux notifications: the default action's ' ' label shows as a blank button in xfce4-notifydAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
kovidgoyal/kitty#10625 ·
Los mantenedores suelen responder en 1 día