fix: deliver conversation replies before queued news #74
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/01a15e24-conversation-final"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
A followed-task update arriving during a conversation reply opened the next prompt before the reply was delivered. That reset the transcript's final text; a silent follow-up turn then left the person without an answer on every client.
Deliver conversation replies at turn completion. Track whether each prompt answers a person and which agent message it already knew, so a second person message arriving during the previous turn gets its own answer and explicit sends still suppress the automatic reply. Reserve the active run while completing a turn so a nudge cannot reset its reply during the transcript flush. Task idle escalation and agent-conversation cursors remain in the existing waiting callback.
Evidence
ef10b908-7c39-48c2-8229-b0f00d9119b2, absent from conversationca87f610-de7a-476e-98a4-dba4bfdf5a53. A task comment at 11:00:54.197 caused a new prompt immediately afterend_turnat 11:00:55.518. Task 01a15e24-a6c3-74c7-bfb3-423dcc4ac176 records the trace.d0a71a8. The full quality run passes 890 tests across 130 files, plus type-check, lint, formatting, docs, deployment tooling and both container builds.d0a71a8. Release pipeline #547 is fully green, including 890 tests, both image publications/scans, automatic deployment and the signed APK/checksum. GitOps8595fa6changes exactly the server/agent pins; mirror has no error; ArgoCD is Synced/Healthy; the server and newly resumed agents run the expected digests. Health/readiness pass, one server replica is ready, the existing 30 GiB claim is Bound, and the schema remains 038. The unchanged replay fails on deployed 0.52.0 and passes on deployed 0.52.1 for queued task news, concurrent person messages and independent persisted HTTP reads. Replay uses temporary data, not Morten’s conversation; task evidence includes its script and result.Merge danger
Door: two-way. Code-only change, with no schema or credential changes.
Blast radius: app. Shared turn scheduling changes are covered by task and agent-conversation tests as well as the human conversation regressions.
Rollback and verification
d0a71a8, excluding later main changes and migration 039. No device installation was performed.