hey reply / hey draft send report success but the message stays in Drafts (send-as address)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 49/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Go
- Stelle
- 393
- Fork
- 47
- Merge medio
- 1g 7h
- PR unite (30g)
- 80
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di basecamp/hey-cli
-
TUI Calendar: Enter does nothing on a highlighted event (Day/Week), though the help bar shows "enter: open"Forse già presa @albertreig l’ha presa 27 giorni fa. ApertaCLI Only
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
I maintainer di solito rispondono entro 1 giorno
-
CLI Only
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
basecamp/hey-cli#408 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 60/100
I maintainer di solito rispondono entro 1 giorno
-
hey mcp: serve calendar events, time tracks, habits and journalForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di basecamp/hey-cli
Issue simili
-
needs-area needs-kind needs-priority needs-status needs-triage
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 85/100
cncf/automation#736 ·
I maintainer di solito rispondono entro 1 giorno
-
kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Telegram webhook: line breaks lost since switch to rich messagesForse già presa @Kshot3000 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
shukiv/jabali-panel#2029 ·
I maintainer di solito rispondono entro 1 giorno
-
[submenu] nil issue on ubuntu 26.04Forse già presa @egoist l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno