zed-industries/zed · error
invite request already in progress
Error message
invite request already in progress
What it means
Error "invite request already in progress" thrown in zed-industries/zed.
Source
Thrown at crates/channel/src/channel_store.rs:640
.request(proto::SetChannelVisibility {
channel_id: channel_id.0,
visibility: visibility.into(),
})
.await?;
Ok(())
})
}
pub fn invite_member(
&mut self,
channel_id: ChannelId,
user_id: LegacyUserId,
role: proto::ChannelRole,
cx: &mut Context<Self>,
) -> Task<Result<()>> {
if !self.outgoing_invites.insert((channel_id, user_id)) {
return Task::ready(Err(anyhow!("invite request already in progress")));
}
cx.notify();
let client = self.client.clone();
cx.spawn(async move |this, cx| {
let result = client
.request(proto::InviteChannelMember {
channel_id: channel_id.0,
user_id,
role: role.into(),
})
.await;
this.update(cx, |this, cx| {
this.outgoing_invites.remove(&(channel_id, user_id));
cx.notify();
})?;
View on GitHub (pinned to bc538def45)
When it happens
Trigger: Thrown at crates/channel/src/channel_store.rs:640 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/6f8f795e9ca7b9f8.
Report an issue: GitHub.