Skip to content

Android: long Markdown reply collapses to a narrow column and retains playback backlog #2596

Open

Description

@DoodleBears

Problem

On tested Android main 31f313fcdaf0d1758e3dd02285e6ba15a91bf884, a completed long reply remains an extremely narrow vertical text column. Separately, one exploratory live reply had received=12557 and cursor=5452 (pending=7105); full/complete snapshot envelopes were 54.444–55.420 seconds apart. The screenshot was captured approximately 23 seconds after completion. These observations establish visible layout failure and playback backlog, not their cause or FPS.

Evidence: #2551 (comment) and its immutable sanitized capture.

Scope

  • Reproduce the narrow-column layout through the Android Markdown/bubble layout path and identify the first incorrect width constraint.
  • Fix the reproduced cause with regression coverage that exercises layout rather than a fabricated width assertion.
  • Determine whether the playback backlog remains after layout correction; retain separate causes and measurement limits. No speculative playback rate change.
  • Verify completed and streamed lists, ordinary prose, nested lists, window resizing and large text through a scheduled Android run. Preserve clipboard/link behavior and history holding.

Related: #1845 (overall native streaming performance), #2478 (growing tail block), #2477 (follow scheduling). #2288 is a separate paused prepared-layout experiment and is not resumed by this issue. #1844 concerns iOS nested marker spacing/link colour, not this Android width failure.

The original observation was on a Debug build with metadata probing, not a controlled performance qualification. A JavaScript/Yoga reproduction alone will not establish native rendering or timing acceptance.

Activity

  1. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim

    • Agent: Codex
    • Task: codex/local/01a16398-d657-75d0-9cfa-9a8a9f34b9c0 (not a DSH Session)
    • Issue scope: Reproduce and fix Android Markdown narrow-column layout; distinguish remaining playback backlog.
    • Branch: codex/mobile-stream-layout-fix
    • Started: 2026-10-22 12:36 UTC
    • State: active
  2. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 22, 2026
  3. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim

    • Agent: Codex
    • Task: codex/local/01a16505-a721-7272-8faa-2503c2707298 (continuation of the existing streaming investigation; not a DSH Session)
    • Issue scope: Add bounded, opt-in playback boundary timing and a fixed 40-item replay fixture to measure remaining backlog; no playback-rate change or native performance claim.
    • Branch: codex/stream-timing-b3
    • Started: 2026-10-22 19:17 UTC
    • State: active
  4. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim

    • Agent: Codex
    • Task: codex/local/01a16542-d757-7b72-83ab-e75facdf3e0c (Human-requested Android QA handoff; not a DSH Session)
    • Issue scope: Review immutable B instrumentation 9d03f2544be6, mirror the identical probe onto original A 914bfa57ed04 in a separate worktree, and prepare the bounded paired-driver qualification. This scope does not modify the existing B worker's branch or frozen QA checkouts. No playback-rate change or performance claim.
    • Branch: codex/android-timing-a
    • Started: 2026-10-22 20:41 UTC
    • State: active

    The existing B source window has an independently checked release receipt and remains untouched. The two requested identity/lifecycle gaps are resolved in the reviewed B head. Android runtime stays serialized by the existing Windows queue and sole continuing coordinator; the main843 LAN binary is excluded from the original A/B cohort.

  5. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome

    • Task: codex/local/01a16542-d757-7b72-83ab-e75facdf3e0c
    • State: handed-off (bounded source mirror complete; runtime qualification remains)
    • Reviewed B: 9d03f2544be61d4e380eca886041198b6755ea91; private queue/canonical identity and diagnostic tick lifecycle gaps are addressed.
    • A: local, unpushed 330efd5bfa1be9562e20efb931bdcee02aa718fd on codex/android-timing-a, based on original 914bfa57. All six instrumentation/fixture/test files match B byte-for-byte. Runtime source differs only by the intended list-body flex:1 → flexShrink:1 change; the additional B dependency is test-only Yoga.
    • Validation: own frozen dependencies, Node24.21.0/pnpm12.4.2, four focused files/39 tests, mobile typecheck and touched lint/format passed. Existing B and frozen QA checkouts were not edited. No second device runner.
    • Remaining: synchronous Hermes owner-entry/cleanup qualification, instrumentation disturbance, first matched replay pair, then controlled repetitions and separate native/Release frame evidence. No performance or FPS improvement is claimed. The fixed843d LAN binary is excluded from this historical A/B cohort.

    Source window released with clean tracked trees and no retained runtime or device lease. Existing claims remain intact.

  6. added
    feature:channelChannel chat, timeline, composer, and navigation
    feature:performanceMeasured performance investigation and optimization; pair with a domain topic
    on Oct 24, 2026
  7. added this to the Mobile & Voice milestone on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDsfeature:channelChannel chat, timeline, composer, and navigationfeature:performanceMeasured performance investigation and optimization; pair with a domain topic

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions