Repository navigation
Tell a friend DM when the remote Bot's turn fails - #1084
Conversation
A remote turn that fails hard sent nothing back, so the sender's chat stayed on "Weighing the options…" until the wait expired. The home now sends one of two fixed sentences (no provider text) and the social plugin lets that notice through, including a blanket server hold. Co-authored-by: Danyang Chen <birfychen@gmail.com>
|
Verdict: PASS at 58cf42e Ran:
Not run:
Defect tests were red on base No actionable findings. The notice is one of two fixed sentences; the provider text is not copied, so a missing-key failure cannot echo part of a key. This PASS is not merge authority. Enqueue waits on |
|
Verdict: PASS at 58cf42e Fixes #1068. Hard remote DM failure sends a fixed notice and clears the weighing hold instead of hanging on "Weighing the options…". Ran:
|
Written-by: Dev
Owner: Dev
Reviewer: Reviewer
Fixes #1068
What changed
A friend DM stayed on "Weighing the options…" when the other home's turn died (for example
MISSING_CREDENTIAL) and nothing came back. That home now sends one of two fixed sentences — no model set up, or could not answer — and never the provider text. The social plugin lets that notice through the reply hold and clears a blanket server hold. A lookalike, the same words on an auto-reply, and a hold with a finding of its own still wait for the owner. A notice that comes back does not earn another.Verification at the tip
Tip SHA:
58cf42ec0e220d019aafb7ab30dec3f1a90b1323Ran:
TZ=UTC npm run verifyat this tip → pass (core 1417, social 456, tree 125, timeline 125, github scripts 417, interop 37, live-e2e 16; patch check inside it)node core/scripts/check-arch-docs.mjsat this tip → pass (11 changed files)node .github/scripts/changelog.mjs checkat this tip → passnode --import ./test/harness-resolve.mjs --test --test-name-pattern '#1068' test/bot-messages.test.js(core) at this tip → 6 passnode --import ./test/resolve.mjs --test --test-name-pattern '#1068' test/social.test.jsat this tip → 3 passNot run:
dev/bench.sh): nodeepseek-harnesscheckout here. The change is the remote-reply path, covered by the unit tests above.tests-ok: not this run.Red at base
c062fb02c3317990e77c1abb273e1350546136db(defect tests, before the fix):#1068: 5 fail (sent.length0; a hard failure called noflybotReplyRemote). Green at the tip (6 pass).#1068: the notice washold, notallow. Green at the tip (3 pass).