Skip to content

[Bug]: Retrying a document upload hides its progress #38552

Closed

Description

@StiensWout

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/mobile

Steps to reproduce

  1. On an Android emulator, connect to a test environment where the first attachment transfer returns HTTP 503 and the next transfer is slow enough to watch. Keep the connection to the environment up.
  2. Open an existing thread.
  3. Tap the message box.
  4. Tap the plus button, then tap Choose Files.
  5. Select a local PDF within the environment's upload size limit.
  6. Wait for the document tile to show Retry.
  7. Tap Retry on the document tile.

Expected behavior

The document tile stays visible and shows the progress of the new upload.

Actual behavior

The tile disappears as soon as the upload starts again. The inline document chip stays, but it does not show upload progress.

After the first upload fails

While the retry is uploading

Full retry flow

Impact

Major degradation or frequent failure. Anyone retrying a failed document upload in the mobile composer loses the progress indicator until the retry finishes.

Version or commit

main at 1c41c5ed89. The cause is at apps/mobile/src/features/threads/ThreadComposer.tsx:327.

Environment

Pixel_9_API_37, Android 17.0, Android Emulator on Linux x64.

Logs or stack traces

Commands that reproduce it on the device
/home/t3/.t3/userdata/device/targets/t3-78c45d8a26ab558ded42524b/agent-device record start --scope device /home/t3/.t3/worktrees/t3code/t3-53516e7c-9dbbf130c689a22e/captures/upload-retry.mp4
/home/t3/.t3/userdata/device/targets/t3-78c45d8a26ab558ded42524b/agent-device snapshot -i
/home/t3/.t3/userdata/device/targets/t3-78c45d8a26ab558ded42524b/agent-device press @e11 --settle
/home/t3/.t3/userdata/device/targets/t3-78c45d8a26ab558ded42524b/agent-device snapshot -i
/home/t3/.t3/userdata/device/targets/t3-78c45d8a26ab558ded42524b/agent-device press @e15 --settle
/home/t3/.t3/userdata/device/targets/t3-78c45d8a26ab558ded42524b/agent-device press 'label="Add attachment"' --settle
/home/t3/.t3/userdata/device/targets/t3-78c45d8a26ab558ded42524b/agent-device press 'text="Choose Files"' --settle
/home/t3/.t3/userdata/device/targets/t3-78c45d8a26ab558ded42524b/agent-device snapshot -i
/home/t3/.t3/userdata/device/targets/t3-78c45d8a26ab558ded42524b/agent-device press 'label="Show roots"' --settle
/home/t3/.t3/userdata/device/targets/t3-78c45d8a26ab558ded42524b/agent-device press 'text="Downloads"' --settle
/home/t3/.t3/userdata/device/targets/t3-78c45d8a26ab558ded42524b/agent-device press 'label="List view"' --settle
/home/t3/.t3/userdata/device/targets/t3-78c45d8a26ab558ded42524b/agent-device snapshot -i
/home/t3/.t3/userdata/device/targets/t3-78c45d8a26ab558ded42524b/agent-device longpress 'id="com.google.android.documentsui:id/item_root"' --settle
/home/t3/.t3/userdata/device/targets/t3-78c45d8a26ab558ded42524b/agent-device press 'label="Select"' --settle
/home/t3/.t3/userdata/device/targets/t3-78c45d8a26ab558ded42524b/agent-device screenshot /home/t3/.t3/worktrees/t3code/t3-53516e7c-9dbbf130c689a22e/captures/upload-failed.png
/home/t3/.t3/userdata/device/targets/t3-78c45d8a26ab558ded42524b/agent-device press 'label="Retry uploading retry-fixture.pdf"'
/home/t3/.t3/userdata/device/targets/t3-78c45d8a26ab558ded42524b/agent-device screenshot /home/t3/.t3/worktrees/t3code/t3-53516e7c-9dbbf130c689a22e/captures/upload-retrying.png
/home/t3/.t3/userdata/device/targets/t3-78c45d8a26ab558ded42524b/agent-device snapshot -i
/home/t3/.t3/userdata/device/targets/t3-78c45d8a26ab558ded42524b/agent-device record stop

Workaround

No response

Activity

  1. added
    vouch:trusted
    on Nov 18, 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

    vouch:trusted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions