Skip to content

android: publish taildrop dir before waking waiting transfer - #890

Draft
kradalby wants to merge 1 commit into
mainfrom
kradalby/taildrop-first-transfer
Draft

kradalby wants to merge 1 commit into
mainfrom
kradalby/taildrop-first-transfer

Conversation

@kradalby

@kradalby kradalby commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

First Taildrop on a fresh install blocks on the folder picker.
MainActivity woke it before setUri, so the transfer could resume on
filesDir: sender got "500 Invalid URI". Seen intermittently by
headscale's Android suite (juanfont/headscale#3488).
Might be more of a "flaky test" than a real scenario.

setUri now publishes, then wakes; ready gate reads savedUri, not prefs.
Test checks the root at wake time, so wake-before-publish fails every run.

@kradalby
kradalby force-pushed the kradalby/taildrop-first-transfer branch 2 times, most recently from a0fa2fa to 14c34eb Compare September 30, 2026 14:47
First Taildrop on a fresh install blocks on the folder picker.
MainActivity woke it before setUri, so the transfer could resume on
filesDir: sender got "500 Invalid URI". Seen intermittently by
headscale's Android suite (juanfont/headscale#3488).

setUri now publishes, then wakes; ready gate reads savedUri, not prefs.
Test checks the root at wake time, so wake-before-publish fails every run.

Updates tailscale/corp#22362

Signed-off-by: Kristoffer Dalby <kristoffer@dalby.cc>
@kradalby
kradalby force-pushed the kradalby/taildrop-first-transfer branch from 14c34eb to 0b33094 Compare September 30, 2026 15:49
@barnstar
barnstar requested review from hiimtmac and kari-ts October 1, 2026 13:12
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