hey reply / hey draft send report success but the message stays in Drafts (send-as address)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 49/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Go
- Star
- 420
- Fork
- 54
- Merge trung bình
- 1 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 43
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của basecamp/hey-cli
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
basecamp/hey-cli#607 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Installer canary failureĐang mởinstaller-canary
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 48/100
basecamp/hey-cli#601 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 50/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Timed events show on their UTC day, not their local day, west of UTCCó thể đã có người làm @armada877 đã nhận 21 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 10/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của basecamp/hey-cli
Issue tương tự
-
fix(scan): validate and normalize output format in validate-contractCó thể đã có người làm @WKr1shna đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Won't Fix
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
microsoft/TypeScript#65107 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
argoproj/argo-workflows#17397 ·
Maintainer thường phản hồi trong vòng 1 ngày