Skip to content

fix(mobile): show stop request state and diagnose streaming latency - #658

Merged
huichen merged 4 commits into
mainfrom
claude/mobile-stop-feedback
Sep 16, 2026
Merged

huichen merged 4 commits into
mainfrom
claude/mobile-stop-feedback

Conversation

@huichen

@huichen huichen commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Show pending, acknowledged, and failed stop-request states without pretending an ACK means the run ended.
  • Coalesce concurrent stop taps while a request is in flight, surface failures, and reject disconnected requests instead of silently succeeding.
  • Add per-stop phase timing and lightweight foreground JS scheduling-lag sampling; exclude background suspension and avoid logging conversation content.
  • Cover repeated streaming renders, retries, late replies, session changes, and background timer cleanup.

Validation

  • Mobile TypeScript check and ESLint passed.
  • All 96 mobile Jest suites / 1342 tests passed.
  • Android hardware reproduction remains pending: this fixes observable feedback/error handling and adds diagnostics; it does not claim the reported two-tap root cause has been confirmed.

Documentation

No public API, configuration, or command changes. The stop control now distinguishes request acknowledgement from authoritative streaming completion.

A long exchange produces a dozen thinking/tool rows, each a full line on a
phone-sized transcript, and they crowd out the prose between them. Fold
consecutive foldable step slices into a single summary line ("Thought 2× ·
Ran a command 3×") that opens into the individual rows, each of which still
expands to its own detail.

Prose, compaction dividers, failed calls, and the slice a streaming reply is
still on pass through unfolded — nothing that is still changing is hidden.
Render-only: the shared projection still carries every slice in stream order,
so the desktop transcript is unchanged.
@huichen
huichen enabled auto-merge (squash) September 16, 2026 07:43
@huichen
huichen merged commit e0d19e2 into main Sep 16, 2026
12 checks passed
@huichen
huichen deleted the claude/mobile-stop-feedback branch September 16, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant