zed-industries/zed · error

{:?} elapsed without receiving channels

Error message

{:?} elapsed without receiving channels

What it means

Error "{:?} elapsed without receiving channels" thrown in zed-industries/zed.

Source

Thrown at crates/channel/src/channel_store.rs:299

        cx.spawn(async move |this, cx| {
            loop {
                futures::select_biased! {
                    channels_loaded = channels_loaded_rx.next().fuse() => {
                        if let Some(true) = channels_loaded {
                            return Ok(());
                        }
                    }
                    status = status_receiver.next().fuse() => {
                        if let Some(status) = status
                            && status.is_connected() {
                                this.update(cx, |this, _cx| {
                                    this.initialize();
                                }).ok();
                            }
                        continue;
                    }
                    _ = timer => {
                        return Err(anyhow!("{:?} elapsed without receiving channels", timeout));
                    }
                }
            }
        })
    }

    pub fn client(&self) -> Arc<Client> {
        self.client.clone()
    }

    /// Returns the number of unique channels in the store
    pub fn channel_count(&self) -> usize {
        self.channel_index.by_id().len()
    }

    /// Returns the index of a channel ID in the list of unique channels
    pub fn index_of_channel(&self, channel_id: ChannelId) -> Option<usize> {
        self.channel_index

View on GitHub (pinned to bc538def45)

When it happens

Trigger: Thrown at crates/channel/src/channel_store.rs:299 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of zed-industries/zed@bc538def45 (2026-08-16). Data as JSON: /api/errors/ff7968738c81c91a. Report an issue: GitHub.