Repository navigation
Keep pending native chat messages marked as sending - #37590
brennanb2025 merged 3 commits into
Conversation
|
No actionable comments were generated in the recent review.
|
|
A message could lose “Sending…” when Orca recorded it, while it was still waiting for the agent. This PR keeps the existing label until the published delivery state settles. The recorded local copy also stays marked while waiting for its transcript record, so reply/transcript arrival order cannot flash the label off and back on. Full independent review and the design panel confirmed a rendering-only change using existing delivery state. No queue, retry, host, saved-data or wire changes. Unknown outcomes keep their existing appearance, and native phone UI is unchanged. Rejection-only scans remain gated; no separate delivery state is added. Verified: 31 tests across four named suites; all 41 changed-code checks passed both before and after the main sync. The hook contract checks 32 and 320 messages, operation bounds, map identity, and row render counts. Light/dark screenshots below were regenerated after reviewed/tested head b453a5a. Final-head CI passed. Review and reference/performance checks passed with no open findings. Main merge 408eeb0 leaves all six PR files unchanged; that narrow merge was independently checked and the earlier evidence carries.. No real-agent run was required: changed flows are native-chat UI/tests rows. No deferred blocking findings. For Brennan’s review:
|
A message steered into a running native chat could lose “Sending…” as soon as Orca recorded it, even while it was still waiting to reach the agent. It then looked like a delivered message.
The transcript now keeps the existing “Sending…” label while the host reports delivery as pending, including after handoff while awaiting acknowledgment. Acceptance restores ordinary message metadata; rejection shows the existing failure, and an unknown outcome retains its existing appearance. This changes rendering only: delivery, queueing, Stop, retry, journal state and wire payloads are unchanged. It applies to desktop and the web transcript, including chats on remote hosts. Native phone UI is unchanged.
Tracked in STA-13520.
Plan: derive the indicator from existing published submission state instead of ending it at host recording; retain rejection-only journal-item scans and existing localized wording. Brennan approved the pending indicator after comparing the common pattern. No new capability/default, saved-data or older-host change, phone interaction, or contradictory ruling. Intended: the existing “Sending…” label is reused instead of adding a permanent steer label. Intended: unknown delivery stays ordinary, preserving the existing uncertainty policy.
Review classification: full. Independent review found this repeats the undelivered-looking-delivered symptom addressed by #24606 within 30 days, despite changing rendering only. A private plan and design review cover both reply/transcript arrival orders and render stability before repair. No lifecycle, queue, ownership, saved-data, retry, wire, process, auth or default changes are proposed.
Validation: the original rendered regression fails on main in all three settlement cases. The repaired head passes 31 tests across four named renderer/notice suites, including reply-first and journal-first ordering, terminal-state precedence, and a real-hook contract at 32 and 320 messages proving bounded work, stable unrelated rows and an update only to the accepted row. All 41 local changed-code checks passed, including selected typechecks. Light/dark component screenshots cover pending, accepted and rejected states. Independent full review, final reference/performance review and final-commit CI passed. The final main merge left all six PR files unchanged and its narrow review passed. QA classification: native-chat UI, tests row; no real-agent lifecycle run is needed for this presentation-only change.