Repository navigation
Description
Describe the bug
A successful mobile invite join can end at “Finish setting up” with a persistent starter-channel error. The member has already joined, but Retry setup keeps failing and Cancel is the unintuitive way out.
The reported screen says:
Your membership is ready, but starter channels still need to be set up. You can safely retry without claiming the invite again.
Starter channels could not be set up. Retry setup to try again.
This was reported by someone joining a self-hosted community for the first time on iPhone. The community admin confirmed that general had been made private for team communications. The reporter’s app/relay versions and exact channel IDs are not known, so that report is consistent with the failure reproduced below, but not conclusively attributed to it. Pairing an existing identity is a different flow and can still work.
Communities may intentionally make starter channels private, archive them, delete them, or reuse them. Successful community membership should not depend on those channel names remaining publicly joinable forever.
Steps to reproduce
The precise reproduced condition is an inaccessible private channel occupying a deterministic starter UUID, not merely any private channel with the same name.
- In an isolated community, let mobile starter setup create
welcome-everyoneat its deterministic starter ID. Keep a usable publicgeneralavailable to isolate the failure. - Make
welcome-everyoneprivate. - Admit a member who does not belong to that private channel, then run the post-invite starter setup for that member.
- The member cannot discover a usable
welcome-everyone, so setup attempts kind9007creation at the same deterministic ID. - The relay rejects creation with
duplicate: channel already exists. Refreshing the directory still cannot reveal the private channel. - Retry setup; the same failure repeats.
The starter UUID is derived from the relay HTTP origin and channel slug, using namespace 3ce33bea-8f09-5f1b-9c85-8a7d2659e6b0 and input starter-channel:v1:<origin>:<slug>.
Expected behavior
After invite acceptance succeeds, clearly let the member continue into the community, even when optional starter channels are unavailable. Preserve the accepted membership and identity, and explain any unavailable channels without leaving the user in a generic retry loop.
Owners should not have to make private team history public, restore intentionally removed channels, or reserve these names forever to keep invites usable. Retain useful diagnostics for genuine connection/setup failures.
Version and platform
- Report: iPhone, exact mobile build/iOS/hosted relay version unknown.
- Local relay: v0.2.1, image
ghcr.io/block/buzz:sha-e8781ca; matching source e8781ca. - Tested November 11, 2026 against an isolated local relay.
- Validation scope: replayed the production mobile starter-setup protocol with test identities. We did not run a complete fresh-invite flow in the native mobile UI, and did not inspect or modify the hosted community.
Logs / additional context
Local protocol results:
| Scenario | Result |
|---|---|
| Normal public starter setup | Succeeded |
| Both starters private; joining identity belongs to neither | Setup failed on private welcome-everyone with duplicate: channel already exists; retry failed identically |
Same fixture, reopen welcome-everyone |
Setup succeeded |
Keep originals private under different names; create fresh public general and welcome-everyone with new UUIDs |
Setup joined both new IDs successfully, with no automatic creation; old private-channel query remained rejected as restricted: not a channel member |
| Archived starter on tested older revision | Failed with invalid: channel is archived; see newer fix below |
In the both-private test, the original general had a noncanonical ID, so setup created a separate public general before hitting the occupied welcome-everyone ID. This is why “making any general channel private always breaks joining” would be too broad. A deleted-channel variant was not separately runtime-tested.
Current code and related work
Source review of main at ef57fec still shows the private-holder path: duplicate recovery rethrows when it cannot resolve the holder, and direct lookup returns null for private channels. This is source evidence, not a current-main runtime reproduction.
- fix(mobile): show a taken channel name plainly and keep invites working #8807 already handles archived/visible unusable holders; the older archived result above should not be treated as proof of a remaining archived-channel bug.
- Draft PR refactor(mobile): drop client-side starter channel setup #9067 proposes removing mobile starter setup, which appears relevant to this remaining failure.
- Follow-ups to unique listed channel names: starter channels on the relay, remove the operator rename #8927 discussed the broader starter-channel design and was closed as not planned.
The original reported screenshot shows the quoted error with only Cancel and Retry setup as actions.
Activity