Skip to content

Mobile invite join shows a persistent setup error when a private channel occupies a starter UUID #9377

Open

Description

@Beige-Coffee

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.

  1. In an isolated community, let mobile starter setup create welcome-everyone at its deterministic starter ID. Keep a usable public general available to isolate the failure.
  2. Make welcome-everyone private.
  3. Admit a member who does not belong to that private channel, then run the post-invite starter setup for that member.
  4. The member cannot discover a usable welcome-everyone, so setup attempts kind 9007 creation at the same deterministic ID.
  5. The relay rejects creation with duplicate: channel already exists. Refreshing the directory still cannot reveal the private channel.
  6. 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.

The original reported screenshot shows the quoted error with only Cancel and Retry setup as actions.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions