Fix Android chat optimistic send handling#90690
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed June 28, 2026, 8:59 AM ET / 12:59 UTC. Summary PR surface: Other +29. Total +29 across 2 files. Reproducibility: yes. from source inspection, but not from a live Android run in this review. Current main still clears both manual Android composer surfaces before send acceptance, while current main already handles terminal ACK status in the controller. Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest possible solution: Rebase or replace this with a narrow Android change that preserves current terminal ACK parsing, updates both manual composer surfaces to clear only after accepted sends, validates the sessionId binding, and includes redacted Android proof. Do we have a high-confidence way to reproduce the issue? Yes from source inspection, but not from a live Android run in this review. Current main still clears both manual Android composer surfaces before send acceptance, while current main already handles terminal ACK status in the controller. Is this the best way to solve the issue? No, not as submitted. The maintainable fix should compose with current status-aware ACK handling and update both Android manual composer surfaces, with sessionId behavior proven on a real device or emulator. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 08d15ec32db3. Label changesLabel justifications:
Evidence reviewedPR surface: Other +29. Total +29 across 2 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
@StoneHub thanks for the PR. ClawSweeper is still waiting on real behavior proof before this can move forward. Useful proof can be a screenshot, short video, terminal output, copied live output, linked artifact, or redacted logs that show the changed behavior after the fix. Please redact private tokens, phone numbers, private endpoints, customer data, and anything else sensitive. Once proof is added to the PR body or a comment, ClawSweeper or a maintainer can re-check it. |
|
Closing as superseded by the fixes now on
Rebasing this branch would regress those newer paths: it removes structured ACK parsing and several current session/history behaviors, while its remaining composer-clear change covers only A future composer-retention change should be a fresh, focused patch covering both Android composer implementations against current |
Summary
Verification
Notes
This fixes the Android UI disappearing-message symptom. During validation, Pixel-origin chat.send still finalized without an assistant transcript message, so this PR does not claim to fix the upstream/gateway no-assistant-output path.